6 Replies Latest reply on Aug 28, 2012 3:58 AM by Wolf-Dieter Fink

    Remote SLSB issue

    Aaron Sheffey Newbie

      Trying to access a remote SLSB from within a Spring application running on 6.1, via the following config:

       

      <jee:environment>

                  java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory

                  java.naming.provider.url=jnp://foo.bar.com:1099

                  java.naming.factory.url.pkgs=org.jboss.naming

      </jee:environment>

       

      I'm getting the following exception; the same config works on 4.0.2.  I found the JIRA that points to the fact that the JRMPInvokerProx was removed.  What should the above be changed to?

       

      Caused by: java.lang.ClassNotFoundException: org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy (no security manager: RMI class loader disabled)

          at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:375) [:1.6.0_18]

          at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165) [:1.6.0_18]

          at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) [:1.6.0_18]

          at org.jboss.system.JBossRMIClassLoader.loadClass(JBossRMIClassLoader.java:91) [run.jar:6.1.0.Final (Build SVNTag:JBoss_6.1.0.Final date: 20110816)]

          at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247) [:1.6.0_18]

          at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197) [:1.6.0_18]