Chris,

Great. Wasn't a home run, but at least I didn't strike out.

Doug


----- Original Message ----- From: "Chris Stratton" <[EMAIL PROTECTED]>
To: "Parsons Technical Services" <[EMAIL PROTECTED]>
Cc: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Sunday, December 05, 2004 12:54 PM
Subject: Re: Tomcat 5.0.27-r4 java.net.BindException



Doug,
You did it! You put me on the track. It was the local loopback. I had
lost the local loopback somehow in upgrading the kernel etc. Got the
config files straightened out and restarted the service viola!


On Sat, 4 Dec 2004 22:51:04 -0500, Parsons Technical Services <[EMAIL PROTECTED]> wrote:
Just did some testing on my box. You get a different exception if the port
is already in use.


Do you have Tomcat configured to only listen on certain IP(s) rather than
all addresses. If so check that you don't have a typo and are trying to
request an IP not on the box.



Doug

----- Original Message -----
From: "Chris Stratton" <[EMAIL PROTECTED]>
To: "Parsons Technical Services" <[EMAIL PROTECTED]>
Cc: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Saturday, December 04, 2004 10:25 PM
Subject: Re: Tomcat 5.0.27-r4 java.net.BindException

> It is not. All tomcat shuts down.
> If I do a ps -ef after it gives me that error is shows all tomcat
> threads have shutdown.
> A netstat -a shows 8005 port not in use and no 8080 port in use.
>
> I am really stumped. I had a problem once like this and was able to
> correct it by deleting the work directory. That was a long time ago
> though ... like years.
>
>
> On Sat, 4 Dec 2004 22:00:13 -0500, Parsons Technical Services
> <[EMAIL PROTECTED]> wrote:
>> I wonder if tomcat is loading on startup? Then port 8005 would be in >> use
>> by
>> tomcat. See what is running and what is using which ports prior to >> trying
>> a
>> tomcat start. Do this after a reboot.
>>
>> Got to ask the basics.
>>
>> Doug
>>
>>
>>
>> ----- Original Message -----
>> From: "Chris Stratton" <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>> Sent: Saturday, December 04, 2004 1:08 PM
>> Subject: Tomcat 5.0.27-r4 java.net.BindException
>>
>> >I am running Tomcat 5.0.27-r4(Gentoo package) with blackdown-jdk
>> >1.4.2.01
>> >
>> > I have been getting this ...
>> >
>> > StandardServer.await: create[8005]: java.net.BindException: Cannot
>> > assign requested address
>> > java.net.BindException: Cannot assign requested address
>> > at java.net.PlainSocketImpl.socketBind(Native Method)
>> > at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
>> > at java.net.ServerSocket.bind(ServerSocket.java:318)
>> > at java.net.ServerSocket.<init>(ServerSocket.java:185)
>> > at
>> > org.apache.catalina.core.StandardServer.await(StandardServer.java:496)
>> > at >> > org.apache.catalina.startup.Catalina.await(Catalina.java:619)
>> > at >> > org.apache.catalina.startup.Catalina.start(Catalina.java:579)
>> > 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:324)
>> > at
>> > org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)
>> > at
>> > org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)
>> >
>> >
>> > I have tried changing the port in the server.xml no matter what port >> > I
>> > put it on always the same response, I have tried unmerging >> > blackdown,
>> > tomcat. All with the same response.
>> >
>> > Tomcat was working ... the machine rebooted ... now it is not >> > working.
>> > I am also running kernel-2.4.26-gentoo-r13 if that makes any
>> > difference.
>> >
>> > As another data point, It takes forever to start up.
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>> >
>>
>>
>
> ---------------------------------------------------------------------



> To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > >



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to