Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 19th, 2006, 03:45 PM
Registered User
Join Date: Feb 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Topic: jdk5.0 with tomcat 5.5 error 404


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?

Reply With Quote
  #2 (permalink)  
Old April 10th, 2006, 03:04 PM
Registered User
Join Date: Apr 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

I found a bug on the Tomcat bugzilla site; apparently the .class files in the .exe distribution are corrupted, but not the ones in the .zip distro. I grabbed the .zip distro, unzipped it, copied the ..\webapps\jsp-examples folder from the unzipped directory overtop of my existing \webapps\jsp-examples, and voila, it started working. Hope this helps.

Reply With Quote
  #3 (permalink)  
Old April 13th, 2006, 01:36 AM
Registered User
Join Date: Apr 2006
Location: Beijing, , China.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

Thanks for the post. Your workaround cleared up this problem for me, too.

-- Jeff

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
catch 404 error danielnixon ASP.NET 2.0 Basics 1 May 1st, 2008 06:57 PM
Error 404 SeniorNSU BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 1 August 30th, 2006 11:09 AM
404 error DARSIN .NET Framework 2.0 1 March 24th, 2005 06:04 AM
404 error scrowler Pro PHP 1 December 19th, 2004 11:36 AM
Error 404 jackps Dreamweaver (all versions) 2 January 15th, 2004 09:29 AM

All times are GMT -4. The time now is 01:05 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.