aspose file tools*
The moose likes Tomcat and the fly likes jdk5.0 with tomcat 5.5 error 404 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "jdk5.0 with tomcat 5.5 error 404" Watch "jdk5.0 with tomcat 5.5 error 404" New topic
Author

jdk5.0 with tomcat 5.5 error 404

carla Jane
Greenhorn

Joined: Feb 08, 2006
Posts: 4
Hi

I have downloaded the JDK 5.0 Update 6 without netbeans and installed it to <c:\programfiles\java\jdk1.5.0_06> on(xp home).java -version works in comm.

I have set JAVA_HOME to the java installation dir <C:\programfiles\java\jdk1.5.0_06> and added bin to the path <C:\programfiles\java\jdk1.5.0_06\bin>.

I have also downloaded and installed apache-tomcat-5.5.15 to
<c:\tomcat5.5.> Tomcat has found the puplic jre at
<C:\Program Files\Java\jre1.5.0_06\bin\client\jvm.dll> & java classpath <C:\Tomcat 5.5\bin\bootstrap.jar>

in the browser the url http://localhost:8080/index.jsp, serves the tomcat welcom page, but if I try to access any jsp examples I get:

HTTP Status 404 - /jsp-examples/

type Status report

message /jsp-examples/

description The requested resource (/jsp-examples/) is not available.
Apache Tomcat/5.5.15

I have also tried copying the tools.jar from the sdk lib to tomcat common/lib and set CATALINA_HOME to <c:\tomcat5.5>

can anyone help?
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

We have a Tomcat forum that you will probably find more helpful in this situation. I'll move this post for you...


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12781
    
    5
Tomcat has found the puplic jre at
<C:\Program Files\Java\jre1.5.0_06\bin\client\jvm.dll> & java classpath

That is not good - Tomcat should be reporting that it found the JDK path. The JRE path does not contain tools.jar so it can't compile JSP.
You should not have to do any copying of JDK files to tomcat directories, it should work "out of the box" if JAVA_HOME is correct.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jdk5.0 with tomcat 5.5 error 404