4 Replies Latest reply on Jul 16, 2002 12:05 AM by hchirino

    Server runs under 1.4, client 1.3 j2se

    alexkr

      Hi,

      Is this a bug:
      1. If jboss is started with j2se 1.4 and j2ee 1.3.1, then only clients started with j2se 1.4 may use JMS, those with older runtime version will get
      at statagent.HelloReceiver.main(statagent/HelloReceiver.java:169)
      linked exception is:
      java.net.SocketException: Option unsupported by protocol: no further information
      <...stack backtrace...>

      2. If jboss is started with j2se 1.3 and j2ee 1.3.1, then all clients work fine.

      I haven't tested other combinations, but there might be problems as well.

      Platform - Win NT, same host both for server and client.

      Cheers,
      Alexander.

        • 1. Re: Server runs under 1.4, client 1.3 j2se
          chriswei

          I've run into the same problem - I get various errors if the JBoss server and clients are run under different JVM versions (in my case 1.4 for JBoss and 1.3.1_02 for clients). Is there a requirement that all clients and the server run under the same JVM version? If not, how can I configure my setup to use different versions of the VM?

          thanks,

          - chris

          > Hi,
          >
          > Is this a bug:
          > 1. If jboss is started with j2se 1.4 and j2ee 1.3.1,
          > then only clients started with j2se 1.4 may use JMS,
          > those with older runtime version will get
          > at
          > at
          > at
          > t
          > statagent.HelloReceiver.main(statagent/HelloReceiver.j
          > va:169)
          > linked exception is:
          > java.net.SocketException: Option unsupported by
          > protocol: no further information
          > <...stack backtrace...>
          >
          > 2. If jboss is started with j2se 1.3 and j2ee 1.3.1,
          > then all clients work fine.
          >
          > I haven't tested other combinations, but there might
          > be problems as well.
          >
          > Platform - Win NT, same host both for server and
          > client.
          >
          > Cheers,
          > Alexander.

          • 2. Re: Server runs under 1.4, client 1.3 j2se
            hchirino

            Try using the RMI Invocation Layer (IL).
            You just need to lookup "RMIConnectionFactory" in JNDI instead of "ConnectionFactory" to get the Connection object.

            I have not tested it, But I'm almost 100% sure it will work.

            Regards,
            Hiram

            • 3. Re: Server runs under 1.4, client 1.3 j2se
              dstoleson

              There is a bug in 1.4 that causes this SocketException. Basically the InetAddress class is not binary compatible between 1.3.1 and 1.4.

              I am assuming that it is related to the problem you are seeing.

              http://developer.java.sun.com/developer/bugParade/bugs/4661534.html

              • 4. Re: Server runs under 1.4, client 1.3 j2se
                hchirino

                Thanks for the info.. perhaps we can work around it.