Dear members,
We need to deploy my old and new version of the application on the same server 
instance with difference application context.  After copying oldapp.ear and newapp.ear 
to the 'deploy' folder getting the below jndi error.  Is there any configuration for 
this kind problem in Jboss.

Note: we can't change the jndi name as we are using class name as jndi lookup key and 
this is hardcoded in the code. 

------ERROR-----------------------
10:25:54,493 ERROR [EjbModule] Initialization failed
javax.management.InstanceAlreadyExistsException: 
jboss.j2ee:jndiName=com.asi.mds.ejb.session.order.MDSOrderHome,service=EJB already 
registered.
        at 
org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:617)
        at 
org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:198)
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
        at 
org.jboss.mx.interceptor.ObjectReferenceInterceptor.invoke(ObjectReferenceInterceptor.java:59)
------------------------

Thanx in advance
Prasanna B.P
-------------

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844198#3844198

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844198


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to