The ear contains the ejb jar, the war and other jars but this implementation
is only include once in all this stuff.
I just used the export feature in eclipse and the problem appears even in
projetcs that I deployed in a GF2.1.
All the EAR generated with Eclipse seen not to be deployable in GF3...
2010/1/22 Hong Zhang <Hong.Zhang_at_sun.com>
> Hi, Fabrice
>
>
> I use Eclipse (Galileo) with the latest GF plugin and GFv3 to develop an
>> EAR application.
>> When I deploy my EAR inside Eclipse with the publish command everything
>> works fine.
>> But when I use the Export->EAR command from the file menu, I can not
>> deploy the generated EAR to the same server, I got this error:
>>
>> java.lang.RuntimeException: Cannot resolve reference Local ejb-ref
>> name=org.buck.dms.ejb.ejb.SessionEjb/aclManagerEjb,Local 3.x interface
>> =org.buck.dms.ejb.ejb.AclManagerEjbLocal,ejb-link=null,lookup=null,mappedName=,jndi-name=,refType=Session
>> because there are 2 ejbs in the application with interface
>> org.buck.dms.ejb.ejb.AclManagerEjbLocal
>>
>> I'm sure there is only one implementation of this interface.
>>
>
> But is the implementation class of this interface packaged twice in this
> ear? Can you tell us a little bit more of the packaging?
>
> Thanks,
>
> - Hong
>
>
>
>> Can anyone help me please ?
>>
>>
>>
>> --
>> BUQUET Fabrice
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
--
BUQUET Fabrice