× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.






I am trying to track down the cause of a problem when shutting down a
stand-alone Tomcat server on iSeries OS400 running V5R3 using Java 1.4.2.

During execution of the shutdown script, the server being shutdown throws
the exception below.  I have added some additional messages in Tomcat to
display the parm value in question and it appears to be a correct true
value.  I even rebuilt Tomcat on the iSeries and retried it without any
luck.   I am in the process of trying to run Tomcat in the iSeries debugger
but was hoping maybe someone has some suggestions.  We are running Tomcat
on several different versions of 0S400 sucessfully in addition to Linux or
Windows and we don't get this exception.

I poked around in the JDK source but couldn't find this message exactly.
The message in PlainSocketImpl.setOption is similar, but not quite the same
(""bad parameter for TCP_NODELAY").    It just seems odd given the parm
passed in appears to be correct.

I googled around for the message and found similar problems posted but no
responses.

I also installed Tomcat that the RJS folks graciously provided with their
installer and it throws the same exception.

Here are the details:
Java 1.4.2
Version: Apache Tomcat/5.0.28

May 26, 2005 10:45:11 AM org.apache.commons.logging.impl.Jdk14Logger info
INFO: setTcpNoDely='true'
<<<MY INFO LINE>>>>
May 26, 2005 10:45:11 AM org.apache.commons.logging.impl.Jdk14Logger warn
WARNING: Exception executing accept
java.net.SocketException: The value specified for the argument is not
correct.
        at java.lang.Throwable.<init>(Throwable.java:195)
        at java.lang.Exception.<init>(Exception.java:41)
        at java.io.IOException.<init>(IOException.java:40)
        at java.net.SocketException.<init>(SocketException.java:29)
        at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:240)
        at java.net.Socket.setTcpNoDelay(Socket.java:796)
        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)

May 13, 2005 8:55:15 AM org.apache.commons.logging.impl.Jdk14Logger info
INFO: Stopping service Catalina
May 13, 2005 8:55:15 AM org.apache.commons.logging.impl.Jdk14Logger info
INFO: Removing web application at context path /admin
May 13, 2005 8:55:16 AM org.apache.commons.logging.impl.Jdk14Logger info
INFO: unregistering logger Catalina:type=Logger,path=/admin,host=localhost
May 13, 2005 8:55:16 AM org.apache.commons.logging.impl.Jdk14Logger info
INFO: Removing web application at context path /webdav
May 13, 2005 8:55:16 AM org.apache.commons.logging.impl.Jdk14Logger info
INFO: Removing web application at context path /servlets-examples
May 13, 2005 8:55:16 AM org.apache.commons.logging.impl.Jdk14Logger info

Thanks,
Jeff


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.