Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

SocketTimeoutException

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • SocketTimeoutException

    Hi, What OS version are you on? Cause if I remember correctly, if you are below V5R3 and you have both 1.3 and 1.4 JVM installed, 1.3 will be picked by default. Just my 2 cents

  • #2
    SocketTimeoutException

    Hi to everyone, I have a java application running on AS/400 . While instanciating a socket objet ( socket = new Socket(hostAddress, portNumber)), I got a SocketTimeoutException. So I tried to catch this exception, but when I compile my class (JAVAC ....), I got the following error MyProviderSMTP.java:170: cannot resolve symbol symbol : class SocketTimeoutException location: class MyProviderSMTP catch(SocketTimeoutException esoc) But the same class compiles very well in eclipse under my PC. Does this mean there is jar file missing in my classpath on the AS/400 ? if so what jar file ? I'm using an 1.4 JVM on my AS/400. Please help. Regards Mamadou

    Comment


    • #3
      SocketTimeoutException

      Hello Stanley, You're right, that was the case. Thanks

      Comment

      Working...
      X