Hi I just created a workaround to fix this problem. In "org.jboss.util.jmx.ObjectNameConverter" contains these methods (module "common")
conversion: - convertString(): String of an Object Name -> ObjectName - convertProperties(): Domain Name + Hashtable Properties -> ObjectName undo methods: - getPropertiers(): Object Name plus undo conversion -> Hashtable with Properties - getString(): Object Name plus undo conversion -> String of an Object Name I added this fix to JSR-77 and now we are able to use any characters for the JSR-77 name. With special thanx to William Hoyle for mentioning the RFC 1738 style escape codes. BTW This fix will not solve your problem AFAIK because EJB JNDI-Names should be unique. PLEASE can you provide the entire stacktrace to see where this code fails. Also can you tell me which version you are using ? Thanx - Andy ----- Original Message ----- From: "colorzhang" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 01, 2002 6:40 PM Subject: [JBoss-dev] ejb-name conflict, help me!!! > hi all: > > sorry post again! > i have two application(petstore.ear, opc.ear) > deploy on jboss, > > petstore.ear has a ejb named AsyncSenderEJB(ejb-jar.xml) > opc.ear also has a ejb named AsyncSenderEJB(ejb-jar.xml) > but they have different jndi-name(jboss.xml) > > i have follow errors: > 2002-05-01 00:16:23,224 ERROR [org.jboss.ejb.EjbModule] Initialization failed > javax.management.InstanceAlreadyExistsException: jboss.j2ee:service=EJB,jndiName=AsyncSenderEJB already registered. > at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java: 677) > at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegi stry.java:247) > at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) > ......... > * * * > > View thread online: http://jboss.org/forums/thread.jsp?forum=66&thread=14604 > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > > _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
