Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 19th, 2006, 03:45 PM
Registered User
 
Join Date: Feb 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Topic: jdk5.0 with tomcat 5.5 error 404

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?

 
Old April 10th, 2006, 03:04 PM
Registered User
 
Join Date: Apr 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.

 
Old April 13th, 2006, 01:36 AM
Registered User
 
Join Date: Apr 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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


-- Jeff






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





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