| 
| Tomcat 5.0 and ROOT Application [message #58049] | Thu, 18 September 2003 18:01 |  | 
| Eclipse User  |  |  |  |  | I can NOT get the ROOT context of my tomcat server to come up when I start tomcat from within Eclipse.
 
 If I start Tomcat 5.0 from the shortcut icon provided with Tomcat 5.0
 I can visit in my browser http://localhost and I see the Tomcat default page and it says
 "Apache Tomcat/5.0.9"
 
 If I start Tomcat 5.0 in Eclipse I get:
 exception
 
 javax.servlet.ServletException: Can't get definitions factory from context.
 org.apache.jasper.runtime.PageContextImpl.handlePageExceptio n(PageContextImpl.java:682)
 
 ....
 
 I think I have it set up correctly.
 
 In windows | preferences
 I have set:
 Tomcat 5.x
 Tomcat home is:
 C:\Program Files\Apache Software Foundation\Tomcat 5.0
 (yes I'm on windows 98)
 Tomcat config file is:
 C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\server.xml
 JRE is 1.4.2
 
 I have NOT set "Don't run Tomcat in Debug"
 
 I am starting a 5.0 Tomcat, because asking for the xyz context gives me a
 404 page that says:
 Apache Tomcat/5.0.9
 
 Any ideas?  Do I need to add something to some path?  What is it tripping over?
 It seems to me it might something to do with the default dir that tomcat is running/starting
 in, but I don't see where to set that in Eclipse.  The shortcut icon is
 running from the dir:
 "C:\Program Files\Apache Software Foundation\Tomcat 5.0"
 
 Oddly enough the only application I have configured in the server.xml works just fine
 and it is doing a hot deploy by pointing into my Eclipse workspace.  Commenting that app
 out of the server.xml does not change the root context.
 
 Any ideas?
 
 TIA,
 -Paul
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.24725 seconds