geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neo Anderson <javadeveloper...@yahoo.co.uk>
Subject Re: error whilst deploying entity bean
Date Mon, 29 Oct 2007 12:45:34 GMT
the publication-ear file content has:
META-INF/
META-INF/MANIFEST.MF
META-INF/application.xml
publication-ejb-1.0-SNAPSHOT.jar
publication-war-1.0-SNAPSHOT.war
geronimo-ejb_3.0_spec-1.0.jar
tranql-connector-ra-1.3.rar
geronimo-jpa_3.0_spec-1.1.jar
geronimo-annotation_1.0_spec-1.1.jar
tranql-connector-1.3.jar
META-INF/maven/
META-INF/maven/net.sf.sample/
META-INF/maven/net.sf.sample/publication-ear/
META-INF/maven/net.sf.sample/publication-ear/pom.xml
META-INF/maven/net.sf.sample/publication-ear/pom.properties

the publication-ejb content has:
META-INF/
META-INF/MANIFEST.MF
net/
net/sf/
net/sf/sample/
META-INF/openejb-jar.xml
META-INF/persistence.xml
net/sf/sample/Publication.class
net/sf/sample/PublicationBean.class
net/sf/sample/PublicationLocal.class
META-INF/maven/
META-INF/maven/net.sf.sample/
META-INF/maven/net.sf.sample/publication-ejb/
META-INF/maven/net.sf.sample/publication-ejb/pom.xml
META-INF/maven/net.sf.sample/publication-ejb/pom.properties

the publication-war content has:
META-INF/
META-INF/MANIFEST.MF
WEB-INF/
WEB-INF/lib/
WEB-INF/geronimo-web.xml
WEB-INF/web.xml
WEB-INF/lib/geronimo-ejb_3.0_spec-1.0.jar
WEB-INF/lib/geronimo-jpa_3.0_spec-1.1.jar
WEB-INF/lib/geronimo-annotation_1.0_spec-1.1.jar
index.jsp
META-INF/maven/
META-INF/maven/net.sf.sample/
META-INF/maven/net.sf.sample/publication-war/
META-INF/maven/net.sf.sample/publication-war/pom.xml
META-INF/maven/net.sf.sample/publication-war/pom.properties

I think the class files have been included in the jar file. That is why I am confused why
it can not load the class files. There might have something I miss or wrong but am not aware
of it. So I appreciate any suggestion. 

Thank you very much.



----- Original Message ----
From: Jacek Laskowski <jacek@laskowski.net.pl>
To: user@geronimo.apache.org
Sent: Monday, 29 October, 2007 8:12:12 PM
Subject: Re: error whilst deploying entity bean

On 10/28/07, Neo Anderson <javadeveloper999@yahoo.co.uk> wrote:

> I am new to Geronimo 2.0.2 with tomecat 6. I follow the sample at
>
 http://cwiki.apache.org/GMOxDOC20/very-simple-entity-ejb-example.html.
> However, I encounter a problem. The deploy process successes, but the
> geronimo.out file has error as A).
>
> What might cause this problem?
>
> Thank you very much
>
> A.)
>
> java.lang.Exception: Could not load
> net/sf/sample/PublicationLocal.class

Could you run 'jar -tf' command on the jar file you're deploying and
attach the output here? It appears that the jar file didn't include
the necessary classes.

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl






      ___________________________________________________________ 
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  http://uk.promotions.yahoo.com/forgood/environment.html
Mime
View raw message