hmm, have you tried putting the servlet in a package, to see if that
makes a difference? it shouldn't, but you can easily rule it out.
after that, it would have to come down to some debugging.
Filip
[EMAIL PROTECTED] wrote:
OK i fixed the warning. The second.xml file located in the >>> C:\Program
Files\Apache Software Foundation\Tomcat 5.5\conf\Catalina\localhost\second
needed to be changed to just say:
<Context path="/second" />
Restarted Tomcat (no error message) but I am still getting a 404 on my
servlets.
I also wanted to mention that my example servlets that came with tomcat
work fine in their example context.
THanks
Jim
WARNING: A docBase C:\Program Files\Apache Software Foundation\Tomcat
5.5\webapps\second inside the host appBase has been specified, and will
be
ignored
try correcting the above error first, then continue your troubleshooting
[EMAIL PROTECTED] wrote:
The only entries that look abnormal in the logs are as follows:
>From catalina.xxxxxxx
NFO: The Apache Tomcat Native library which allows optimal performance
in
production environments was not found on the java.library.path:
C:\Program
Files\Apache Software Foundation\Tomcat
5.5\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
WARNING: A docBase C:\Program Files\Apache Software Foundation\Tomcat
5.5\webapps\second inside the host appBase has been specified, and will
be
ignored
Aug 31, 2006 5:27:41 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/16 config=null
Other than that I do not see any SAX related errors...
are you getting any kind of SAX error when you start up tomcat?
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 31, 2006 4:19 PM
To: users@tomcat.apache.org
Subject: tomcat not finding servlet....
Hello everyone....
I am running windows xp, tomcat 5.5.17, java jdk1.5.0_08.
I have created an webapp called "second"
have created the file:
C:\Program Files\Apache Software Foundation\Tomcat
5.5\conf\Catalina\localhost\second
which contains:
<Context path="/second" reloadable="true" docBase="C:\Program
Files\Apache
Software Foundation\Tomcat 5.5\webapps\second" workDir="C:\Program
Files\Apache Software Foundation\Tomcat 5.5\webapps\second\work" />
In /webapps/second I have a index.jsp file which works fine.
In /webapps/second/WEB-INF/classes I have a "three.class" file which I
compiled in Eclipse 3.2 without error.
In /webapps/second/WEB-INF/ I have a "web.xml" file which contains...
<servlet>
<servlet-name>three</servlet-name>
<servlet-class>three</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>three</servlet-name>
<url-pattern>/three</url-pattern>
</servlet-mapping>
As I said when I go to localhost/second the .jsp file shows up
perfectly.
When I try localhost/second/three I am getting a 404 error. I have
tried
everything and am starting to get frustrated.
Any ideas?? Thanks in advance...
Jim
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]