We are still stuck with the problem.  Can someone kindly help?

-----Original Message-----
From: Richard Wong [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 12, 2002 10:35 PM
To: [EMAIL PROTECTED]
Subject: System call problem on Tomcat


Dear Sir/Madam,

      I have written a servlet that will make a system call using following statement:
             Runtime.getRuntime().exec("ls");

      The servlet failed (even cause tomcat to shutdown) and the following error 
occurs:

StandardServer.await: accept: java.net.SocketException: Interrupted system call
java.net.SocketException: Interrupted system call
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:463)
        at java.net.ServerSocket.implAccept(ServerSocket.java:238)
        at java.net.ServerSocket.accept(ServerSocket.java:217)
        at org.apache.catalina.core.StandardServer.await(StandardServer.java:293)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:794)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

        I have tried several simple Linux commands and I get the same problem (eg. 
sleep 1).  Can anyone help?

        The system is running on Redhat 7.2, tomcat 4.0.4 and Java 1.3.1.

Regards,
Richard.


Reply via email to