2 Replies Latest reply on Dec 22, 2008 9:04 AM by johlon

    javax.naming.Reference cannot be cast to?

      Eclipse used to run swing to connect Jboss 5 no mistake, but after packing liveos.jnlp run the following error occurred "javax.naming.Reference cannot be cast to org.liveos.business.service.permission.PermissionServiceRemote". If you run through the liveos.jnlp connected Jboss 4 there will be no problem, why?

        • 1. Re: javax.naming.Reference cannot be cast to?
          jaikiran

          Please post the entire exception stacktrace. Are you sure your client classpath has the jbossall-client.jar (and all other jar files referenced in the MANIFEST.MF of jbossall-client.jar)?

          • 2. Re: javax.naming.Reference cannot be cast to?

            There are included jbossall-client.jar file, but Jboss 5 of jbossall-client.jar to be separated from a lot of jar files,

            The classpath includes the following files:

            jboss-common-core.jar

            jboss-integration.jar

            jboss-logging-spi.jar

            jboss-security-spi.jar

            jboss-serialization.jar

            jnp-client.jar

            jboss-ejb3-common-client.jar

            jboss-ejb3-core-client.jar

            jboss-ejb3-proxy-client.jar

            jboss-ejb3-proxy-clustered-client.jar

            jboss-ejb3-security-client.jar

            jbosssx-client.jar

            jboss-remoting.jar

            However, Eclipse is no problem in running, jnlp run the document also contains these jar files