[jboss-user] [JNDI and Naming] - JNDI lookup JBoss 6 -> JBoss 5.1: ProxyFactory not found

Ignacio de Cordoba do-not-reply at jboss.com
Mon Feb 21 19:00:24 EST 2011


Ignacio de Cordoba [http://community.jboss.org/people/icordoba] created the discussion

"JNDI lookup JBoss 6 -> JBoss 5.1: ProxyFactory not found"

To view the discussion, visit: http://community.jboss.org/message/588860#588860

--------------------------------------------------------------
Hello,
I need to perform a remote JNDI lookup from a JBoss 6 to a JBoss 5.1 server. I get the following exception:

Caused by: java.lang.RuntimeException: Exception while trying to locate proxy factory in JNDI, at key ProxyFactory/321phonic/SIPManagerBean/321phonic/SIPManagerBean/remote
          at org.jboss.ejb3.proxy.impl.objectfactory.ProxyObjectFactory.getProxyFactoryFromJNDI(ProxyObjectFactory.java:249) [:1.0.11]
          at org.jboss.ejb3.proxy.impl.objectfactory.ProxyObjectFactory.getObjectInstance(ProxyObjectFactory.java:157) [:1.0.11]
          at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304) [:1.6.0_22]
          at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1483) [:5.0.5.Final]
          at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1500) [:5.0.5.Final]
          ... 144 more
Caused by: javax.naming.NameNotFoundException: ProxyFactory not bound
          at org.jnp.server.NamingServer.getBinding(NamingServer.java:771) [:5.0.5.Final]
          at org.jnp.server.NamingServer.getBinding(NamingServer.java:779) [:5.0.5.Final]
          at org.jnp.server.NamingServer.getObject(NamingServer.java:785) [:5.0.5.Final]
          at org.jnp.server.NamingServer.lookup(NamingServer.java:396) [:5.0.5.Final]
          at org.jnp.server.NamingServer.lookup(NamingServer.java:399) [:5.0.5.Final]
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_22]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_22]

I suppouse it is because of the different versions of jbossclient-all.jar in both servers.
What is the preferred method of building a jbossclient-all.jar (in 5.1 it references lots of jars so I can't just copy it into the WEB-INF/lib of the war app in JBoss 6 instance) and deploy it into my client war withoud conflicts with own JBoss 6 client jars?

Thanks for any help,
Ignacio
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/588860#588860]

Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2083]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110221/a40cd0f0/attachment-0001.html 


More information about the jboss-user mailing list