RE: Wait... NULL address in java.net.BindException: Address already in use (Bind failed) ???

2021-03-17 Thread Eric Robinson




> -Original Message-
> From: Christopher Schultz 
> Sent: Wednesday, March 17, 2021 3:13 PM
> To: users@tomcat.apache.org
> Subject: Re: Wait... NULL address in java.net.BindException: Address already
> in use (Bind failed)  ???
>
> Eric and Martin,
>
> On 3/17/21 15:35, Martin Grigorov wrote:
> > On Wed, Mar 17, 2021, 20:27 Eric Robinson 
> wrote:
> >
> >>> From: Martin Grigorov 
> >>> Sent: Wednesday, March 17, 2021 12:45 PM
> >>> To: Tomcat Users List 
> >>> Subject: Re: Wait... NULL address in java.net.BindException: Address
> >> already
> >>> in use (Bind failed)  ???
> >>>
> >>> Hi,
> >>>
> >>> On Wed, Mar 17, 2021, 19:34 Eric Robinson 
> >>> wrote:
> >>>
> >>>> Getting error:
> >>>>
> >>>> java.net.BindException: Address already in use (Bind failed)
> >>>> :3787
> >>>>
> >>>
> >>> Please paste more lines of the exception.
> >>> Also please tell us which version of JDK/JRE you use.
> >>> This exception is very cryptic and does not usually tell which
> >>> address
> >> is in use.
> >>> I.e. 3787 is not the port, as you might think. Most probably it is a
> >> line in some
> >>> class.
> >>>
> >>
> >> Tomcat: Apache Tomcat/8.5.51
> >> JVM: 1.8.0_241-b08
> >>
> >> The following error appears in catalina.out under tomcat 8. It does
> >> not mention the null. We tried it under tomcat 7 as well, and that is
> >> where it mentions the null.
> >>
> >> 17-Mar-2021 11:12:54.039 INFO [main]
> >> org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
> >> ["http-nio-3787"]
> >> 17-Mar-2021 11:12:54.048 SEVERE [main]
> >> org.apache.catalina.core.StandardService.initInternal Failed to
> >> initialize connector [Connector[HTTP/1.1-3787]]
> >>
> >
> > This line says that 3787 is the port indeed.
> > Are you sure it is not bound?
>
> Also, please post your s from conf/server.xml.
>
> You mentioned ":3787" in your error message but I don't see that in
> the exception. Are you sure you are posting everything?
>

Hi Chris --

I mentioned in the email that the null reference appears in the catalina log 
when we use tomcat 7. It does not appear when we use tomcat 8. Although it 
fails to bind either way.

Here's the connector.



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

Disclaimer : This email and any files transmitted with it are confidential and 
intended solely for intended recipients. If you are not the named addressee you 
should not disseminate, distribute, copy or alter this email. Any views or 
opinions presented in this email are solely those of the author and might not 
represent those of Physician Select Management. Warning: Although Physician 
Select Management has taken reasonable precautions to ensure no viruses are 
present in this email, the company cannot accept responsibility for any loss or 
damage arising from the use of this email or attachments.


RE: Wait... NULL address in java.net.BindException: Address already in use (Bind failed) ???

2021-03-17 Thread Eric Robinson
> -Original Message-
> From: Martin Grigorov 
> Sent: Wednesday, March 17, 2021 2:35 PM
> To: Tomcat Users List 
> Subject: Re: Wait... NULL address in java.net.BindException: Address already
> in use (Bind failed)  ???
>
> On Wed, Mar 17, 2021, 20:27 Eric Robinson 
> wrote:
>
> > > From: Martin Grigorov 
> > > Sent: Wednesday, March 17, 2021 12:45 PM
> > > To: Tomcat Users List 
> > > Subject: Re: Wait... NULL address in java.net.BindException: Address
> > already
> > > in use (Bind failed)  ???
> > >
> > > Hi,
> > >
> > > On Wed, Mar 17, 2021, 19:34 Eric Robinson 
> > > wrote:
> > >
> > > > Getting error:
> > > >
> > > > java.net.BindException: Address already in use (Bind failed)
> > > > :3787
> > > >
> > >
> > > Please paste more lines of the exception.
> > > Also please tell us which version of JDK/JRE you use.
> > > This exception is very cryptic and does not usually tell which
> > > address
> > is in use.
> > > I.e. 3787 is not the port, as you might think. Most probably it is a
> > line in some
> > > class.
> > >
> >
> > Tomcat: Apache Tomcat/8.5.51
> > JVM: 1.8.0_241-b08
> >
> > The following error appears in catalina.out under tomcat 8. It does
> > not mention the null. We tried it under tomcat 7 as well, and that is
> > where it mentions the null.
> >
> > 17-Mar-2021 11:12:54.039 INFO [main]
> > org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
> > ["http-nio-3787"]
> > 17-Mar-2021 11:12:54.048 SEVERE [main]
> > org.apache.catalina.core.StandardService.initInternal Failed to
> > initialize connector [Connector[HTTP/1.1-3787]]
> >
>
> This line says that 3787 is the port indeed.
> Are you sure it is not bound?
>

100% sure, unless there's an invisible process using it. netstat and fuser both 
show nothing.
>
> org.apache.catalina.LifecycleException: Protocol handler
> > initialization failed
> > at
> > org.apache.catalina.connector.Connector.initInternal(Connector.java:1032)
> > at
> > org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
> > at
> >
> org.apache.catalina.core.StandardService.initInternal(StandardService.java:5
> 52)
> > at
> > org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
> > at
> >
> org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:84
> 8)
> > at
> > org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
> > at
> > org.apache.catalina.startup.Catalina.load(Catalina.java:639)
> > at
> > org.apache.catalina.startup.Catalina.load(Catalina.java:662)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> >         at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:62)
> > at
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:498)
> > at
> > org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:303)
> > at
> > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:473)
> > Caused by: java.net.BindException: Address already in use
> > at sun.nio.ch.Net.bind0(Native Method)
> > at sun.nio.ch.Net.bind(Net.java:433)
> > at sun.nio.ch.Net.bind(Net.java:425)
> > at sun.nio.ch
> > .ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:220)
> > at sun.nio.ch
> > .ServerSocketAdaptor.bind(ServerSocketAdaptor.java:85)
> > at org.apache.tomcat.util.net
> > .NioEndpoint.bind(NioEndpoint.java:221)
> > at org.apache.tomcat.util.net
> > .AbstractEndpoint.init(AbstractEndpoint.java:1118)
> > at org.apache.tomcat.util.net
> > .AbstractJsseEndpoint.init(AbstractJsseEndpoint.java:223)
> > at
> > org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:587)
> > at
> >
> org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protoc
> ol.java:74)
> > at
> > org.apache.catalina.connector.Connector.initInternal(Connector

Re: Wait... NULL address in java.net.BindException: Address already in use (Bind failed) ???

2021-03-17 Thread Christopher Schultz

Eric and Martin,

On 3/17/21 15:35, Martin Grigorov wrote:

On Wed, Mar 17, 2021, 20:27 Eric Robinson  wrote:


From: Martin Grigorov 
Sent: Wednesday, March 17, 2021 12:45 PM
To: Tomcat Users List 
Subject: Re: Wait... NULL address in java.net.BindException: Address

already

in use (Bind failed)  ???

Hi,

On Wed, Mar 17, 2021, 19:34 Eric Robinson 
wrote:


Getting error:

java.net.BindException: Address already in use (Bind failed)
:3787



Please paste more lines of the exception.
Also please tell us which version of JDK/JRE you use.
This exception is very cryptic and does not usually tell which address

is in use.

I.e. 3787 is not the port, as you might think. Most probably it is a

line in some

class.



Tomcat: Apache Tomcat/8.5.51
JVM: 1.8.0_241-b08

The following error appears in catalina.out under tomcat 8. It does not
mention the null. We tried it under tomcat 7 as well, and that is where it
mentions the null.

17-Mar-2021 11:12:54.039 INFO [main]
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
["http-nio-3787"]
17-Mar-2021 11:12:54.048 SEVERE [main]
org.apache.catalina.core.StandardService.initInternal Failed to initialize
connector [Connector[HTTP/1.1-3787]]



This line says that 3787 is the port indeed.
Are you sure it is not bound?


Also, please post your s from conf/server.xml.

You mentioned ":3787" in your error message but I don't see that 
in the exception. Are you sure you are posting everything?


-chris

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



Re: Wait... NULL address in java.net.BindException: Address already in use (Bind failed) ???

2021-03-17 Thread Martin Grigorov
On Wed, Mar 17, 2021, 20:27 Eric Robinson  wrote:

> > From: Martin Grigorov 
> > Sent: Wednesday, March 17, 2021 12:45 PM
> > To: Tomcat Users List 
> > Subject: Re: Wait... NULL address in java.net.BindException: Address
> already
> > in use (Bind failed)  ???
> >
> > Hi,
> >
> > On Wed, Mar 17, 2021, 19:34 Eric Robinson 
> > wrote:
> >
> > > Getting error:
> > >
> > > java.net.BindException: Address already in use (Bind failed)
> > > :3787
> > >
> >
> > Please paste more lines of the exception.
> > Also please tell us which version of JDK/JRE you use.
> > This exception is very cryptic and does not usually tell which address
> is in use.
> > I.e. 3787 is not the port, as you might think. Most probably it is a
> line in some
> > class.
> >
>
> Tomcat: Apache Tomcat/8.5.51
> JVM: 1.8.0_241-b08
>
> The following error appears in catalina.out under tomcat 8. It does not
> mention the null. We tried it under tomcat 7 as well, and that is where it
> mentions the null.
>
> 17-Mar-2021 11:12:54.039 INFO [main]
> org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
> ["http-nio-3787"]
> 17-Mar-2021 11:12:54.048 SEVERE [main]
> org.apache.catalina.core.StandardService.initInternal Failed to initialize
> connector [Connector[HTTP/1.1-3787]]
>

This line says that 3787 is the port indeed.
Are you sure it is not bound?


org.apache.catalina.LifecycleException: Protocol handler
> initialization failed
> at
> org.apache.catalina.connector.Connector.initInternal(Connector.java:1032)
> at
> org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
> at
> org.apache.catalina.core.StandardService.initInternal(StandardService.java:552)
> at
> org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
> at
> org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:848)
> at
> org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
> at
> org.apache.catalina.startup.Catalina.load(Catalina.java:639)
> at
> org.apache.catalina.startup.Catalina.load(Catalina.java:662)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
> at
> org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:303)
> at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:473)
> Caused by: java.net.BindException: Address already in use
> at sun.nio.ch.Net.bind0(Native Method)
> at sun.nio.ch.Net.bind(Net.java:433)
> at sun.nio.ch.Net.bind(Net.java:425)
> at sun.nio.ch
> .ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:220)
> at sun.nio.ch
> .ServerSocketAdaptor.bind(ServerSocketAdaptor.java:85)
> at org.apache.tomcat.util.net
> .NioEndpoint.bind(NioEndpoint.java:221)
> at org.apache.tomcat.util.net
> .AbstractEndpoint.init(AbstractEndpoint.java:1118)
> at org.apache.tomcat.util.net
> .AbstractJsseEndpoint.init(AbstractJsseEndpoint.java:223)
> at
> org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:587)
> at
> org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:74)
> at
> org.apache.catalina.connector.Connector.initInternal(Connector.java:1030)
> ... 13 more
>
>
> >
> > > I know how to fix the infamous "Address already in use (Bind failed)"
> > > problem when there is another process already listening on a port.
> > > However, I have confirmed with netstat and fuser that there is no
> > > other process listening on that port. Could the problem be that the
> > > host address is null for some reason? I don't recall seeing that
> > > before, and Google diving came up dry.
> > >
> > > -Eric
> > >
> > >
> > >
> > > Disclaimer : This email and any files transmitted with it are
> > > confidential and intended solely for intended recipients. If you are
> > > not the named addressee you should not disseminate, distribute, copy or
> > alter this email.
> > &

RE: Wait... NULL address in java.net.BindException: Address already in use (Bind failed) ???

2021-03-17 Thread Eric Robinson
> From: Martin Grigorov 
> Sent: Wednesday, March 17, 2021 12:45 PM
> To: Tomcat Users List 
> Subject: Re: Wait... NULL address in java.net.BindException: Address already
> in use (Bind failed)  ???
>
> Hi,
>
> On Wed, Mar 17, 2021, 19:34 Eric Robinson 
> wrote:
>
> > Getting error:
> >
> > java.net.BindException: Address already in use (Bind failed)
> > :3787
> >
>
> Please paste more lines of the exception.
> Also please tell us which version of JDK/JRE you use.
> This exception is very cryptic and does not usually tell which address is in 
> use.
> I.e. 3787 is not the port, as you might think. Most probably it is a line in 
> some
> class.
>

Tomcat: Apache Tomcat/8.5.51
JVM: 1.8.0_241-b08

The following error appears in catalina.out under tomcat 8. It does not mention 
the null. We tried it under tomcat 7 as well, and that is where it mentions the 
null.

17-Mar-2021 11:12:54.039 INFO [main] org.apache.coyote.AbstractProtocol.init 
Initializing ProtocolHandler ["http-nio-3787"]
17-Mar-2021 11:12:54.048 SEVERE [main] 
org.apache.catalina.core.StandardService.initInternal Failed to initialize 
connector [Connector[HTTP/1.1-3787]]
org.apache.catalina.LifecycleException: Protocol handler initialization 
failed
at 
org.apache.catalina.connector.Connector.initInternal(Connector.java:1032)
at 
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at 
org.apache.catalina.core.StandardService.initInternal(StandardService.java:552)
at 
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at 
org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:848)
at 
org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.startup.Catalina.load(Catalina.java:639)
at org.apache.catalina.startup.Catalina.load(Catalina.java:662)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:303)
    at 
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:473)
Caused by: java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:433)
at sun.nio.ch.Net.bind(Net.java:425)
at 
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:220)
at 
sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:85)
at 
org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:221)
at 
org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:1118)
at 
org.apache.tomcat.util.net.AbstractJsseEndpoint.init(AbstractJsseEndpoint.java:223)
at 
org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:587)
at 
org.apache.coyote.http11.AbstractHttp11Protocol.init(AbstractHttp11Protocol.java:74)
at 
org.apache.catalina.connector.Connector.initInternal(Connector.java:1030)
... 13 more


>
> > I know how to fix the infamous "Address already in use (Bind failed)"
> > problem when there is another process already listening on a port.
> > However, I have confirmed with netstat and fuser that there is no
> > other process listening on that port. Could the problem be that the
> > host address is null for some reason? I don't recall seeing that
> > before, and Google diving came up dry.
> >
> > -Eric
> >
> >
> >
> > Disclaimer : This email and any files transmitted with it are
> > confidential and intended solely for intended recipients. If you are
> > not the named addressee you should not disseminate, distribute, copy or
> alter this email.
> > Any views or opinions presented in this email are solely those of the
> > author and might not represent those of Physician Select Management.
> > Warning: Although Physician Select Management has taken reasonable
> > precautions to ensure no viruses are present in this email, the
> > company cannot accept responsibility for any loss or damage arising
> > from the use of this email or attachments.
> >
Disclaimer : This email and any files transmitted with it are confidential and 
intended solely for intended recipients. If you are not the named addressee you 
should not disseminate, distribute,

Re: Wait... NULL address in java.net.BindException: Address already in use (Bind failed) ???

2021-03-17 Thread Martin Grigorov
Hi,

On Wed, Mar 17, 2021, 19:34 Eric Robinson  wrote:

> Getting error:
>
> java.net.BindException: Address already in use (Bind failed) :3787
>

Please paste more lines of the exception.
Also please tell us which version of JDK/JRE you use.
This exception is very cryptic and does not usually tell which address is
in use. I.e. 3787 is not the port, as you might think. Most probably it is
a line in some class.


> I know how to fix the infamous "Address already in use (Bind failed)"
> problem when there is another process already listening on a port. However,
> I have confirmed with netstat and fuser that there is no other process
> listening on that port. Could the problem be that the host address is null
> for some reason? I don't recall seeing that before, and Google diving came
> up dry.
>
> -Eric
>
>
>
> Disclaimer : This email and any files transmitted with it are confidential
> and intended solely for intended recipients. If you are not the named
> addressee you should not disseminate, distribute, copy or alter this email.
> Any views or opinions presented in this email are solely those of the
> author and might not represent those of Physician Select Management.
> Warning: Although Physician Select Management has taken reasonable
> precautions to ensure no viruses are present in this email, the company
> cannot accept responsibility for any loss or damage arising from the use of
> this email or attachments.
>


Wait... NULL address in java.net.BindException: Address already in use (Bind failed) ???

2021-03-17 Thread Eric Robinson
Getting error:

java.net.BindException: Address already in use (Bind failed) :3787

I know how to fix the infamous "Address already in use (Bind failed)" problem 
when there is another process already listening on a port. However, I have 
confirmed with netstat and fuser that there is no other process listening on 
that port. Could the problem be that the host address is null for some reason? 
I don't recall seeing that before, and Google diving came up dry.

-Eric



Disclaimer : This email and any files transmitted with it are confidential and 
intended solely for intended recipients. If you are not the named addressee you 
should not disseminate, distribute, copy or alter this email. Any views or 
opinions presented in this email are solely those of the author and might not 
represent those of Physician Select Management. Warning: Although Physician 
Select Management has taken reasonable precautions to ensure no viruses are 
present in this email, the company cannot accept responsibility for any loss or 
damage arising from the use of this email or attachments.


Re: java.net.BindException: Address already in use

2010-09-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul,

On 9/2/2010 2:41 PM, Paul Bourget wrote:
> I am not clear on the question as I inserted the log file in the early
> emails.

I meant: what does your system /perform/ on boot... not what are the
effects. For example: what startup script launches Tomcat? What does it
look like? Where did you get it?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyAH7MACgkQ9CaO5/Lv0PAACwCgg1Wumn2Up2YwMYdmvAG84To/
fKEAn1IPim2Ri4ffimyxhURQPPA/JoUF
=ciVL
-END PGP SIGNATURE-

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



RE: java.net.BindException: Address already in use

2010-09-02 Thread Paul Bourget
I am not clear on the question as I inserted the log file in the early
emails.

Paul


Paul Bourget
Isabella Products
 

-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
Sent: Tuesday, August 31, 2010 3:21 PM
To: Tomcat Users List
Subject: Re: java.net.BindException: Address already in use

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul,

On 8/31/2010 3:07 PM, Paul Bourget wrote:
> I compared the server.xml file to the one used on the production
servers
> and it was the same except for the ip addresses.  During bootup I get
> the failure but when I run the "Catalina.sh start" command, tomcat
> starts up fine.

So, it only fails on system boot? Okay, what happens at system boot,
then?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkx9VjUACgkQ9CaO5/Lv0PCNSgCgoUQF9ZAbv79Zavy/PAyIqPuV
fswAoJ/n4ysGbLyaZQz1HkCdIIOfSGtC
=lHMM
-END PGP SIGNATURE-

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


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



Re: java.net.BindException: Address already in use

2010-08-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul,

On 8/31/2010 3:07 PM, Paul Bourget wrote:
> I compared the server.xml file to the one used on the production servers
> and it was the same except for the ip addresses.  During bootup I get
> the failure but when I run the "Catalina.sh start" command, tomcat
> starts up fine.

So, it only fails on system boot? Okay, what happens at system boot, then?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkx9VjUACgkQ9CaO5/Lv0PCNSgCgoUQF9ZAbv79Zavy/PAyIqPuV
fswAoJ/n4ysGbLyaZQz1HkCdIIOfSGtC
=lHMM
-END PGP SIGNATURE-

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



RE: java.net.BindException: Address already in use

2010-08-31 Thread Caldarale, Charles R
> From: Paul Bourget [mailto:paul.bour...@isabellaproducts.com] 
> Subject: RE: java.net.BindException: Address already in use

> I compared the server.xml file to the one used on the production
> servers and it was the same except for the ip addresses.

So that just verifies that you've got junk on your production servers as well...

> During bootup I get the failure but when I run the "Catalina.sh
> start" command, tomcat starts up fine.

Sounds like your boot scripts are trying to start Tomcat twice.

> Apache is not running though, so still no web services.

What do you think you mean by "Apache"?  Both Tomcat and httpd are Apache 
products, as are numerous other packages.

 - 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: java.net.BindException: Address already in use

2010-08-31 Thread Paul Bourget
I compared the server.xml file to the one used on the production servers
and it was the same except for the ip addresses.  During bootup I get
the failure but when I run the "Catalina.sh start" command, tomcat
starts up fine.

Apache is not running though, so still no web services.


[r...@localhost tomcat]# /usr/local/netomat/tomcat5.5.23/bin/catalina.sh
start
Using CATALINA_BASE:   /usr/local/netomat/tomcat5.5.23
Using CATALINA_HOME:   /usr/local/netomat/tomcat5.5.23
Using CATALINA_TMPDIR: /usr/local/netomat/tomcat5.5.23/temp
Using JRE_HOME:   /usr/jdk1.5.0_17
[r...@localhost tomcat]# ps -ef | grep tomcat
root  3724 1 93 14:59 pts/000:00:05
/usr/jdk1.5.0_17/bin/java
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=/usr/local/netomat/tomcat5.5.23/conf/log
ging.properties -Duser.timezone=America/New_York -server -Xms256M
-Xmx1280M -Djava.awt.headless=true
-Djava.endorsed.dirs=/usr/local/netomat/tomcat5.5.23/common/endorsed
-classpath
:/usr/local/netomat/tomcat5.5.23/bin/bootstrap.jar:/usr/local/netomat/to
mcat5.5.23/bin/commons-logging-api.jar
-Dcatalina.base=/usr/local/netomat/tomcat5.5.23
-Dcatalina.home=/usr/local/netomat/tomcat5.5.23
-Djava.io.tmpdir=/usr/local/netomat/tomcat5.5.23/temp
org.apache.catalina.startup.Bootstrap start
root  3737  3675  0 15:00 pts/000:00:00 grep tomcat


Paul Bourget
Isabella Products
 

-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
Sent: Thursday, August 26, 2010 2:33 PM
To: Tomcat Users List
Subject: Re: java.net.BindException: Address already in use

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul,

On 8/26/2010 2:19 PM, Paul Bourget wrote:
> Thanks for looking at this. Wouldn't the first instance have open
ports
> (indicated by netstat)?  Or some httpd tasks (ps -ef).

Yes, I would expect that. How are you launching Tomcat?

I'm wondering if you're somehow launching Tomcat twice at once. Then
again, one of them should succeed and the other should fail. Take the
suggestions from others to modify your 'netstat' invocation to avoid
showing service names instead of port numbers.

Chuck has a good point: your server.xml looks like it's got some really
old stuff in it. It's very possible that you've been dragging a
server.xml from previous Tomcat versions around with you.

Consider starting over with the server.xml that ships with Tomcat: just
modify the shutdown port, AJP connector port, disable the HTTP
connector, tweak the  settings, and re-enable your AccessLogValve.

It's unlikely to fix anything, but it will definitely clean things up.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkx2s08ACgkQ9CaO5/Lv0PBEpgCfTBKbtPqe2c+iDAOmoEaKLYJg
RDYAn3KdPkwWWH+cQIqQMl/cn+B8Qfre
=vFka
-END PGP SIGNATURE-

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


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



Re: java.net.BindException: Address already in use

2010-08-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul,

On 8/26/2010 2:19 PM, Paul Bourget wrote:
> Thanks for looking at this. Wouldn't the first instance have open ports
> (indicated by netstat)?  Or some httpd tasks (ps -ef).

Yes, I would expect that. How are you launching Tomcat?

I'm wondering if you're somehow launching Tomcat twice at once. Then
again, one of them should succeed and the other should fail. Take the
suggestions from others to modify your 'netstat' invocation to avoid
showing service names instead of port numbers.

Chuck has a good point: your server.xml looks like it's got some really
old stuff in it. It's very possible that you've been dragging a
server.xml from previous Tomcat versions around with you.

Consider starting over with the server.xml that ships with Tomcat: just
modify the shutdown port, AJP connector port, disable the HTTP
connector, tweak the  settings, and re-enable your AccessLogValve.

It's unlikely to fix anything, but it will definitely clean things up.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkx2s08ACgkQ9CaO5/Lv0PBEpgCfTBKbtPqe2c+iDAOmoEaKLYJg
RDYAn3KdPkwWWH+cQIqQMl/cn+B8Qfre
=vFka
-END PGP SIGNATURE-

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



RE: java.net.BindException: Address already in use

2010-08-26 Thread Caldarale, Charles R
From: Paul Bourget [mailto:paul.bour...@isabellaproducts.com] 
Subject: RE: java.net.BindException: Address already in use

Aug 24, 2010 1:51:42 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8606]:
java.net.BindException: Address already in use

That's pretty explicit evidence that 8606 is already in use.  What does netstat 
-ano show when this message appears but before you shut down Tomcat?

 - 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: java.net.BindException: Address already in use

2010-08-26 Thread Paul Bourget
Hi Chris,

Thanks for looking at this. Wouldn't the first instance have open ports
(indicated by netstat)?  Or some httpd tasks (ps -ef).

Here is the beginning of the log file.  If there are 2 tomcats running,
one of them is not writing to the log (from what I can tell).

[r...@localhost logs]# more catalina.2010-08-24.log
Aug 24, 2010 1:51:16 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 570 ms
Aug 24, 2010 1:51:16 PM org.apache.catalina.core.StandardService start
INFO: Starting service Tomcat-Standalone
Aug 24, 2010 1:51:16 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
Aug 24, 2010 1:51:16 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Aug 24, 2010 1:51:42 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8209 java.net.BindException: Address already in use
Aug 24, 2010 1:51:42 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8210
Aug 24, 2010 1:51:42 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=1 time=1/89  config=null
Aug 24, 2010 1:51:42 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 25506 ms
Aug 24, 2010 1:51:42 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8606]:
java.net.BindException: Address already in use

Paul Bourget
Isabella Products
 

-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
Sent: Thursday, August 26, 2010 1:53 PM
To: Tomcat Users List
Subject: Re: java.net.BindException: Address already in use

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul,

On 8/26/2010 1:30 PM, Paul Bourget wrote:
> Sorry, disregard the last email that file is from a different server
> (which is running fine).  Here is the file from the server that is not
> working.

Your configuration looks fine to me: only one  and the
shutdown port is distinct from that.

The only thing I can think of is that you are starting that same Tomcat
instance twice.

Perhaps you have more than one Tomcat instance configured with the same
ports?

If you've added a network interface, is it possible that Tomcat is
trying to bind to 0.0.0.0:8206 instead of 10.0.0.5:8206?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkx2qg4ACgkQ9CaO5/Lv0PCoHACdE/L4ccgNs0IoOnm+cdPi0Qei
23gAn3bpeCifaBMj/94IKP/hdvUi7HIt
=9Ss0
-END PGP SIGNATURE-

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


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



RE: java.net.BindException: Address already in use

2010-08-26 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
> Subject: Re: java.net.BindException: Address already in use

> Your configuration looks fine to me:

Not to me; it looks like it's been carried over from some ancient version of 
Tomcat.  There are numerous attributes (e.g., debug, minProcessors, 
maxProcessors) included that haven't been part of a valid configuration for 
many years.  There are also numerous  elements missing that are part 
of a standard Tomcat 5.5 configuration; not sure what happens when those are 
left out.

I'd suggest that the OP start with the 5.5 server.xml that ships with Tomcat, 
and modify that to suite the site needs, rather than carrying forward one from 
the dim, dark past.

 - 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.



Re: java.net.BindException: Address already in use

2010-08-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul,

On 8/26/2010 1:30 PM, Paul Bourget wrote:
> Sorry, disregard the last email that file is from a different server
> (which is running fine).  Here is the file from the server that is not
> working.

Your configuration looks fine to me: only one  and the
shutdown port is distinct from that.

The only thing I can think of is that you are starting that same Tomcat
instance twice.

Perhaps you have more than one Tomcat instance configured with the same
ports?

If you've added a network interface, is it possible that Tomcat is
trying to bind to 0.0.0.0:8206 instead of 10.0.0.5:8206?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkx2qg4ACgkQ9CaO5/Lv0PCoHACdE/L4ccgNs0IoOnm+cdPi0Qei
23gAn3bpeCifaBMj/94IKP/hdvUi7HIt
=9Ss0
-END PGP SIGNATURE-

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



RE: java.net.BindException: Address already in use

2010-08-26 Thread Paul Bourget
Sorry, disregard the last email that file is from a different server
(which is running fine).  Here is the file from the server that is not
working.

Paul Bourget
Isabella Products
 

-Original Message-
From: Pid [mailto:p...@pidster.com] 
Sent: Thursday, August 26, 2010 4:25 AM
To: Tomcat Users List
Subject: Re: java.net.BindException: Address already in use

On 25/08/2010 15:17, Paul Bourget wrote:
> I assumed that this indicates be a port conflict before I googled this
> problem.  Every solution I found said "find and resolve the port
> conflict".  I cannot find the conflict.
> 
>  
> 
>  
> 
> [r...@localhost logs]# netstat -a | grep 8209
> 
> [r...@localhost logs]#
> 
>  
> 
> [r...@localhost logs]# netstat -a | grep 8606
> 
> [r...@localhost logs]#
> 
>  
> 
> [r...@localhost logs]# ps -ef | egrep 'httpd | apache | tomcat |
> catalina'
> 
> root  3036 1  0 Aug24 ?00:00:00 Xvnc :5 -desktop
> localhost.localdomain:5 (root) -httpd /usr/share/vnc/classes -auth
> /root/.Xauthority -geometry 1024x768 -depth 16 -rfbwait 3 -rfbauth
> /root/.vnc/passwd -rfbport 5905 -pn
> 
>  
> 
>  
> 
> Here's the log output
> 

Please make a backup of your server.xml.
Remove all of the comments and any passwords from it.
Post it (inline) here.



  





  



  
  

  


p

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



RE: java.net.BindException: Address already in use

2010-08-26 Thread Paul Bourget
Server.xml inline below.  There is also a server.working.xml

Paul Bourget
Isabella Products
 

-Original Message-
From: Pid [mailto:p...@pidster.com] 
Sent: Thursday, August 26, 2010 4:25 AM
To: Tomcat Users List
Subject: Re: java.net.BindException: Address already in use

On 25/08/2010 15:17, Paul Bourget wrote:
> I assumed that this indicates be a port conflict before I googled this
> problem.  Every solution I found said "find and resolve the port
> conflict".  I cannot find the conflict.
> 
>  
> 
>  
> 
> [r...@localhost logs]# netstat -a | grep 8209
> 
> [r...@localhost logs]#
> 
>  
> 
> [r...@localhost logs]# netstat -a | grep 8606
> 
> [r...@localhost logs]#
> 
>  
> 
> [r...@localhost logs]# ps -ef | egrep 'httpd | apache | tomcat |
> catalina'
> 
> root  3036 1  0 Aug24 ?00:00:00 Xvnc :5 -desktop
> localhost.localdomain:5 (root) -httpd /usr/share/vnc/classes -auth
> /root/.Xauthority -geometry 1024x768 -depth 16 -rfbwait 3 -rfbauth
> /root/.vnc/passwd -rfbport 5905 -pn
> 
>  
> 
>  
> 
> Here's the log output
> 

Please make a backup of your server.xml.
Remove all of the comments and any passwords from it.
Post it (inline) here.



  







  



  
  

  


p

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



Re: java.net.BindException: Address already in use

2010-08-26 Thread Pid
On 25/08/2010 15:17, Paul Bourget wrote:
> I assumed that this indicates be a port conflict before I googled this
> problem.  Every solution I found said "find and resolve the port
> conflict".  I cannot find the conflict.
> 
>  
> 
>  
> 
> [r...@localhost logs]# netstat -a | grep 8209
> 
> [r...@localhost logs]#
> 
>  
> 
> [r...@localhost logs]# netstat -a | grep 8606
> 
> [r...@localhost logs]#
> 
>  
> 
> [r...@localhost logs]# ps -ef | egrep 'httpd | apache | tomcat |
> catalina'
> 
> root  3036 1  0 Aug24 ?00:00:00 Xvnc :5 -desktop
> localhost.localdomain:5 (root) -httpd /usr/share/vnc/classes -auth
> /root/.Xauthority -geometry 1024x768 -depth 16 -rfbwait 3 -rfbauth
> /root/.vnc/passwd -rfbport 5905 -pn
> 
>  
> 
>  
> 
> Here's the log output
> 

Please make a backup of your server.xml.
Remove all of the comments and any passwords from it.
Post it (inline) here.


p


0x62590808.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


RE: java.net.BindException: Address already in use

2010-08-25 Thread Paul Bourget
I just started working with Tomcat so I don't know what script is used
to start it other than Catalina.sh (the start section pasted below the
command output).

It used to work but stopped working recently.  I did add a network
interface and change the default gateway to point to the new interface.
It is probably not related but, I also had a power outage.

[r...@localhost logs]# netstat -an | grep 8209
[r...@localhost logs]# netstat -an | grep 8606

[r...@localhost conf]# grep 8209 server.xml


[r...@localhost conf]# grep 8606 server.xml


[r...@localhost conf]# dmesg | grep -i centos
Linux version 2.6.18-164.10.1.el5 (mockbu...@builder16.centos.org) (gcc
version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Thu Jan 7 20:00:41 EST
2010

[r...@localhost bin]# ./catalina.sh version
Using CATALINA_BASE:   /usr/local/netomat/tomcat
Using CATALINA_HOME:   /usr/local/netomat/tomcat
Using CATALINA_TMPDIR: /usr/local/netomat/tomcat/temp
Using JRE_HOME:   /usr/jdk1.5.0_17
Server version: Apache Tomcat/5.5.23
Server built:   Mar 5 2007 08:25:04
Server number:  5.5.23.0
OS Name:Linux
OS Version: 2.6.18-164.10.1.el5
Architecture:   i386
JVM Version:1.5.0_17-b04
JVM Vendor: Sun Microsystems Inc.
[r...@localhost bin]#


**From Catalina.sh
elif [ "$1" = "start" ] ; then

  shift
  touch "$CATALINA_BASE"/logs/catalina.out
  if [ "$1" = "-security" ] ; then
echo "Using Security Manager"
shift
"$_RUNJAVA" $JAVA_OPTS $CATALINA_OPTS \
  -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH"
\
  -Djava.security.manager \
  -Djava.security.policy=="$CATALINA_BASE"/conf/catalina.policy \
  -Dcatalina.base="$CATALINA_BASE" \
  -Dcatalina.home="$CATALINA_HOME" \
  -Djava.io.tmpdir="$CATALINA_TMPDIR" \
  org.apache.catalina.startup.Bootstrap "$@" start \
  >> "$CATALINA_BASE"/logs/catalina.out 2>&1 &

  if [ ! -z "$CATALINA_PID" ]; then
echo $! > $CATALINA_PID
  fi
  else
"$_RUNJAVA" $JAVA_OPTS $CATALINA_OPTS \
  -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH"
\
  -Dcatalina.base="$CATALINA_BASE" \
  -Dcatalina.home="$CATALINA_HOME" \
  -Djava.io.tmpdir="$CATALINA_TMPDIR" \
  org.apache.catalina.startup.Bootstrap "$@" start \
  >> "$CATALINA_BASE"/logs/catalina.out 2>&1 &

  if [ ! -z "$CATALINA_PID" ]; then
echo $! > $CATALINA_PID
  fi
  fi

** end of snippet











Paul Bourget
Isabella Products
 

-Original Message-
From: peter.crowth...@googlemail.com
[mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther
Sent: Wednesday, August 25, 2010 10:26 AM
To: Tomcat Users List
Subject: Re: java.net.BindException: Address already in use

Well, the ports you're requesting are or have recently been in use.

Try:
netstat -an | grep 8209
... just in case someone's given the service a name in /etc/services.
Also
just check that you've not got the same number in two places in
conf/server.xml, for example as the shutdown port.  Finally, check none
of
your scripts are trying to start two instances of the same Tomcat at the
same time - it has happened!

If it's none of those, come back to us.  If you could give us details
about
your environment (OS version, Tomcat version, Java version) we'd be more
likely to give help that's specific to you.  I can see Tomcat 5.5.23 in
the
logs (why so old, by the way?) but have no idea about the others.

Finally, what's that Socks socket doing at shutdown?

- Peter

On 25 August 2010 15:17, Paul Bourget
wrote:

> I assumed that this indicates be a port conflict before I googled this
> problem.  Every solution I found said "find and resolve the port
> conflict".  I cannot find the conflict.
>
>
>
>
>
> [r...@localhost logs]# netstat -a | grep 8209
>
> [r...@localhost logs]#
>
>
>
> [r...@localhost logs]# netstat -a | grep 8606
>
> [r...@localhost logs]#
>
>
>
> [r...@localhost logs]# ps -ef | egrep 'httpd | apache | tomcat |
> catalina'
>
> root  3036 1  0 Aug24 ?00:00:00 Xvnc :5 -desktop
> localhost.localdomain:5 (root) -httpd /usr/share/vnc/classes -auth
> /root/.Xauthority -geometry 1024x768 -depth 16 -rfbwait 3 -rfbauth
> /root/.vnc/passwd -rfbport 5905 -pn
>
>
>
>
>
> Here's the log output
>
>
>
> [r...@localhost logs]# more catalina.2010-08-24.log
>
> Aug 24, 2010 1:51:16 PM org.apache.catalina.startup.Catalina load
>
> INFO: Initialization processed in 570 ms
>
> Aug 24, 2010 1:51:16 PM org.apache.catalina.core.

Re: java.net.BindException: Address already in use

2010-08-25 Thread Peter Crowther
Well, the ports you're requesting are or have recently been in use.

Try:
netstat -an | grep 8209
... just in case someone's given the service a name in /etc/services.  Also
just check that you've not got the same number in two places in
conf/server.xml, for example as the shutdown port.  Finally, check none of
your scripts are trying to start two instances of the same Tomcat at the
same time - it has happened!

If it's none of those, come back to us.  If you could give us details about
your environment (OS version, Tomcat version, Java version) we'd be more
likely to give help that's specific to you.  I can see Tomcat 5.5.23 in the
logs (why so old, by the way?) but have no idea about the others.

Finally, what's that Socks socket doing at shutdown?

- Peter

On 25 August 2010 15:17, Paul Bourget wrote:

> I assumed that this indicates be a port conflict before I googled this
> problem.  Every solution I found said "find and resolve the port
> conflict".  I cannot find the conflict.
>
>
>
>
>
> [r...@localhost logs]# netstat -a | grep 8209
>
> [r...@localhost logs]#
>
>
>
> [r...@localhost logs]# netstat -a | grep 8606
>
> [r...@localhost logs]#
>
>
>
> [r...@localhost logs]# ps -ef | egrep 'httpd | apache | tomcat |
> catalina'
>
> root  3036 1  0 Aug24 ?00:00:00 Xvnc :5 -desktop
> localhost.localdomain:5 (root) -httpd /usr/share/vnc/classes -auth
> /root/.Xauthority -geometry 1024x768 -depth 16 -rfbwait 3 -rfbauth
> /root/.vnc/passwd -rfbport 5905 -pn
>
>
>
>
>
> Here's the log output
>
>
>
> [r...@localhost logs]# more catalina.2010-08-24.log
>
> Aug 24, 2010 1:51:16 PM org.apache.catalina.startup.Catalina load
>
> INFO: Initialization processed in 570 ms
>
> Aug 24, 2010 1:51:16 PM org.apache.catalina.core.StandardService start
>
> INFO: Starting service Tomcat-Standalone
>
> Aug 24, 2010 1:51:16 PM org.apache.catalina.core.StandardEngine start
>
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
>
> Aug 24, 2010 1:51:16 PM org.apache.catalina.core.StandardHost start
>
> INFO: XML validation disabled
>
> Aug 24, 2010 1:51:42 PM org.apache.jk.common.ChannelSocket init
>
> **
>
> INFO: Port busy 8209 java.net.BindException: Address already in use
>
> **
>
> Aug 24, 2010 1:51:42 PM org.apache.jk.common.ChannelSocket init
>
> INFO: JK: ajp13 listening on /0.0.0.0:8210
>
> Aug 24, 2010 1:51:42 PM org.apache.jk.server.JkMain start
>
> INFO: Jk running ID=1 time=1/89  config=null
>
> Aug 24, 2010 1:51:42 PM org.apache.catalina.startup.Catalina start
>
> INFO: Server startup in 25506 ms
>
> **
>
> Aug 24, 2010 1:51:42 PM org.apache.catalina.core.StandardServer await
>
> SEVERE: StandardServer.await: create[8606]:
>
> java.net.BindException: Address already in use
>
>at java.net.PlainSocketImpl.socketBind(Native Method)
>
>at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
>
>at java.net.ServerSocket.bind(ServerSocket.java:319)
>
>at java.net.ServerSocket.(ServerSocket.java:185)
>
>at
> org.apache.catalina.core.StandardServer.await(StandardServer.java:363)
>
>at org.apache.catalina.startup.Catalina.await(Catalina.java:616)
>
>at org.apache.catalina.startup.Catalina.start(Catalina.java:576)
>
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>
>at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>
>at java.lang.reflect.Method.invoke(Method.java:585)
>
>at
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
>
>at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
>
> Aug 24, 2010 1:51:43 PM org.apache.catalina.core.StandardService stop
>
> INFO: Stopping service Tomcat-Standalone
>
> Aug 24, 2010 2:29:02 PM org.apache.catalina.connector.Connector pause
>
> SEVERE: Protocol handler pause failed
>
> java.net.SocketException: Network is unreachable
>
>at java.net.PlainSocketImpl.socketConnect(Native Method)
>
>at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
>
>at
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
>
>at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
>
>at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
>
>at java.net.Socket.connect(Socket.java:520)
>
>at java.net.Socket.connect(Socket.java:470)
>
>at java.net.Socket.(Socket.java:367)
>
>
>
>
>
>
>
>
>
>
>
> Paul Bourget
>
> Director, Network Operations
>
> Isabella Products
>
> 9 Damonmill Square, Suite 4A
>
> Concord, MA 01742
>
> 978 287 0007 Ext 123
>
>
>
>


java.net.BindException: Address already in use

2010-08-25 Thread Paul Bourget
I assumed that this indicates be a port conflict before I googled this
problem.  Every solution I found said "find and resolve the port
conflict".  I cannot find the conflict.

 

 

[r...@localhost logs]# netstat -a | grep 8209

[r...@localhost logs]#

 

[r...@localhost logs]# netstat -a | grep 8606

[r...@localhost logs]#

 

[r...@localhost logs]# ps -ef | egrep 'httpd | apache | tomcat |
catalina'

root  3036 1  0 Aug24 ?00:00:00 Xvnc :5 -desktop
localhost.localdomain:5 (root) -httpd /usr/share/vnc/classes -auth
/root/.Xauthority -geometry 1024x768 -depth 16 -rfbwait 3 -rfbauth
/root/.vnc/passwd -rfbport 5905 -pn

 

 

Here's the log output

 

[r...@localhost logs]# more catalina.2010-08-24.log

Aug 24, 2010 1:51:16 PM org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 570 ms

Aug 24, 2010 1:51:16 PM org.apache.catalina.core.StandardService start

INFO: Starting service Tomcat-Standalone

Aug 24, 2010 1:51:16 PM org.apache.catalina.core.StandardEngine start

INFO: Starting Servlet Engine: Apache Tomcat/5.5.23

Aug 24, 2010 1:51:16 PM org.apache.catalina.core.StandardHost start

INFO: XML validation disabled

Aug 24, 2010 1:51:42 PM org.apache.jk.common.ChannelSocket init

**

INFO: Port busy 8209 java.net.BindException: Address already in use

**

Aug 24, 2010 1:51:42 PM org.apache.jk.common.ChannelSocket init

INFO: JK: ajp13 listening on /0.0.0.0:8210

Aug 24, 2010 1:51:42 PM org.apache.jk.server.JkMain start

INFO: Jk running ID=1 time=1/89  config=null

Aug 24, 2010 1:51:42 PM org.apache.catalina.startup.Catalina start

INFO: Server startup in 25506 ms

**

Aug 24, 2010 1:51:42 PM org.apache.catalina.core.StandardServer await

SEVERE: StandardServer.await: create[8606]:

java.net.BindException: Address already in use

at java.net.PlainSocketImpl.socketBind(Native Method)

at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)

at java.net.ServerSocket.bind(ServerSocket.java:319)

at java.net.ServerSocket.(ServerSocket.java:185)

at
org.apache.catalina.core.StandardServer.await(StandardServer.java:363)

at org.apache.catalina.startup.Catalina.await(Catalina.java:616)

at org.apache.catalina.startup.Catalina.start(Catalina.java:576)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)

at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)

Aug 24, 2010 1:51:43 PM org.apache.catalina.core.StandardService stop

INFO: Stopping service Tomcat-Standalone

Aug 24, 2010 2:29:02 PM org.apache.catalina.connector.Connector pause

SEVERE: Protocol handler pause failed

java.net.SocketException: Network is unreachable

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)

at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)

at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)

at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)

at java.net.Socket.connect(Socket.java:520)

at java.net.Socket.connect(Socket.java:470)

at java.net.Socket.(Socket.java:367)

 

 

 

 

 

Paul Bourget

Director, Network Operations

Isabella Products

9 Damonmill Square, Suite 4A

Concord, MA 01742

978 287 0007 Ext 123

 



Re: tomcat jmx and INFO: Port busy 8009 java.net.BindException: Address already in use

2008-05-27 Thread sudip shrestha
Thanks...

On 5/27/08, Filip Hanik - Dev Lists <[EMAIL PROTECTED]> wrote:
> you're not trying to configure a JMX connector, you're trying to
> configure an AJP connector as defined by
>
>  protocol="AJP/1.3" />
>
>
> Filip
> sudip shrestha wrote:
>> with tomcat 5.5.20 and mx4j-tools.jar at common/lib and the following
>> setting:
>> > handler.list="mx"
>> mx.enabled="true"
>> mx.httpHost="localhost"
>> mx.httpPort="8181"
>> protocol="AJP/1.3" />
>>
>> I get the following startup log:
>> INFO: Starting Coyote HTTP/1.1 on http-8080
>> May 27, 2008 2:23:40 PM org.apache.jk.common.ChannelSocket init
>> INFO: JK: ajp13 listening on /0.0.0.0:8009
>> May 27, 2008 2:23:40 PM org.apache.jk.server.JkMain start
>> INFO: Jk running ID=0 time=0/130  config=null
>> May 27, 2008 2:23:40 PM org.apache.jk.common.JkMX classExists
>> INFO: className [mx4j.adaptor.http.HttpAdaptor] does not exist
>> May 27, 2008 2:23:40 PM org.apache.jk.common.JkMX loadAdapter
>> INFO: Started MX4J console on host localhost at port 8181
>> HttpAdaptor version 3.0.2 started on port 8181
>> May 27, 2008 2:23:40 PM org.apache.jk.common.JkMX init
>> INFO: Registering the JMX hierarchy for Log4J
>> May 27, 2008 2:23:40 PM org.apache.jk.common.ChannelSocket init
>> INFO: Port busy 8009 java.net.BindException: Address already in use
>> May 27, 2008 2:23:40 PM org.apache.jk.common.ChannelSocket init
>> INFO: JK: ajp13 listening on /0.0.0.0:8010
>> May 27, 2008 2:23:40 PM org.apache.jk.server.JkMain start
>> INFO: Jk running ID=1 time=0/311  config=null
>> May 27, 2008 2:23:40 PM org.apache.catalina.storeconfig.StoreLoader load
>> INFO: Find registry server-registry.xml at classpath resource
>> May 27, 2008 2:23:41 PM org.apache.catalina.startup.Catalina start
>> INFO: Server startup in 24087 ms
>>
>> and If I remove the jmx connector from server.xml, this "INFO: Port
>> busy 8009 java.net.BindException: Address already in use" goes away.
>>
>> Thanks for the suggestion.
>>
>> -
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>
>
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat jmx and INFO: Port busy 8009 java.net.BindException: Address already in use

2008-05-27 Thread Filip Hanik - Dev Lists
you're not trying to configure a JMX connector, you're trying to 
configure an AJP connector as defined by





Filip
sudip shrestha wrote:

with tomcat 5.5.20 and mx4j-tools.jar at common/lib and the following setting:


I get the following startup log:
INFO: Starting Coyote HTTP/1.1 on http-8080
May 27, 2008 2:23:40 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
May 27, 2008 2:23:40 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/130  config=null
May 27, 2008 2:23:40 PM org.apache.jk.common.JkMX classExists
INFO: className [mx4j.adaptor.http.HttpAdaptor] does not exist
May 27, 2008 2:23:40 PM org.apache.jk.common.JkMX loadAdapter
INFO: Started MX4J console on host localhost at port 8181
HttpAdaptor version 3.0.2 started on port 8181
May 27, 2008 2:23:40 PM org.apache.jk.common.JkMX init
INFO: Registering the JMX hierarchy for Log4J
May 27, 2008 2:23:40 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8009 java.net.BindException: Address already in use
May 27, 2008 2:23:40 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8010
May 27, 2008 2:23:40 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=1 time=0/311  config=null
May 27, 2008 2:23:40 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
May 27, 2008 2:23:41 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 24087 ms

and If I remove the jmx connector from server.xml, this "INFO: Port
busy 8009 java.net.BindException: Address already in use" goes away.

Thanks for the suggestion.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



tomcat jmx and INFO: Port busy 8009 java.net.BindException: Address already in use

2008-05-27 Thread sudip shrestha
with tomcat 5.5.20 and mx4j-tools.jar at common/lib and the following setting:


I get the following startup log:
INFO: Starting Coyote HTTP/1.1 on http-8080
May 27, 2008 2:23:40 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
May 27, 2008 2:23:40 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/130  config=null
May 27, 2008 2:23:40 PM org.apache.jk.common.JkMX classExists
INFO: className [mx4j.adaptor.http.HttpAdaptor] does not exist
May 27, 2008 2:23:40 PM org.apache.jk.common.JkMX loadAdapter
INFO: Started MX4J console on host localhost at port 8181
HttpAdaptor version 3.0.2 started on port 8181
May 27, 2008 2:23:40 PM org.apache.jk.common.JkMX init
INFO: Registering the JMX hierarchy for Log4J
May 27, 2008 2:23:40 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8009 java.net.BindException: Address already in use
May 27, 2008 2:23:40 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8010
May 27, 2008 2:23:40 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=1 time=0/311  config=null
May 27, 2008 2:23:40 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
May 27, 2008 2:23:41 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 24087 ms

and If I remove the jmx connector from server.xml, this "INFO: Port
busy 8009 java.net.BindException: Address already in use" goes away.

Thanks for the suggestion.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: java.net.BindException: Address already in use

2007-08-12 Thread David Smith
Most linux systems (probably *nix in general) store the pid in a file 
named after the service  in /var/run.  Your restart script could pick up 
that pid and then loop through checking for it's existance about once a 
second until it's gone before continuing with a new startup.  That at 
least is dynamic enough to accommodate long and short shutdown times.  
Keep track of the wait and if it takes too long, log an error.


--David

Manivannan Palanichamy wrote:

On 8/11/07, Susan Richards <[EMAIL PROTECTED]> wrote:
  

First, I just want to say that I sure appreciate all the help I am getting
on this list and I don't deserve to even associate with highly intelligent
beings such as yourselves.

We shutdown and restart our tomcat 5.5.23 server nightly.  Initially, a
maintenance page for system backup gets copied and then it gets bounced with
the shutdown.sh and startup.sh scripts.  Since we upgraded last Friday,
it's not always starting up.  I see this message in the log:

SEVERE: Error initializing endpoint
java.net.BindException: Address already in use (errno:226):80

I've checked server.xml and I only have one connector using this
port.  Perhaps all the connections are not getting terminated when it shuts
down?  How do I fix this problem?  How do I figure out what is the cause?




Sometimes, I too faced this prob. I did a work around. Just grep for the
tomcat process id. some thing like,
ps -ax | grep 'endorsed'  //an ugly grep to fetch tomcat process
as you have got the process id now, kill the tomcat as,
kill -9 [pid]

Now start the tomcat.
[also, make sure, you are not running a webserver already on port 80. if you
are running any oracle server, probably it might be starting a apache
webserver on 80, pl check]
  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: java.net.BindException: Address already in use

2007-08-12 Thread Manivannan Palanichamy
On 8/11/07, Susan Richards <[EMAIL PROTECTED]> wrote:
>
> First, I just want to say that I sure appreciate all the help I am getting
> on this list and I don't deserve to even associate with highly intelligent
> beings such as yourselves.
>
> We shutdown and restart our tomcat 5.5.23 server nightly.  Initially, a
> maintenance page for system backup gets copied and then it gets bounced with
> the shutdown.sh and startup.sh scripts.  Since we upgraded last Friday,
> it's not always starting up.  I see this message in the log:
>
> SEVERE: Error initializing endpoint
> java.net.BindException: Address already in use (errno:226):80
>
> I've checked server.xml and I only have one connector using this
> port.  Perhaps all the connections are not getting terminated when it shuts
> down?  How do I fix this problem?  How do I figure out what is the cause?
>

Sometimes, I too faced this prob. I did a work around. Just grep for the
tomcat process id. some thing like,
ps -ax | grep 'endorsed'  //an ugly grep to fetch tomcat process
as you have got the process id now, kill the tomcat as,
kill -9 [pid]

Now start the tomcat.
[also, make sure, you are not running a webserver already on port 80. if you
are running any oracle server, probably it might be starting a apache
webserver on 80, pl check]
-- 
Manivannan.Palanichamy (@) Oracle.com
http://mani.gw.googlepages.com/index.html


Re: java.net.BindException: Address already in use

2007-08-10 Thread Susan Richards
>Just out of curiosity, why do you bounce Tomcat every night?
We backup our database that the web application interfaces with.  We stop our 
listener after we bounce it and put a maintenance page out.  Our application 
gives a 'System Error Detected' to the user if we don't do things in the right 
order.  I suppose I could just copy the maintenance page and not bounce it
 
I did have a delay, but then we switched scripts for a different problem.  I 
will try going back to the old script now because that problem is resolved.  I 
hope.  Thanks.

>>> Christopher Schultz <[EMAIL PROTECTED]> 8/10/2007 3:41 PM >>>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Susan,

Susan Richards wrote:
> First, I just want to say that I sure appreciate all the help I am
> getting on this list and I don't deserve to even associate with
> highly intelligent beings such as yourselves.

Seriously, don't say that. :(

> We shutdown and restart our tomcat 5.5.23 server nightly.  Initially,
> a maintenance page for system backup gets copied and then it gets
> bounced with the shutdown.sh and startup.sh scripts.  Since we
> upgraded last Friday, it's not always starting up.  I see this
> message in the log:
> 
> SEVERE: Error initializing endpoint java.net.BindException: Address
> already in use (errno:226):80

Don't forget that shutdown.sh only sends a shutdown notification to
Tomcat -- it doesn't wait for the shutdown to complete before the script
ends. So, you can't just do "shutdown.sh" followed by "startup.sh" and
expect a clean server bounce.

The quick fix is to introduce some delay between the shutdown and
startup. The problem is, it might not take a predictable amount of time
to shutdown, so you can't just guess at 5 seconds and leave it at that.

The best thing to do would be to watch catalina.out for the "shutdown"
message that Tomcat emits as it goes down, and /then/ call startup.sh.
Honestly, if you're already comfortable bouncing Tomcat every night, you
can probably just introduce an arbitrary delay between invoking scripts
and be fine.

Just out of curiosity, why do you bounce Tomcat every night?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ( 
http://enigmail.mozdev.org/ )

iD8DBQFGvM1+9CaO5/Lv0PARAkNmAJ41+SQAwk3qhjVWGUn1ePWWnRhV4wCcDsbT
ZA3mjT3gTNF+DhDJPyjm4aM=
=7tQ6
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org 
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 



Re: java.net.BindException: Address already in use

2007-08-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Susan,

Susan Richards wrote:
> First, I just want to say that I sure appreciate all the help I am
> getting on this list and I don't deserve to even associate with
> highly intelligent beings such as yourselves.

Seriously, don't say that. :(

> We shutdown and restart our tomcat 5.5.23 server nightly.  Initially,
> a maintenance page for system backup gets copied and then it gets
> bounced with the shutdown.sh and startup.sh scripts.  Since we
> upgraded last Friday, it's not always starting up.  I see this
> message in the log:
> 
> SEVERE: Error initializing endpoint java.net.BindException: Address
> already in use (errno:226):80

Don't forget that shutdown.sh only sends a shutdown notification to
Tomcat -- it doesn't wait for the shutdown to complete before the script
ends. So, you can't just do "shutdown.sh" followed by "startup.sh" and
expect a clean server bounce.

The quick fix is to introduce some delay between the shutdown and
startup. The problem is, it might not take a predictable amount of time
to shutdown, so you can't just guess at 5 seconds and leave it at that.

The best thing to do would be to watch catalina.out for the "shutdown"
message that Tomcat emits as it goes down, and /then/ call startup.sh.
Honestly, if you're already comfortable bouncing Tomcat every night, you
can probably just introduce an arbitrary delay between invoking scripts
and be fine.

Just out of curiosity, why do you bounce Tomcat every night?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGvM1+9CaO5/Lv0PARAkNmAJ41+SQAwk3qhjVWGUn1ePWWnRhV4wCcDsbT
ZA3mjT3gTNF+DhDJPyjm4aM=
=7tQ6
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: java.net.BindException: Address already in use

2007-08-10 Thread Susan Richards
It's at port 80 & 443.  We don't have any iptables setup to reroute users from 
80 to 8080.  I asked our unix guy and he didn't want to do it.

>>> "Propes, Barry L " <[EMAIL PROTECTED]> 8/10/2007 3:35 PM >>>
are you using TC at port 80 or port 8080? Can you switch it to 8080 in your xml 
file?

-Original Message-
From: Susan Richards [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 10, 2007 3:28 PM
To: users@tomcat.apache.org 
Subject: java.net.BindException: Address already in use


First, I just want to say that I sure appreciate all the help I am getting on 
this list and I don't deserve to even associate with highly intelligent beings 
such as yourselves.

We shutdown and restart our tomcat 5.5.23 server nightly.  Initially, a 
maintenance page for system backup gets copied and then it gets bounced with 
the shutdown.sh and startup.sh scripts.  Since we upgraded last Friday, it's 
not always starting up.  I see this message in the log:

SEVERE: Error initializing endpoint
java.net.BindException: Address already in use (errno:226):80

I've checked server.xml and I only have one connector using this port.  Perhaps 
all the connections are not getting terminated when it shuts down?  How do I 
fix this problem?  How do I figure out what is the cause?

-
To start a new topic, e-mail: users@tomcat.apache.org 
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 



RE: java.net.BindException: Address already in use

2007-08-10 Thread Propes, Barry L
are you using TC at port 80 or port 8080? Can you switch it to 8080 in your xml 
file?

-Original Message-
From: Susan Richards [mailto:[EMAIL PROTECTED]
Sent: Friday, August 10, 2007 3:28 PM
To: users@tomcat.apache.org
Subject: java.net.BindException: Address already in use


First, I just want to say that I sure appreciate all the help I am getting on 
this list and I don't deserve to even associate with highly intelligent beings 
such as yourselves.
 
We shutdown and restart our tomcat 5.5.23 server nightly.  Initially, a 
maintenance page for system backup gets copied and then it gets bounced with 
the shutdown.sh and startup.sh scripts.  Since we upgraded last Friday, it's 
not always starting up.  I see this message in the log:
 
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use (errno:226):80
 
I've checked server.xml and I only have one connector using this port.  Perhaps 
all the connections are not getting terminated when it shuts down?  How do I 
fix this problem?  How do I figure out what is the cause?

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: java.net.BindException: Address already in use

2007-08-10 Thread Propes, Barry L
that's ok -- I'm on here! : )

-Original Message-
From: Susan Richards [mailto:[EMAIL PROTECTED]
Sent: Friday, August 10, 2007 3:28 PM
To: users@tomcat.apache.org
Subject: java.net.BindException: Address already in use


First, I just want to say that I sure appreciate all the help I am getting on 
this list and I don't deserve to even associate with highly intelligent beings 
such as yourselves.
 

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



java.net.BindException: Address already in use

2007-08-10 Thread Susan Richards
First, I just want to say that I sure appreciate all the help I am getting on 
this list and I don't deserve to even associate with highly intelligent beings 
such as yourselves.
 
We shutdown and restart our tomcat 5.5.23 server nightly.  Initially, a 
maintenance page for system backup gets copied and then it gets bounced with 
the shutdown.sh and startup.sh scripts.  Since we upgraded last Friday, it's 
not always starting up.  I see this message in the log:
 
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use (errno:226):80
 
I've checked server.xml and I only have one connector using this port.  Perhaps 
all the connections are not getting terminated when it shuts down?  How do I 
fix this problem?  How do I figure out what is the cause?


Re: java.net.BindException: Address already in use

2007-06-29 Thread Bruno Vilardo

Hello Everyone!!!

Thanks for the response TIM..

I guess we found what was going on..

THere was another person working with Tomcat and he was restarting Tomcat at
the same time I was shutdown it.

So after I called this person, we were able to startup Tomcat Successfully.

Thanks everyone.

Bruno


On 6/29/07, Tim Funk <[EMAIL PROTECTED]> wrote:


1) You kill tomcat. kill -9
2) Then figure out why tomcat is still running (kill -3 to create a
stack trace)

In reality - you want to get the stacktrace before you run the kill -9

-Tim

Bruno Vilardo wrote:
> Hello All,
>
> Linux 2.6.9-55.ELsmp
> tomcat.version=5.5.9
> java version = 1.5
>
> We have an application that uses Tomcat and Java (Sorry I am newbie to
this
> topic).
>
> This morning our Tomcat server stopped and When we try to startup, it
says
> it is started but I can not connect to the Tomcat Admin Page nor the
> Manager
> page.
> I tried to stop it again, but then when I check the process, using "ps
> -ef|grep tomcat" the process still there.
>
> I found some messages that perhaps is causing this issue. Please see
below:
>
> java.net.BindException: Address already in use
>at java.net.PlainSocketImpl.socketBind(Native Method)
>at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
>at java.net.ServerSocket.bind(ServerSocket.java:319)
>at java.net.ServerSocket.(ServerSocket.java:185)
>at org.apache.catalina.core.StandardServer.await(
StandardServer.java
> :346)
>at org.apache.catalina.startup.Catalina.await(Catalina.java:600)
>at org.apache.catalina.startup.Catalina.start(Catalina.java:560)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
>at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
>at java.lang.reflect.Method.invoke(Method.java:585)
>at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java
:271)
>at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Bruno Vilardo
MFG/Pro Admin & Database Specialist
QAD Brazil
Office - 55 11 3529-2700
Mobile - 55 11 -8869
[EMAIL PROTECTED]


Re: java.net.BindException: Address already in use

2007-06-29 Thread Tim Funk

1) You kill tomcat. kill -9
2) Then figure out why tomcat is still running (kill -3 to create a 
stack trace)


In reality - you want to get the stacktrace before you run the kill -9

-Tim

Bruno Vilardo wrote:

Hello All,

Linux 2.6.9-55.ELsmp
tomcat.version=5.5.9
java version = 1.5

We have an application that uses Tomcat and Java (Sorry I am newbie to this
topic).

This morning our Tomcat server stopped and When we try to startup, it says
it is started but I can not connect to the Tomcat Admin Page nor the 
Manager

page.
I tried to stop it again, but then when I check the process, using "ps
-ef|grep tomcat" the process still there.

I found some messages that perhaps is causing this issue. Please see below:

java.net.BindException: Address already in use
   at java.net.PlainSocketImpl.socketBind(Native Method)
   at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
   at java.net.ServerSocket.bind(ServerSocket.java:319)
   at java.net.ServerSocket.(ServerSocket.java:185)
   at org.apache.catalina.core.StandardServer.await(StandardServer.java
:346)
   at org.apache.catalina.startup.Catalina.await(Catalina.java:600)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:560)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



java.net.BindException: Address already in use

2007-06-29 Thread Bruno Vilardo

Hello All,

Linux 2.6.9-55.ELsmp
tomcat.version=5.5.9
java version = 1.5

We have an application that uses Tomcat and Java (Sorry I am newbie to this
topic).

This morning our Tomcat server stopped and When we try to startup, it says
it is started but I can not connect to the Tomcat Admin Page nor the Manager
page.
I tried to stop it again, but then when I check the process, using "ps
-ef|grep tomcat" the process still there.

I found some messages that perhaps is causing this issue. Please see below:

java.net.BindException: Address already in use
   at java.net.PlainSocketImpl.socketBind(Native Method)
   at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
   at java.net.ServerSocket.bind(ServerSocket.java:319)
   at java.net.ServerSocket.(ServerSocket.java:185)
   at org.apache.catalina.core.StandardServer.await(StandardServer.java
:346)
   at org.apache.catalina.startup.Catalina.await(Catalina.java:600)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:560)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Jun 29, 2007 12:35:52 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Jun 29, 2007 12:35:52 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8443
Jun 29, 2007 12:35:53 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Jun 29, 2007 12:35:57 PM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Class-Path
Jun 29, 2007 12:35:57 PM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Class-Path
Jun 29, 2007 12:35:57 PM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Class-Path
Jun 29, 2007 12:35:57 PM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Class-Path
Jun 29, 2007 12:35:57 PM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Class-Path
Jun 29, 2007 12:35:57 PM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Class-Path
Jun 29, 2007 12:35:57 PM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Class-Path
Jun 29, 2007 12:36:28 PM org.apache.catalina.connector.MapperListenerdestroy
WARNING: Error unregistering MBeanServerDelegate
java.lang.NullPointerException
   at org.apache.catalina.connector.MapperListener.destroy(
MapperListener.java:161)
   at org.apache.catalina.connector.Connector.stop(Connector.java:1044)
   at org.apache.catalina.core.StandardService.stop(
StandardService.java:521)
   at org.apache.catalina.core.StandardServer.stop(StandardServer.java
:717)
   at org.apache.catalina.startup.Catalina.stop(Catalina.java:586)
   at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(
Catalina.java:629)
Jun 29, 2007 12:36:28 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Jun 29, 2007 12:36:28 PM org.apache.catalina.connector.Connector stop
SEVERE: Coyote connector has not been started

Does anybody knows how can I solve this issue in order to startup our Tomcat
WebServer again??

TIA,

Bruno


Re: java.net.BindException: Address already in use: JVM_Bind:xxxx

2007-06-27 Thread Kirst Martin Wolfgang
Hi,

[... consecutively restart tomcat ...]
> The only two solutions I found were:
> 1) wait some time the try again...
> 2) change ecah time the port

In my ears it looks like you do not "unbind" the port.
I know, ist typical for Windows, when you kill a process,
which uses a port in an unclean way, than windows will block
this port for ~30 to 60 seconds. Only after this time,
anyone is able to bind to this port again.

I only can suggest two things:
 - check, that when you .stop() tomcat the port is cleanly unbind/closed
 - when you bind a socket you can set an option like "SO_REUSEADDR",
   but this is more like a bad hack.
   With this option set, multiple sockets can be opened and if your
   process is the only one, all  goes fine.
   Sorry, I don't know where to set this option in java.

Greetings 
 Martin

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



java.net.BindException: Address already in use: JVM_Bind:xxxx

2007-06-27 Thread Raffaele

Hi all,

I know there are other threads about this problem, but no one ever said the
solution!
I hope to find more accurate help because this problem is very tedious.

In particular, I have the exception (see the end of post) when I start
consecutively tomcat Embedded, for example:
- start tomcat embedded
- do some test
- close tomcat embedded calling Embedded.stop() as suggested in all articles
found on the net.
- start again tomcat embedded --> Exception

The only two solutions I found were:
1) wait some time the try again...
2) change ecah time the port

Don't tell me please to see if that port is already used by other
processesThe problem exists with all ports I try and no one process uses
the same port as tomcat.

Thanks in advance,
Best regards.
Raffaele

Exception in thread "main" java.lang.RuntimeException: LifecycleException: 
Protocol handler initialization failed: java.net.BindException: Address
already in use: JVM_Bind:8080
at webrainbow.services.WebService.(WebService.java:93)
at
webrainbow.services.WebServiceMainTest.(WebServiceMainTest.java:25)
at 
webrainbow.services.WebServiceMainTest.main(WebServiceMainTest.java:37)
Caused by: LifecycleException:  Protocol handler initialization failed:
java.net.BindException: Address already in use: JVM_Bind:8080
at 
org.apache.catalina.connector.Connector.initialize(Connector.java:1019)
at org.apache.catalina.startup.Embedded.start(Embedded.java:827)
at webrainbow.services.WebService.startTomcat(WebService.java:210)
at webrainbow.services.WebService.(WebService.java:91)
... 2 more
-- 
View this message in context: 
http://www.nabble.com/java.net.BindException%3A-Address-already-in-use%3A-JVM_Bind%3A-tf3987312.html#a11321503
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: java.net.BindException: Address already in use: JVM_Bind:8090

2007-04-05 Thread Venky Vasant
go to your task manager and see if a java process still running 
if it is kill it before you restart

Venkat


- Original Message 
From: mallika guliani <[EMAIL PROTECTED]>
To: tomcat-user@jakarta.apache.org
Sent: Thursday, April 5, 2007 11:18:20 AM
Subject: java.net.BindException: Address already in use: JVM_Bind:8090


I configured Tomcat/5.0.28 in MyEclipse 5.1 but unable to run the server to 
test some examples. I changed default 8080 port in server.xml, which was also 
giving same error. 
  These are the lines that I changed:
   
  
  
   
  But it keeps giving the same error:
   
  org.apache.coyote.http11.Http11Protocol init
  SEVERE: Error initializing endpoint
  java.net.BindException: Address already in use: JVM_Bind:8090
   
  SEVERE: Error starting endpoint
  java.net.BindException: Address already in use: JVM_Bind:8090
   
  StandardServer.await: create[8015]: java.net.BindException: Address already 
in use: JVM_Bind
   
  All the forums say change port in Server.xml which hasn't resolved the 
problem.
   
  Please advice.
   
  Thank You.


-
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.


 

8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news

Re: java.net.BindException: Address already in use: JVM_Bind:8090

2007-04-05 Thread mallika guliani
David, it works now. I had to change port to 8090 in one more place:
  

>Need Mail bonding?
>>Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
>>
>>
>> 
>>
>
>
>-
>To start a new topic, e-mail: users@tomcat.apache.org
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> 
>-
>Be a PS3 game guru.
>Get your game face on with the latest PS3 news and previews at Yahoo! Games.
> 
>


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



 
-
8:00? 8:25? 8:40?  Find a flick in no time
 with theYahoo! Search movie showtime shortcut.

Re: java.net.BindException: Address already in use: JVM_Bind:8090

2007-04-05 Thread David Smith

Hmmm... wierd.  I can only guess at what might be happening:

1. You have two connectors configured in tomcat on the same port.  The 
first will succeed, the second will fail.


2. There's a double launch of tomcat.  The first succeeds, the second fails.

3. I've seen your posts mention JBoss, Tomcat, and MyEclipse so it's 
also possible two or more of those are configured to the same port.  If 
that were the case, they would have to be launching together to 
simultaneously go from no one using 8090 to two attempts at 8090.


Could you provide some detail regarding your setup?

--David

mallika guliani wrote:


Thanks David. tcpview is a great utility. After stopping Tomcat, I saved the 
list of ports occupied but there is no 8080 and 8090 in the list. When I 
started Tomcat, tcpview started showing 8090, 8015 and 8009 in the list. Any 
idea what to do next?
  
 Thanks,

 Mallika

David Smith <[EMAIL PROTECTED]> wrote:
 On a linux system, netstat should help you figure out which ports are in 
use already. I use this on my Mandriva linux systems:


netstat -tlnp

On Windows systems, tcpview should help figure out what ports are 
occupied. It was hosted on the SysInternals website, but Microsoft 
acquired it, so now it's on the Microsoft site:


http://www.microsoft.com/technet/sysinternals/Networking/TcpView.mspx

--David

mallika guliani wrote:

 

I configured Tomcat/5.0.28 in MyEclipse 5.1 but unable to run the server to test some examples. I changed default 8080 port in server.xml, which was also giving same error. 
These are the lines that I changed:





But it keeps giving the same error:

org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use: JVM_Bind:8090

SEVERE: Error starting endpoint
java.net.BindException: Address already in use: JVM_Bind:8090

StandardServer.await: create[8015]: java.net.BindException: Address already in 
use: JVM_Bind

All the forums say change port in Server.xml which hasn't resolved the problem.

Please advice.

Thank You.


-
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.


   




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
 




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: java.net.BindException: Address already in use: JVM_Bind:8090

2007-04-05 Thread mallika guliani
When I start JBoss, tcpview shows 8080 being used. But I have in 8090 in 
Server.xml  which starts showing in tcpview when I start Tomcat.

"Alvarez, Mike" <[EMAIL PROTECTED]> wrote:  Have you verified that something 
other than tomcat is not using that
port?

Shut down tomcat and then telnet to that port (e.g. telnet [hostname]
[port#] Example: telnet localhost 8080) 

-Original Message-
From: mallika guliani [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 05, 2007 11:18 AM
To: tomcat-user@jakarta.apache.org
Subject: java.net.BindException: Address already in use: JVM_Bind:8090

I configured Tomcat/5.0.28 in MyEclipse 5.1 but unable to run the server
to test some examples. I changed default 8080 port in server.xml, which
was also giving same error. 
These are the lines that I changed:




But it keeps giving the same error:

org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.net.BindException: Address already in use: JVM_Bind:8090

SEVERE: Error starting endpoint
java.net.BindException: Address already in use: JVM_Bind:8090

StandardServer.await: create[8015]: java.net.BindException: Address
already in use: JVM_Bind

All the forums say change port in Server.xml which hasn't resolved the
problem.

Please advice.

Thank You.


-
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



 
-
8:00? 8:25? 8:40?  Find a flick in no time
 with theYahoo! Search movie showtime shortcut.

Re: java.net.BindException: Address already in use: JVM_Bind:8090

2007-04-05 Thread mallika guliani
Thanks David. tcpview is a great utility. After stopping Tomcat, I saved the 
list of ports occupied but there is no 8080 and 8090 in the list. When I 
started Tomcat, tcpview started showing 8090, 8015 and 8009 in the list. Any 
idea what to do next?
   
  Thanks,
  Mallika

David Smith <[EMAIL PROTECTED]> wrote:
  On a linux system, netstat should help you figure out which ports are in 
use already. I use this on my Mandriva linux systems:

netstat -tlnp

On Windows systems, tcpview should help figure out what ports are 
occupied. It was hosted on the SysInternals website, but Microsoft 
acquired it, so now it's on the Microsoft site:

http://www.microsoft.com/technet/sysinternals/Networking/TcpView.mspx

--David

mallika guliani wrote:

>I configured Tomcat/5.0.28 in MyEclipse 5.1 but unable to run the server to 
>test some examples. I changed default 8080 port in server.xml, which was also 
>giving same error. 
> These are the lines that I changed:
> 
> 
> 
> 
> But it keeps giving the same error:
> 
> org.apache.coyote.http11.Http11Protocol init
> SEVERE: Error initializing endpoint
> java.net.BindException: Address already in use: JVM_Bind:8090
> 
> SEVERE: Error starting endpoint
> java.net.BindException: Address already in use: JVM_Bind:8090
> 
> StandardServer.await: create[8015]: java.net.BindException: Address already 
> in use: JVM_Bind
> 
> All the forums say change port in Server.xml which hasn't resolved the 
> problem.
> 
> Please advice.
> 
> Thank You.
>
> 
>-
>Need Mail bonding?
>Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
> 
>


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



 
-
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.

Re: java.net.BindException: Address already in use: JVM_Bind:8090

2007-04-05 Thread David Smith
On a linux system, netstat should help you figure out which ports are in 
use already.  I use this on my Mandriva linux systems:


netstat -tlnp

On Windows systems, tcpview should help figure out what ports are 
occupied.  It was hosted on the SysInternals website, but Microsoft 
acquired it, so now it's on the Microsoft site:


http://www.microsoft.com/technet/sysinternals/Networking/TcpView.mspx

--David

mallika guliani wrote:

I configured Tomcat/5.0.28 in MyEclipse 5.1 but unable to run the server to test some examples. I changed default 8080 port in server.xml, which was also giving same error. 
 These are the lines that I changed:
  
 

 
  
 But it keeps giving the same error:
  
 org.apache.coyote.http11.Http11Protocol init

 SEVERE: Error initializing endpoint
 java.net.BindException: Address already in use: JVM_Bind:8090
  
 SEVERE: Error starting endpoint

 java.net.BindException: Address already in use: JVM_Bind:8090
  
 StandardServer.await: create[8015]: java.net.BindException: Address already in use: JVM_Bind
  
 All the forums say change port in Server.xml which hasn't resolved the problem.
  
 Please advice.
  
 Thank You.



-
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
 




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: java.net.BindException: Address already in use: JVM_Bind:8090

2007-04-05 Thread Propes, Barry L
are you running another JVM simultaneously?

-Original Message-
From: mallika guliani [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 05, 2007 11:18 AM
To: tomcat-user@jakarta.apache.org
Subject: java.net.BindException: Address already in use: JVM_Bind:8090


I configured Tomcat/5.0.28 in MyEclipse 5.1 but unable to run the server to 
test some examples. I changed default 8080 port in server.xml, which was also 
giving same error. 
  These are the lines that I changed:
   
  
  
   
  But it keeps giving the same error:
   
  org.apache.coyote.http11.Http11Protocol init
  SEVERE: Error initializing endpoint
  java.net.BindException: Address already in use: JVM_Bind:8090
   
  SEVERE: Error starting endpoint
  java.net.BindException: Address already in use: JVM_Bind:8090
   
  StandardServer.await: create[8015]: java.net.BindException: Address already 
in use: JVM_Bind
   
  All the forums say change port in Server.xml which hasn't resolved the 
problem.
   
  Please advice.
   
  Thank You.

 
-
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: java.net.BindException: Address already in use: JVM_Bind:8090

2007-04-05 Thread Alvarez, Mike
Have you verified that something other than tomcat is not using that
port?

Shut down tomcat and then telnet to that port (e.g. telnet [hostname]
[port#] Example: telnet localhost 8080) 

-Original Message-
From: mallika guliani [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 05, 2007 11:18 AM
To: tomcat-user@jakarta.apache.org
Subject: java.net.BindException: Address already in use: JVM_Bind:8090

I configured Tomcat/5.0.28 in MyEclipse 5.1 but unable to run the server
to test some examples. I changed default 8080 port in server.xml, which
was also giving same error. 
  These are the lines that I changed:
   
  
  
   
  But it keeps giving the same error:
   
  org.apache.coyote.http11.Http11Protocol init
  SEVERE: Error initializing endpoint
  java.net.BindException: Address already in use: JVM_Bind:8090
   
  SEVERE: Error starting endpoint
  java.net.BindException: Address already in use: JVM_Bind:8090
   
  StandardServer.await: create[8015]: java.net.BindException: Address
already in use: JVM_Bind
   
  All the forums say change port in Server.xml which hasn't resolved the
problem.
   
  Please advice.
   
  Thank You.

 
-
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



java.net.BindException: Address already in use: JVM_Bind:8090

2007-04-05 Thread mallika guliani
I configured Tomcat/5.0.28 in MyEclipse 5.1 but unable to run the server to 
test some examples. I changed default 8080 port in server.xml, which was also 
giving same error. 
  These are the lines that I changed:
   
  
  
   
  But it keeps giving the same error:
   
  org.apache.coyote.http11.Http11Protocol init
  SEVERE: Error initializing endpoint
  java.net.BindException: Address already in use: JVM_Bind:8090
   
  SEVERE: Error starting endpoint
  java.net.BindException: Address already in use: JVM_Bind:8090
   
  StandardServer.await: create[8015]: java.net.BindException: Address already 
in use: JVM_Bind
   
  All the forums say change port in Server.xml which hasn't resolved the 
problem.
   
  Please advice.
   
  Thank You.

 
-
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.