In that case, clicking restart on Tomcat service shouldn't restart service.

On Thu, Dec 4, 2008 at 11:15 AM, Schuster Stefan
<[EMAIL PROTECTED]> wrote:
> Hey Toby,
>
> it might have something to do with a timeout, I remember that some
> operating systems hold a port "reserved" for a while after it was
> bound as a listening port.
>
> Hope this is a pointer in the right direction.
>
> Best regards
> Stefan
>
> -----Ursprüngliche Nachricht-----
> Von: Toby Kurien [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 4. Dezember 2008 16:38
> An: Tomcat Users List
> Betreff: Re: java.lang.Exception: Socket bind failed: [730048]
>
> Hi,
> Here's the weirdest thing I have found now. If I restart the service
> from "Services" in computer management, it restarts fine, but if I
> click Stop and then Start after a 30 second delay, the same error as
> before happens which is:
>
> Dec 3, 2008 8:39:31 PM org.apache.coyote.http11.Http11AprProtocol init
> SEVERE: Error initializing endpoint
> java.lang.Exception: Socket bind failed: [730048] Only one usage of
> each socket address (protocol/network address/port) is normally
> permitted.
>        at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:576)
>        at 
> org.apache.coyote.http11.Http11AprProtocol.init(Http11AprProtocol.java:116)
>        at 
> org.apache.catalina.connector.Connector.initialize(Connector.java:1017)
>        at 
> org.apache.catalina.core.StandardService.initialize(StandardService.java:578)
>        at 
> org.apache.catalina.core.StandardServer.initialize(StandardServer.java:782)
>        at org.apache.catalina.startup.Catalina.load(Catalina.java:504)
>        at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>        at java.lang.reflect.Method.invoke(Unknown Source)
>        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:267)
>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
>
> After this, I am forced to restart the server. Again, if the service
> is set as manual, I get the same error, but if I restart as automatic,
> Tomcat starts fine. I am wondering if this is a genuine security
> breach or trojan holding port 80 or something else and how can I find
> it. Symantec and other antivirus programs haven't shown any intrusion
> yet. I don't have any other server running on port 80. This server
> configuration has worked for the past 1 year without such problems.
>
>
> Thanks for all the help,
> -Toby
>
> On Fri, Nov 21, 2008 at 5:28 PM, Kees Jan Koster <[EMAIL PROTECTED]> wrote:
>> Dear Toby,
>>
>>> Another thing I have found is that Tomcat slows down when a lot of
>>> people are connected and requesting to the DB. My maxActive = '150'
>>> for the database and maxThreads = '300'. The task manager doesn't show
>>> high CPU usage and there is always atleast 2GB RAM free. Any ideas on
>>> why this is happening? DB server is running fine too. In the past, the
>>> DB server CPU would be high when this happened, but now that's Not the
>>> case.
>>
>> How does the I/O on the box behave?
>> --
>> Kees Jan
>>
>> http://java-monitor.com/forum/
>> [EMAIL PROTECTED]
>> 06-51838192
>>
>> The secret of success lies in the stability of the goal. -- Benjamin
>> Disraeli
>>
>>
>> ---------------------------------------------------------------------
>> 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 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