wood burning stoves
The moose likes Servlets and the fly likes HELP ME!!!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "HELP ME!!!!!!" Watch "HELP ME!!!!!!" New topic

HELP ME!!!!!!

Tanveer Mehmood
Ranch Hand

Joined: Feb 23, 2001
Posts: 51
This end of life now. I put one complete day in it but didn't succeed. Now please, please, please help me out.
When I run it like c:\tomcat\jakarta-tomcat\bin\tomcat run, it gives me this....
Using CLASSPATH: C:\tomcat\jakarta-tomcat\classes
Exception in thread "main" java.lang.NoClassDefFoundError: \lib\tools/jar
When I run it like :\tomcat\jakarta-tomcat\bin\startup, it gives me this...
Using CLASSPATH:C:\tomcat\jakarta-tomcat\classes;C:\JDK1.3\lib\tools.jar
Starting tomcat in new window.
But when I type http://localhost:8080/, windows dialog box appears to ask "connect to internet?"
While here is my autoexec.bat
set TOMCAT_HOME=C:\tomcat\jakarta-tomcat
set ANT_HOME=C:\tomcat\jakarta-tomcat
Please help....
vik nuckchady

Joined: Apr 25, 2001
Posts: 25
Just close the connection box and it should be fine.
Tanveer Mehmood
Ranch Hand

Joined: Feb 23, 2001
Posts: 51
Here is an improved version of my efforts.
Things have been sorted out a bit.... but when I run tomcat (tomcat run). It starts up. It doesn't generate any error. Print something like...
USING CLASSPATH C:\tomcat\tc\classes\ ............. etc
2001-05-16 06:12:59 - ContextManager: Adding context ctx(/examples)......etc
2001-05-16 06:12:59 - ContextManager Adding context....
........ etc
But when I type http://localhost:8080 in my browser, it says "Unable to connect to internet". I tried it with all the possible options, i.e. startup, tomcat run, tomcat start, the only difference being that it starts in separate window.
And here is my autoexec....
set TOMCAT_HOME=C:\tomcat\tc
set ANT_HOME=C:\tomcat\tc
Can somebody help me out plzzzzzzzzzzzzz.
Rajul King
Ranch Hand

Joined: Apr 12, 2001
Posts: 47
You may like to check the proxy settings of your browser. For IE go to tools>internet options>connection>lan settings and uncheck the box that says USE PROXY SERVER.
If you are using Netscape you will have to go to edit>preferences>advance>proxy.
I agree. Here's the link: http://aspose.com/file-tools
subject: HELP ME!!!!!!
It's not a secret anymore!