Re: Address already in use: JVM_Bind /87.230.103.25:80

2009-01-16 Thread kareda


thanks for the tip. indeed, the server.xml is not used at all. I removed it
completely from the conf dir and when I ran catalina.bat run, the log output
didn't change at all - still the same error. 
I have another tomcat instance on the same server, running as a service. so
it's probably using the server.xml from the other tomcat installation,
right? strange.. what may cause this?

tnx,
Kaur 



Markus Schönhaber-10 wrote:
 
 kareda:
 
 You did the right thing. If Tomcat still tries to bind to port 80, make
 sure that
 a) there's no other Connector configured to listen on port 80,
 b) Tomcat really uses the server.xml that you modified.
 
 Additionally you can take a look at the logs. Also, if you start Tomcat
 by issuing
 catalina.bat run
 the console will stay open, allowing you to see Tomcat's startup messages.
 
 Regards
   mks
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Address-already-in-use%3A-JVM_Bind--87.230.103.25%3A80-tp21477831p21500899.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Address already in use: JVM_Bind /87.230.103.25:80

2009-01-16 Thread Gregor Schneider
On Fri, Jan 16, 2009 at 3:41 PM, kareda k...@digiplace.ch wrote:


 right? strange.. what may cause this?

Eclipse's Tomcat-plugin.

Check out ${your_workspace}\Servers\... and appropriate sub-directories.

Cheers

Gregor
-- 
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Address already in use: JVM_Bind /87.230.103.25:80

2009-01-16 Thread Markus Schönhaber
kareda:

 thanks for the tip. indeed, the server.xml is not used at all. I removed it
 completely from the conf dir and when I ran catalina.bat run, the log output
 didn't change at all - still the same error. 
 I have another tomcat instance on the same server, running as a service. so
 it's probably using the server.xml from the other tomcat installation,
 right?

Maybe, I don't know.

 strange.. what may cause this?

Among the first lines printed when you start Tomcat by using
catalina.bat run should be the values of CATALINA_HOME and
CATALINA_BASE. Are these (especially CATALINA_BASE) what you'd expect
them to be - i. e. do the point to the dir where the Tomcat you just
started is located?
If not, is one or both of them already set in your environment?

Regards
  mks

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Address already in use: JVM_Bind /87.230.103.25:80

2009-01-16 Thread Caldarale, Charles R
 From: kareda [mailto:k...@digiplace.ch]
 Subject: Re: Address already in use: JVM_Bind /87.230.103.25:80

 it's probably using the server.xml from the other tomcat installation,
 right? strange.. what may cause this?

What is your current directory when you run catalina.bat?

What environment variables do you have set when you run catalina.bat?

If CATALINA_HOME or CATALINA_BASE is set, the script will use those rather than 
the current directory.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Address already in use: JVM_Bind /87.230.103.25:80

2009-01-16 Thread kareda


there is a system variable set to the first tomcat binary instance that runs
as service (tomcat #1): 
CATALINA_HOME=C:\apache-tomcat-6.0.18

The issue I have with the second tomcat binary instance (tomcat #2):
C:\digiplace\test2\apache-tomcat-6.0.18

yes, in 'catalina.bat run' output for tomcat #2 I have the wrong paths: 
Using CATALINA_BASE:   C:\apache-tomcat-6.0.18
Using CATALINA_HOME:   C:\apache-tomcat-6.0.18

I can't define another system variable CATALINA_HOME I guess? 
Where should I define a new CATALINA_BASE? I see it in many places in
catalina.bat 

many thanks for the help! 



Caldarale, Charles R wrote:
 
 From: kareda [mailto:k...@digiplace.ch]
 Subject: Re: Address already in use: JVM_Bind /87.230.103.25:80

 it's probably using the server.xml from the other tomcat installation,
 right? strange.. what may cause this?
 
 What is your current directory when you run catalina.bat?
 
 What environment variables do you have set when you run catalina.bat?
 
 If CATALINA_HOME or CATALINA_BASE is set, the script will use those rather
 than the current directory.
 
  - Chuck
 
 
 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you
 received this in error, please contact the sender and delete the e-mail
 and its attachments from all computers.
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Address-already-in-use%3A-JVM_Bind--87.230.103.25%3A80-tp21477831p21502171.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Address already in use: JVM_Bind /87.230.103.25:80

2009-01-16 Thread Caldarale, Charles R
 From: kareda [mailto:k...@digiplace.ch]
 Subject: RE: Address already in use: JVM_Bind /87.230.103.25:80

 there is a system variable set to the first tomcat binary
 instance that runs as service (tomcat #1):
 CATALINA_HOME=C:\apache-tomcat-6.0.18

You can safely remove that - the service does not use environment variables.

 I can't define another system variable CATALINA_HOME I guess?

You can override the existing one by replacing it in the command prompt session 
before calling the catalina.bat script.  However, you don't need the 
CATALINA_HOME variable for the service, so just get rid of the system variable.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Address already in use: JVM_Bind /87.230.103.25:80

2009-01-16 Thread kareda


great, I just needed to remove CATALINA_HOME 

works now ok, many thanks! 



Caldarale, Charles R wrote:
 
 From: kareda [mailto:k...@digiplace.ch]
 Subject: RE: Address already in use: JVM_Bind /87.230.103.25:80

 there is a system variable set to the first tomcat binary
 instance that runs as service (tomcat #1):
 CATALINA_HOME=C:\apache-tomcat-6.0.18
 
 You can safely remove that - the service does not use environment
 variables.
 
 I can't define another system variable CATALINA_HOME I guess?
 
 You can override the existing one by replacing it in the command prompt
 session before calling the catalina.bat script.  However, you don't need
 the CATALINA_HOME variable for the service, so just get rid of the system
 variable.
 
  - Chuck
 
 
 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you
 received this in error, please contact the sender and delete the e-mail
 and its attachments from all computers.
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Address-already-in-use%3A-JVM_Bind--87.230.103.25%3A80-tp21477831p21502778.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Address already in use: JVM_Bind /87.230.103.25:80

2009-01-15 Thread kareda


I don't need this Tomcat instance to run as service, command line start will
do. 



kareda wrote:
 
 
 Hello, 
 
 I need to have Tomcat running on a win2003 server that also has IIS
 running. IIS uses port 80. 
 I have changed the port in connector element in server.xml: 
 
 Connector port=90 protocol=HTTP/1.1 
connectionTimeout=2 
redirectPort=8493 
  address=87.230.103.25 /
 
 But still when I run tomcat I get the error: 
 Address already in use: JVM_Bind /87.230.103.25:80
 
 How can I have tomcat not to bind to port 80 on startup? 
 
 

-- 
View this message in context: 
http://www.nabble.com/Address-already-in-use%3A-JVM_Bind--87.230.103.25%3A80-tp21477831p21477900.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Address already in use: JVM_Bind /87.230.103.25:80

2009-01-15 Thread Markus Schönhaber
kareda:

 I need to have Tomcat running on a win2003 server that also has IIS running.
 IIS uses port 80. 
 I have changed the port in connector element in server.xml: 
 
 Connector port=90 protocol=HTTP/1.1 
connectionTimeout=2 
redirectPort=8493 
  address=87.230.103.25 /
 
 But still when I run tomcat I get the error: 
 Address already in use: JVM_Bind /87.230.103.25:80
 
 How can I have tomcat not to bind to port 80 on startup? 

You did the right thing. If Tomcat still tries to bind to port 80, make
sure that
a) there's no other Connector configured to listen on port 80,
b) Tomcat really uses the server.xml that you modified.

Additionally you can take a look at the logs. Also, if you start Tomcat
by issuing
catalina.bat run
the console will stay open, allowing you to see Tomcat's startup messages.

Regards
  mks

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org