I've configured multiple Jboss AS instance in single machine. I have configured the jboss-services.xml to look for the port mapping in sample-bing.xml as well. When i try to run both instances (on different ports ) i am getting the following exception.
19:15:39,545 INFO [JaasSecurityManagerService] Started jboss.security:service=JaasSecurityManager
19:15:39,737 INFO [TransactionManagerService] Started jboss:service=TransactionManager
19:15:40,285 INFO [JRMPInvoker] Started jboss:service=invoker,type=jrmp
19:15:40,580 ERROR [JRMPProxyFactory] Starting failed
javax.naming.NameAlreadyBoundException
at org.jnp.server.NamingServer.bind(NamingServer.java:130)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:534)
at sun.rmi.transport.StreamRemoteCall.exceptio
can somebody help me to resolve this problem ?
Rgds,
S. Mohan