You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "James C. Bell Jr." <jb...@jbelljr.com> on 2001/05/18 21:04:38 UTC

RE: Tomcat install

Hello, im new to tomcat.  I am installing Tomcat 3.1 on a windows 98 
machine.  I created a directory called tomcat with the bin, conf and the 
rest of the directories.  Can anyone tell me how would I set my environment 
variables, and how I would set my class path.    I also need know how to 
edit server.xml, web.xml, startup.bat and shutdown.bat properly for my 
win98 environment.


Jim Diggs


Re: starting tomcat

Posted by Valeriy Molyakov <va...@kompan.com.ua>.
Hi,
by default Tomcat listen port 8080.
May be other application busy same port :)

----- Original Message ----- 
From: "Vasanth Krishnan Venkatachalam" <vv...@vader.ICS.UCI.EDU>
To: <to...@jakarta.apache.org>
Sent: Saturday, May 19, 2001 9:50 AM
Subject: starting tomcat


> Hi, I'm new to this list and tomcat. Right after installing it in unix, I
> ran
> startup.sh, and got the following error:
> 
> Starting tomcat. Check logs/tomcat.log for error messages
> 2001-05-18 11:35:36 - ContextManager: Adding context Ctx( /admin )
> 2001-05-18 11:35:36 - ContextManager: Adding context Ctx(  )
> 2001-05-18 11:35:36 - ContextManager: Adding context Ctx( /test )
> FATAL:java.net.BindException: Address already in use
> java.net.BindException: Address already in use
>         at java.net.PlainSocketImpl.socketBind(Native Method)
>         at java.net.PlainSocketImpl.bind(PlainSocketImpl.java, Compiled
> Code)
>         at java.net.ServerSocket.<init>(ServerSocket.java, Compiled Code)
>         at java.net.ServerSocket.<init>(ServerSocket.java, Compil
> 
> Any suggestions on how to beat this?
> 
> Vasanth
> 
> 
> 


Re: starting tomcat

Posted by Mazur <ma...@raincode.net>.
I was running into this problem too, while using jdk1.2.2 and
Tomcat3.1.  If I shutdown Tomcat using shutdown.sh, the messages would
indicate that Tomcat was killed, but a look at my processes (ps -aux)
would say otherwise.  So I would have to kill -9 the top-most Tomcat
process before I could launch again using startup.sh.

All this changed by upgrading to jdk1.3 from Sun's site.  Both
shutdown.sh and startup.sh do what I expected now.

I don't know if this applies to you, or will help you.

Good luck,
Rob

p.s. And as another poster said, do check that nothing else is using
port 8080.

Vasanth Krishnan Venkatachalam wrote:
> 
> Hi, I'm new to this list and tomcat. Right after installing it in unix, I
> ran
> startup.sh, and got the following error:
> 
> Starting tomcat. Check logs/tomcat.log for error messages
> 2001-05-18 11:35:36 - ContextManager: Adding context Ctx( /admin )
> 2001-05-18 11:35:36 - ContextManager: Adding context Ctx(  )
> 2001-05-18 11:35:36 - ContextManager: Adding context Ctx( /test )
> FATAL:java.net.BindException: Address already in use
> java.net.BindException: Address already in use
>         at java.net.PlainSocketImpl.socketBind(Native Method)
>         at java.net.PlainSocketImpl.bind(PlainSocketImpl.java, Compiled
> Code)
>         at java.net.ServerSocket.<init>(ServerSocket.java, Compiled Code)
>         at java.net.ServerSocket.<init>(ServerSocket.java, Compil
> 
> Any suggestions on how to beat this?
> 
> Vasanth

starting tomcat

Posted by Vasanth Krishnan Venkatachalam <vv...@vader.ICS.UCI.EDU>.
Hi, I'm new to this list and tomcat. Right after installing it in unix, I
ran
startup.sh, and got the following error:

Starting tomcat. Check logs/tomcat.log for error messages
2001-05-18 11:35:36 - ContextManager: Adding context Ctx( /admin )
2001-05-18 11:35:36 - ContextManager: Adding context Ctx(  )
2001-05-18 11:35:36 - ContextManager: Adding context Ctx( /test )
FATAL:java.net.BindException: Address already in use
java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java, Compiled
Code)
        at java.net.ServerSocket.<init>(ServerSocket.java, Compiled Code)
        at java.net.ServerSocket.<init>(ServerSocket.java, Compil

Any suggestions on how to beat this?

Vasanth





Re: problems installing

Posted by Tim O'Neil <ti...@xythos.com>.
At 12:41 PM 5/18/2001 -0700, I wrote:
 >How is the "=" getting in your classpath definition?
>It's got no business being there...

The wildcard after the lib directory isn't
doing you any favors either for that matter.


Re: problems installing

Posted by Tim O'Neil <ti...@xythos.com>.
At 12:08 PM 5/18/2001 -0700, you wrote:
>When I run startup.sh, I get the following error:
>
>Using classpath: /home/vvenkata/foo/jakarta-tomcat-3.2.1=/lib/*
>
>  ./bin/tomcat.sh: /opt/jdk-1.2.2=/bin/java: not found
>
>Any suggestions on how to beat this?

How is the "=" getting in your classpath definition?
It's got no business being there...


problems installing

Posted by Vasanth Krishnan Venkatachalam <vv...@vader.ICS.UCI.EDU>.
Hi everyone, I'm new to tomcat. When I set my paths as follows:

TOMCAT_HOME=/home/vvenkata/foo/jakarta-tomcat-3.2.1 

JAVA_HOME=/opt/jdk-1.2.2 

When I run startup.sh, I get the following error:

Using classpath: /home/vvenkata/foo/jakarta-tomcat-3.2.1=/lib/*

 ./bin/tomcat.sh: /opt/jdk-1.2.2=/bin/java: not found 

Any suggestions on how to beat this?

Vasanth