0 Replies Latest reply on Jan 7, 2014 4:05 AM by Online Metalhead

    [Remoting 2] Does Remoting 2 work with Java 7

    Online Metalhead Newbie

      We are trying to support Java 7 for our client software, I'm wondering if there are any known problems in Remoting 2 to work on Java 7?

      In our case it works partially, with some warnings and a lot of problems.


      The warnings I can solve, by changing the manifest file in the JAR's;

      > Missing Permissions manifest attribute for: jboss-remoting.jar

      > Missing Codebase manifest attribute for: jboss-remoting.jar


      But before I start to fix the problems, I'm wondering if I'm trying to fix something impossible?

      The problems are for example:

      > ERROR CallbackPoller: org.jboss.remoting.callback.CallbackPoller@470076aa Error getting callbacks from server.

      > org.jboss.remoting.CannotConnectException: Can not connect http client invoker. Read timed out.

      >   at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:406)

      >   at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:164)

      >   at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:143)

      >   at org.jboss.remoting.Client.invoke(Client.java:1978)

      >   at org.jboss.remoting.Client.invoke(Client.java:812)

      >   at org.jboss.remoting.Client.getCallbacks(Client.java:1431)

      >   at org.jboss.remoting.callback.CallbackPoller.run(CallbackPoller.java:189)

      >   at org.jboss.remoting.callback.CallbackPoller$BlockingPollerThread.run(CallbackPoller.java:335)

      > Caused by: java.net.SocketTimeoutException: Read timed out

      >   at java.net.SocketInputStream.socketRead0(Native Method)

      >   at java.net.SocketInputStream.read(Unknown Source)

      >   at java.net.SocketInputStream.read(Unknown Source)

      >   at java.io.BufferedInputStream.fill(Unknown Source)

      >   at java.io.BufferedInputStream.read1(Unknown Source)

      >   at java.io.BufferedInputStream.read(Unknown Source)

      >   at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)

      >   at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)

      >   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

      >   at java.net.HttpURLConnection.getResponseCode(Unknown Source)

      >   at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:328)


      (I hope I'm not double posting, I just posted this question, but I can't find it anymore)