Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 392 Guest, 1 year ago
> [ADD_CONSUMER_REPLY(15)] [C4036]: A broker error occurred. :[412] > [B4135]: Cannot add durable consumer null. No ClientID was set on > connection. user=guest, broker=localhost:37676(36560) > > Got it: Same client ID for all cluster instances
com.sun.messaging.jms.JMSException: > [ADD_CONSUMER_REPLY(15)] [C4036]: A broker error occurred. :[412] > [B4135]: Cannot add durable consumer null. No ClientID was set on > connection. user=guest, broker=localhost:37676(36560) > > Got it: Same client ID for all cluster instances, different IDs needed > for durability. > Unfortunately, I have no idea how to either turn off durability or set > client IDs. > > > 2. RMI > > Let's try RMI then, I thought, and, using code fragments posted to > this list, came up with this code: > > RemoteCommandManager rcm = new > RemoteCommandManager((CommandProcessor)session); > rcm.getDiscoveryManager().setMulticastGroupAddress("226.1.2.3"); > rcm.getDiscoveryManager().setMulticastPort(3122); > rcm.setShouldPropagateAsynchronously(true); > rcm.getDiscoveryManager().setAnnouncementDelay(5); > rcm.getTransportManager().setNamingServiceType(TransportManager.REGISTRY_NAMING_SERVICE); > > rcm.setUrl("rmi://$HOST:33700"); > rcm.setServerPlatform(session.getServerPlatform()); > ((DatabaseSession)session).setCommandManager(rcm); > ((DatabaseSession)session).setShouldPropagateChanges(false); > rcm.initialize(); > > The session customizer terminates orderly, but after some time, I get > the following exception: > > Exception Description: Could not post connection in local naming > service under name rmi://192.168.23.12:33700/11657788 > Internal Exception: java.rmi.ConnectIOException: error during JRMP > connection establishment; nested exception is: >         java.io.EOFException >
at > org.eclipse.persistence.exceptions.RemoteCommandManagerException.errorBindingConnection(RemoteCommandManagerException.java:87) > >
at > org.eclipse.persistence.sessions.coordination.rmi.RMITransportManager.createLocalConnectionInRegistry(RMITransportManager.java:160) > >
at > org.eclipse.persistence.sessions.coordination.rmi.RMITransportManager.createLocalConnection(RMITransportManager.java:113) > >
at > org.eclipse.persistence.sessions.coordination.DiscoveryManager.run(DiscoveryManager.java:197) > >	at java.lang.Thread.run(Thread.java:619)