Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

http://localhost:8080/ doesn't display any page

Status
Not open for further replies.

Gaelle

Programmer
Jun 20, 2001
62
FR
Hello !

I have installed a jdk (1.1.8) and tomcat 3.3.1 on a windows NT station.
When I run startup, it writes : Starting Tomcat in a new Window, it opens a window and close it right after, and when I try in a browser,
it tells me that it's impossible to display the page.

I've enough of Tomcat, can anybody help me please ?

Gaelle.
 
It may not be a problem but you probably should be using jdk 1.3.

It is good that you are using NT 4.0. Using 'localhost' should work, but you can also use the hostname for your machine.

From the information, it sounds like the server failed to start. Your previous postings indicate that Tomcat is having classpath problems. It is diffucult to explain classpath. You struggle with it in beginning and then later wonder why you did not 'get it' sooner.

Try using bat files below--modify to fit your directory structure. I recall having problems if I did not start tomcat from its root directory like in bat file below:
"call bin/startup"

When your server is successfully running, you will see another cmd.exe window which is the server's.

Hope this helps. Sorry I can't be more help. Keep at it.

pfist

myStart.bat ----------------------
@echo off
call addjdk13
set TOMCAT_HOME=d:\tomcat4
pushd d:\tomcat4
call bin\startup
popd

addjdk13.bat --------------------------
@echo off

set JDK=.;c:\jdk1.3.101\jre\lib\rt.jar;c:\jdk1.3.101\lib\tools.jar
set JDK_BIN=c:\jdk1.3.101\bin
set JAVA_HOME=c:\jdk1.3.101

if defined PATH set PATH=%PATH:;c:\jdk1.3.101\bin=%
set PATH=%path%;%JDK_BIN%

if defined CLASSPATH set CLASSPATH=%CLASSPATH:.;c:\jdk1.3.101\jre\lib\rt.jar;c:\jdk1.3.101\lib\tools.jar=%

set CLASSPATH=%JDK%%CLASSPATH%
--------------------------------------------------------
 
set your classpath right in the batch file startup see that JAVA_HOME path is set right
try this
dont run startup
instead just run tomat and then see the error that is getting displayed.
reg viv
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top