You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by rajesh202023 <ra...@rediffmail.com> on 2009/01/05 04:53:24 UTC

URGENT: Tomcat 4 error

Hi,

I am getting the following error message when tomcat 4 is being run on
Solaris 9 machine. It exists all of a sudden.

Sep 5, 2008 9:20:11 AM org.apache.jk.common.ChannelSocket acceptConnections
WARNING: Exception executing accept
java.net.SocketException: Invalid argument
	at java.net.PlainSocketImpl.socketSetOption(Native Method)
	at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:240)
	at java.net.Socket.setTcpNoDelay(Socket.java:771)
	at org.apache.jk.common.ChannelSocket.accept(ChannelSocket.java:304)
	at
org.apache.jk.common.ChannelSocket.acceptConnections(ChannelSocket.java:638)
	at org.apache.jk.common.SocketAcceptor.runIt(ChannelSocket.java:847)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
	at java.lang.Thread.run(Thread.java:534)
Sep 5, 2008 9:20:12 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina

Tomcat keeps on rebooting due to this error.
Please provide some help as I need to find a solution ASAP.

regards
Raj
-- 
View this message in context: http://www.nabble.com/URGENT%3A-Tomcat-4-error-tp21285121p21285121.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Re: URGENT: Tomcat 4 error

Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
what JDK are you using?
there is a good chance that adding

|-Djava.net.preferIPv4Stack=true

to your command line for starting tomcat, will solve the issue

Filip


|
rajesh202023 wrote:
> Hi,
>
> I am getting the following error message when tomcat 4 is being run on
> Solaris 9 machine. It exists all of a sudden.
>
> Sep 5, 2008 9:20:11 AM org.apache.jk.common.ChannelSocket acceptConnections
> WARNING: Exception executing accept
> java.net.SocketException: Invalid argument
> 	at java.net.PlainSocketImpl.socketSetOption(Native Method)
> 	at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:240)
> 	at java.net.Socket.setTcpNoDelay(Socket.java:771)
> 	at org.apache.jk.common.ChannelSocket.accept(ChannelSocket.java:304)
> 	at
> org.apache.jk.common.ChannelSocket.acceptConnections(ChannelSocket.java:638)
> 	at org.apache.jk.common.SocketAcceptor.runIt(ChannelSocket.java:847)
> 	at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
> 	at java.lang.Thread.run(Thread.java:534)
> Sep 5, 2008 9:20:12 AM org.apache.catalina.core.StandardService stop
> INFO: Stopping service Catalina
>
> Tomcat keeps on rebooting due to this error.
> Please provide some help as I need to find a solution ASAP.
>
> regards
> Raj
>   


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