Merry Christmas everybody. 

I'm really new to JBoss, but I hope somebody here can help me with my 
deployment problem. 

I have an ear file which contains two jar files (ejb.jar and jdom.jar) and a 
war-archive (web.war). ejb.jar and web.war both uses classes from jdom.jar. I 
set the class-path in the manifest.mf, but when I try to deploy the ear-file, I 
get:

2005-12-26 13:18:29,468 WARN  [org.jboss.ejb.EJBDeployer] Verify failed; 
continuing
java.lang.NoClassDefFoundError: org/jdom/JDOMException

2005-12-26 13:18:29,471 ERROR [org.jboss.deployment.MainDeployer] Could not 
create deployment: 
file:/import/home/karsten/Apps/jboss-4.0.3SP1/server/default/tmp/deploy/tmp6108App.ear-contents/EJB.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans 
failed, see above for error messages.

My ear looks like this:

App.ear
 |-- ejb.jar
     |-- META-INF
         |-- ejb-jar.xml
         |-- jboss.xml
         |-- MANIFEST.MF
     |-- my class files
 |-- jdom.jar
 |-- web.war 
     |-- META-INF
         |-- MANIFEST.MF
     |-- WEB-INF
         |-- web.xml
         |-- jboss-web.xml
         |-- classes
             |-- my class files
 |-- META-INF
     |-- application.xml
     |-- MANIFEST.MF


The manifest files of ejb.jar and web.war look like:

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 1.5.0_06-b05 (Sun Microsystems Inc.)
Class-Path: jdom.jar

By the way I'm using JBoss 4.0.3SP1

So why can't JBoss find the classes from jdom.jar?
Can anyone help me? 
Thanx very much!

Strunker



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914322#3914322

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914322


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to