The xml files must be in under the META-INF directory in the jar. You have
the wrong case:

sm00008 550>jar -tf /tmp/acme.jar
META-INF/
META-INF/MANIFEST.MF
...
Meta-inf/
Meta-inf/ejb-jar.xml
Meta-inf/jboss.xml
Meta-inf/jbosscmp-jdbc.xml

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

----- Original Message ----- 
From: "Richard Stack" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 9:20 AM
Subject: [JBoss-user] JBoss not finding xmls in Jar


> I'm running JBoss 3.0.4 & Tomcat. I'm trying to deploy EJBs from
> acme.jar. As the DEBUG message shows "no xmls found" Although
> ejb-jar.xml, jboss.xml & jbosscmp-jdbc.xml are in the JAR (acme.jar
> inclosed). Any idea why the xmls aren't found? 
> 
> 12:10:43,910 DEBUG [MainDeployer] Starting deployment (init step) of
> package at:
>  file:/F:/jboss-3.0.4_tomcat-4.1.12/server/default/deploy/acme.jar
> 12:10:43,910 DEBUG [UnifiedClassLoader] New jmx UCL with url
> file:/F:/jboss-3.0.
> 4_tomcat-4.1.12/server/default/tmp/deploy/server/default/deploy/acme.jar/94.acme
> .jar
> 12:10:43,910 DEBUG [UnifiedLoaderRepository3] Adding
> org.jboss.mx.loading.Unifie
> [EMAIL PROTECTED]
> url=file:/F:/jboss-3.0.4_tomcat-4.1.12/server/default/tmp
> /deploy/server/default/deploy/acme.jar/94.acme.jar }
> 12:10:43,940 DEBUG [JARDeployer] no xmls found
> 12:10:43,940 DEBUG [MainDeployer] using deployer
> org.jboss.deployment.JARDeploye
> [EMAIL PROTECTED]
> 12:10:43,940 DEBUG [MainDeployer] found 0 subpackages of
> file:/F:/jboss-3.0.4_to
> mcat-4.1.12/server/default/deploy/acme.jar
> 12:10:43,950 DEBUG [MainDeployer] Watching new file:
> file:/F:/jboss-3.0.4_tomcat
> -4.1.12/server/default/deploy/acme.jar


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to