users@glassfish.java.net

Re: deployment trouble: jar in ear's /lib folder invisible to the ejbmodule

From: Sahoo <sanjeeb.sahoo_at_oracle.com>
Date: Thu, 26 May 2011 14:59:10 +0530

Send exception stack trace and any relevant info like where is the class
packaged? Is it in two places? Are all its dependencies satisfied?

Sahoo
On Thursday 26 May 2011 02:56 PM, Matthieu Bertin wrote:
> Hello Sahoo,
>
> I've added the jarmodule trying to force glassfish to read it. but it
> didn't work.
> I'm getting the very same error with the following application.xml:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <application xmlns="http://java.sun.com/xml/ns/javaee"
> 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_6.xsd" version="6">
> <application-name>myapp</application-name>
> <display-name>myapp</display-name>
> <module>
> <ejb>business-2.0.3-SNAPSHOT.jar</ejb>
> </module>
> <library-directory>lib</library-directory>
> </application>
>
> and of course i've doubled-checked that the domain.jar is in the ear
> lib folder, and contains the "missing" class.