users@glassfish.java.net

Classloader error LDR5003: Duplicate unique id [#] found in ejb descriptor

From: <glassfish_at_javadesktop.org>
Date: Fri, 14 Sep 2007 05:34:21 PDT

Hi all,

I have problem with this error:
[#|2007-09-14T12:11:32.999+0200|SEVERE|sun-appserver9.1|javax.enterprise.system.core.classloading|_ThreadID=15;_ThreadName=Thread-23;77972417965850624;AthosMonFacade;_RequestID=3671d9a1-d806-4058-bd71-9c8264ca72a5;|LDR5003: Duplicate unique id [77972417965850624] found in ejb descriptor [AthosMonFacade].|#]

after deploying application in ear file with ejb-jar and war module into GlassFish V2 - b58g.

Inside athosmon2-ejb.jar are entity beans and one stateless bean:

@Stateless(name="AthosMonFacade")
public class AthosMonFacadeBean implements AthosMonFacadeLocal {...}

and persistence.xml

<?xml version="1.0" encoding="UTF-8" ?>
<persistence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
             version="1.0" xmlns="http://java.sun.com/xml/ns/persistence">
  <persistence-unit name="AthosMon2-EJB">
    <jta-data-source>jdbc/AthosDS</jta-data-source>
  </persistence-unit>
</persistence>

application.xml is

<?xml version = '1.0' encoding = 'UTF-8'?>
<application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5" xmlns="http://java.sun.com/xml/ns/javaee">
  <display-name>athosmon2</display-name>
  <module>
    <ejb>athosmon2-ejb.jar</ejb>
  </module>
  <module>
    <web>
      <web-uri>athosmon2-jsf.war</web-uri>
      <context-root>AthosMon2</context-root>
    </web>
  </module>
</application>

Verifier don't show any error or warning. Application smoothly run in JDeveloper OC4J app. server.

I don't now, if it is problem in GlassFish or in my application or deployment configuration? Any idea is welcome.

Thank's,
Peter
[Message sent by forum member 'peter007' (peter007)]

http://forums.java.net/jive/thread.jspa?messageID=235398