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 May 24th, 2005, 02:39 PM
Authorized User
 
Join Date: Jul 2003
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Tomcat Installation Problem

I had both Tomcat 4.1 and Microsoft Personal Web Server installed on my laptop ( an IBM Thinkpad - Windows NT operating system). It had been several months since I used Tomcat.

When I started the Tomcat server and typed in localhost:8080 in the Internet Explorer address window, it brought me to Personal Web Server rather than bringing up the Tomcat page.

I then decided to uninstall both Personal Web Server and the Java Web Services Developers Pack. But after reinstalling the latter, I am getting a page not found condition. The details are below.

If anyone can help, I'd really appreciate it.

Robin
********************************
Type in Address Window:
http://localhost:8080

In Internet Explorer
Above Address Window:
res://C:\WINNT\System32\shdoclc.dll/dnserror.htm#http://localhost:8080/

Page cannot be displayed
The page you are looking for is currently unavailable

In Netscape, typing in http://localhost:8080 brings me to:
http://localhost:8080/index.html
Java Web Services Developer Pack 1.1

However, if I try to bring up first example of Beginning JSP Web Development (Wrox Press), I get:

HTTP Status 404
http://localhost:8080/begjsp-ch01/index.jsp
The requested resource is not available

Location of Installations
d:\jdk1.4.1

d:\jwsdp-1_1

The files listed under the environment variables CLASSPATH and PATH are a partial listing:
************************
JAVA_HOME:
d:\jdk1.4.1;
*************************
CATALINA_HOME
d:\jwsdp-1_1;
**************************
CLASSPATH:
.;
c:\Program Files\JMF2.1.1\lib\jmf.jar;
c:\Program Files\JMF2.1.1\lib\sound.jar;
d:\jwsdp-1_1\common\lib\servlet.jar;
d:\jwsdp-1_1\jaxm-1.1.1\lib\jaxm-api.jar;
d:\jwsdp-1_1\saaj-1.1.1\lib\dom4j.jar;
d:\jwsdp-1_1\saaj-1.1.1\lib\saaj-api.jar;
d:\jwsdp-1_1\common\lib\mysql-connector-java-2.0.14-bin.jar;
 **********************************
PATH
d:\jwsdp-1_1\jakarta-ant-1.5.1\bin;
d:\jwsdp-1_1\bin;
d:\jwsdp-1_1\jwsdp-shared\bin;
d:\jdk1.4.1\bin;



 
Old June 2nd, 2005, 09:09 AM
Registered User
 
Join Date: Jun 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sanlaw
Default

hi , if any other server is runnin , then tomcat simply quits i guess.
So uninstall rest , and keep tomcat only. If you are using older versions of tomcat then u need to set calalina_home,In tomcat 5.0.16 they will give u exe, so u dont need to worry about classpaths just click exe for installation.

 In your case set java_home variable as a system variable and d:\jdk1.4.1 dont put semicol. then simply go to bin dir. of tomcat , there u will find statrup.bat file , run that file so that server will start .

C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin>startup.bat
now give http://localhost:8080/ u will see tomcat console .

all the best.






 
Old June 3rd, 2005, 11:46 AM
Authorized User
 
Join Date: Jul 2003
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The Windows NT Operating System apparently became corrupted. The problem was corrected only after reinstalling it.

Robin






Similar Threads
Thread Thread Starter Forum Replies Last Post
tomcat installation and configuration problem viju_jaipur JSP Basics 1 June 6th, 2006 09:53 PM
Installation problem fhzaki BOOK: Professional DotNetNuke ASP.NET Portals ISBN: 0-7645-9563-6 0 April 27th, 2006 03:35 AM
Tomcat installation sherbir Servlets 0 August 27th, 2004 12:38 AM
After Installation problem wwwdirzala Access 2 April 19th, 2004 02:53 PM
Installation Problem Dakay Pro VB 6 1 March 31st, 2004 03:40 PM





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