Simple config deployment question


This topic contains 5 replies, has 4 voices, and was last updated by Profile photo of asbut79px3c asbut79px3c 11 months, 3 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #245140 Reply
    Profile photo of Mork

    In MyEclipse 4.1 I created a new Webproject called “FirstAjax”.

    I created a standard index.jsp in the Webapps folder and deployed.

    It all looks OK, but when I try to run http://localhost/FirstAjax **OR**

    I’m getting 404 errors.

    The requested resource (/FirstAjax/index.jsp) is not available.

    No typos (case correct, etc.) that I can see.

    I have a Webapps folder under Tomcat 5.5. In that folder there is a FirstAjax folder and inside that folder is index.jsp that I created using the MyEclipse default JSP builder.

    My other Web apps are running fine.

    I’m forgetting something obvious.


    Thanks in advance.

    — M

    #245142 Reply
    Profile photo of Scott Anderson
    Scott Anderson


    Tomcat runs on port 8080, no 80, by default. The URL should be http://localhost:8080/FirstAjax/index.jsp

    #245160 Reply
    Profile photo of Mork


    I have Tomcat set to run on port 80, so my URL above was correct.

    As I said in my posting above, my other sites run fine.

    Besides, the error snippet I posted was from Tomcat — meaning the server was running fine.

    I can email you the project directory if that would help.

    — M

    #245166 Reply
    Profile photo of Riyad Kalla
    Riyad Kalla

    Did you try (actually click) the link Scott provided with Tomcat running just incase something strange is going on like you have the SSL connector running on 80 but the standard connector is still running on 8080?

    Did you try logging into the Tomcat manager (I think it’s a separate download now, and you need to add an admin/manager user ot use it) and see if Tomcat is infact running your app? Maybe it was deployed but stopped for some reason? For example if Tomcat barfed on a taglib, then it’s possible it didn’t start the web app at all so a 404 makes sense.

    Try restarting Tomcat and watching the console closely for failure messages. Sometimes it’s as silly as a missing lib, duplicate name, etc.

    #245167 Reply
    Profile photo of Mork

    Yes, I checked the tomcat manager. The one MyEclipse just deployed is the ONLY one not running.

    I checked the log and the only errors I saw were below. The test project I created had nothing to do with JSF, but apparently there’s still something whacky going on…

    Jan 24, 2006 11:57:37 AM org.apache.catalina.core.ApplicationContext log
    INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL:], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL:], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL:]]
    Jan 24, 2006 11:57:38 AM org.apache.catalina.core.StandardContext listenerStart
    SEVERE: Exception sending context initialized event to listener instance of class org.apache.myfaces.webapp.StartupServletContextListener
    java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
    at org.apache.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerImpl.<init>(
    at org.apache.myfaces.config.FacesConfigurator.configure(
    at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(
    at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(
    at org.apache.catalina.core.StandardContext.listenerStart(
    at org.apache.catalina.core.StandardContext.start(
    at org.apache.catalina.core.ContainerBase.addChildInternal(
    at org.apache.catalina.core.ContainerBase.addChild(
    at org.apache.catalina.core.StandardHost.addChild(
    at org.apache.catalina.startup.HostConfig.deployDirectory(
    at org.apache.catalina.startup.HostConfig.deployDirectories(
    at org.apache.catalina.startup.HostConfig.deployApps(
    at org.apache.catalina.startup.HostConfig.start(
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
    at org.apache.catalina.core.ContainerBase.start(
    at org.apache.catalina.core.StandardHost.start(
    at org.apache.catalina.core.ContainerBase.start(
    at org.apache.catalina.core.StandardEngine.start(
    at org.apache.catalina.core.StandardService.start(
    at org.apache.catalina.core.StandardServer.start(
    at org.apache.catalina.startup.Catalina.start(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at org.apache.catalina.startup.Bootstrap.start(
    at org.apache.catalina.startup.Bootstrap.main(
    Jan 24, 2006 11:57:39 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    Jan 24, 2006 11:57:39 AM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()
    Jan 24, 2006 11:57:42 AM org.apache.catalina.core.ApplicationContext log
    INFO: ContextListener: contextInitialized()
    Jan 24, 2006 11:57:42 AM org.apache.catalina.core.ApplicationContext log
    INFO: SessionListener: contextInitialized()

    #498513 Reply
    Profile photo of asbut79px3c
    Participant – diclofenac – citalopram – augmentin – lexapro – how do i get valtrex

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Simple config deployment question