[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.technology] Tomcat 5.0 and ROOT Application
|
- From: "P. Hill" <goodhill@xxxxxxxxxxxx>
- Date: Thu, 18 Sep 2003 16:01:53 -0600
- Newsgroups: eclipse.technology
- Organization: EclipseCorner
- User-agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
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.handlePageException(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