users@glassfish.java.net

Re: Deployment Problem Glassfish V3 - DeploymentException: Error in linking

From: <glassfish_at_javadesktop.org>
Date: Fri, 22 Jan 2010 12:42:43 PST

The problem here is the ejb implementation classes were packaged as shared library jar. The JavaEE spec warns against this type of the packaging as it could cause side effect (making all the jars inside the ear this type of component jar).

The reason it worked in v2 is because in v2 we did not process annotations in library jars (which is a bug we now fixed).

Can you repackage the application so only the necessary interfaces are packaged as shared library jar but the ejb implementation classes only in the ejb jar?
[Message sent by forum member 'hzhang_jn' (hong.zhang_at_sun.com)]

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