0 Replies Latest reply on Apr 19, 2006 5:33 AM by Giorgio Vespucci

    Looking up IONA EJBs

    Giorgio Vespucci Newbie

      Hi
      I'm trying to lookup some EJBs deployed on a IONA ASP 6.0 from a webapp deployed on a JBoss 4.0.3SP1 - my JDK is 1.4.2_10.

      After reading forums I found that in conf/jndi.properties I must set only
      java.naming.factory.initial=org.jboss.iiop.naming.ORBInitialContextFactory

      But in my stacktrace I can read:
      javax.naming.NameNotFoundException: com not bound
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:514)
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:522)
      at org.jnp.server.NamingServer.getObject(NamingServer.java:528)
      at org.jnp.server.NamingServer.lookup(NamingServer.java:252)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)

      It seems that InitialContext.lookup() is instantiating org.jnp.interfaces.NamingContext and not the ORBInitialContextFactory...

      Someone can help?
      TIA
      --
      Giorgio