Tagged: ymohamyo
- This topic has 5 replies, 4 voices, and was last updated 7 years, 11 months ago by asbut79px3c.
-
AuthorPosts
-
MorkParticipantIn 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**
http://localhost/FirstAjax/index.jspI’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
Scott AndersonParticipantM,
Tomcat runs on port 8080, no 80, by default. The URL should be http://localhost:8080/FirstAjax/index.jsp
MorkParticipantScott,
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
Riyad KallaMemberMork,
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.
MorkParticipantYes, 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: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
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>(DigesterFacesConfigUnmarshallerImpl.java:42)
at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:110)
at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:63)
at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:46)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:894)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:857)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
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()
asbut79px3cParticipanthttp://diclofenac.host/ – diclofenac http://citalopram-online.cricket/ – citalopram http://augmentinonline.date/ – augmentin http://lexapro.red/ – lexapro http://valtrexgeneric.date/ – how do i get valtrex
-
AuthorPosts