0 Replies Latest reply on May 22, 2003 9:13 AM by jyotic

    jndi communication b/w jboss3.4 and jboss2.4

    jyotic

      i m running two instances of jboss i.e. jboss3 and jboss2.4 on the same machine and some beans deployed in jboss3 wants to access beans deployed in jboss2.4 ,

      how to specify jndi lookup for accessing beans deployed in jboss2 from jboss3
      i ve specified different ports for these two instances of jboss for jndi purpose ,
      still this set of exception comes

      ( regstr : jndi name for Bean deployed in jboss2 )
      javax.naming.NameNotFoundException: regstr not bound
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
      at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
      at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
      at org.jnp.server.NamingServer.lookup(NamingServer.java:256)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:492)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:471)
      at cdot.oss.crs.subscriber.ejbs.SubscriberSession.SubscriberSession
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.ejb.StatefulSessionContainer$ContainerInterceptor.invo
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterce
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor
      at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractT
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInt
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.j
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:
      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(Proxy
      at org.jboss.ejb.StatefulSessionContainer.internalInvoke(StatefulSe
      at org.jboss.ejb.Container.invoke(Container.java:674)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(Reflecte
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:
      at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java
      at org.jboss.invocation.InvokerInterceptor.invoke(InvokerIntercepto
      at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterce
      at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.j
      at org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSe
      at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:82)
      at $Proxy150.displaySubscriberBySAN(Unknown Source)
      at org.apache.jsp.DisplayProfile_jsp._jspService(DisplayProfile_jsp