2 Replies Latest reply on Mar 1, 2013 7:42 AM by jaikiran pai

    Ejb look up error

    ashvish Newbie

      When I try to do a lookup, I am getting this error at the client side, does anyone have a solution to this?

       

      org.jboss.remoting3.ProtocolException: Too many channels open

                at org.jboss.remoting3.remote.RemoteConnectionHandler.handleOutboundChannelOpen(RemoteConnectionHandler.java:177)

                at org.jboss.remoting3.remote.RemoteConnectionHandler.open(RemoteConnectionHandler.java:307)

                at org.jboss.remoting3.ConnectionImpl.openChannel(ConnectionImpl.java:75)

                at org.jboss.ejb.client.remoting.RemotingConnectionEJBReceiver.associate(RemotingConnectionEJBReceiver.java:126)

                at org.jboss.ejb.client.EJBClientContext.registerEJBReceiver(EJBClientContext.java:297)

                at org.jboss.ejb.client.EJBClientContext.registerEJBReceiver(EJBClientContext.java:252)

                at org.jboss.ejb.client.EJBClientContext.registerConnection(EJBClientContext.java:342)

                at org.jboss.naming.remote.client.ejb.RemoteNamingEjbClientContextSelector.setCurrent(RemoteNamingEjbClientContextSelector.java:25)

                at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                at java.lang.reflect.Method.invoke(Method.java:597)

                at org.jboss.naming.remote.client.InitialContextFactory.setupEjbContext(InitialContextFactory.java:425)

                at org.jboss.naming.remote.client.InitialContextFactory.getInitialContext(InitialContextFactory.java:115)

                at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)

                at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)

                at javax.naming.InitialContext.init(InitialContext.java:223)

                at javax.naming.InitialContext.<init>(InitialContext.java:197)