2 Replies Latest reply on Nov 10, 2003 6:34 PM by jonlee

    Jboss client libraries

    jbossuserr

      I am using Jboss-3.2.1_tomcat-4.1.24; there are many libs under \client directory; I am not sure which libs I should include in the classpath in the client side. The client communicates with server using web severlet and RMI interface also. I have included
      Jboss-j2ee.jar
      Jboss-client.jar
      Jnp-client.jar
      jbossx-client.jar
      jboss-common-client.jar
      log4j.jar

      I am getting NoClassDefFoundError: javax/net/socketFactory and java/net/socketTimeoutException using RMI and web based interfaces.

      Can someone help?

      Thanks.

        • 1. Re: Jboss client libraries
          jonlee

          Just get jbossall-client.jar and jnet.jar. jbossall-client.jar packages the bulk of the classes you normally need for JBoss clients - the other JARs you list provide different combinations of the classes you'll find in jbossall-client.jar.

          Not sure about your socketTimeoutException as that should be part of your standard JVM libraries.

          Anyway, try that as a start.

          • 2. Re: Jboss client libraries
            jonlee

            In some instances, you might need to add in the log4j.jar as this is not provided in jbossall-client.jar. However, normally it is not needed.