Hi,

I am trying to deploy my app to an instance of Tomee that I have running on
Debian 7. The app is deploying and running fine on my local instance of
Tomee (Win 8) but fails to deploy to the Debian 7 server with the following
error:

WARNING: Jar not loaded. /opt/apache-tomee-plus-1.5.2/webapps/CPWS. Cannot
Load jar /opt/apache-tomee-plus-1.5.2/webapps/CPWS. The number of beans
deployed (5) does not match the number of beans actually in the jar (0).
Please redeploy this jar.
Jul 10, 2013 1:53:28 PM org.apache.tomee.catalina.TomcatWebAppBuilder
startInternal
SEVERE: Unable to deploy collapsed ear in war
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/CPWS]
org.apache.openejb.OpenEJBException: Cannot Load jar
/opt/apache-tomee-plus-1.5.2/webapps/CPWS. The number of beans deployed (5)
does not match the number of beans actually in the jar (0). Please redeploy
this jar.
at
org.apache.openejb.config.EjbJarInfoBuilder.buildInfo(EjbJarInfoBuilder.java:136)
at
org.apache.openejb.config.AppInfoBuilder.build(AppInfoBuilder.java:158).............

Let me know if the rest of the error would be of use and i'll provide it.

I've been using Tomee for a while now and have deployed to a number of Win
and *nix servers but I've not figured out why it won't deploy here.

Any obvious red flags that come up when it says "number of beans in the jar
(0)"?

Thank you for any help,
Andrew



--
View this message in context: 
http://openejb.979440.n4.nabble.com/Deployment-issue-beans-actually-in-the-jar-0-tp4664212.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to