Hi,

Since I moved my EAR to apps/ folder everything was working great except hot
deployment in that folder.
I tried to:
1. simple EAR overwriting
2. using deploy tool bin/tomee.sh
3. googling a lot on some configuration options to add to the
conf/tomee.conf

Neither have given any satisfactory result ;).

Unfortunately tomee.sh doesn't work on both Mac/Linux I tested on, every
time it gives

MBP-Almos:trunk alex$
/Volumes/Work/java/apache-tomee-plus-1.0.0/bin/tomee.sh deploy
/Work/java/BMM-0.0.1-SNAPSHOT.ear
deploying /Work/java/BMM-0.0.1-SNAPSHOT.ear
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/openejb/cli/Bootstrap
Caused by: java.lang.ClassNotFoundException:
org.apache.openejb.cli.Bootstrap
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

I have TOMEE_HOME/JAVA_HOME properly initialized so that shouldn't be a
reason.

So how can I switch hot deployment for the EAR located in apps/ directory?

Thanks,
Alex

--
View this message in context: 
http://openejb.979440.n4.nabble.com/DuplicateDeploymentIdException-when-deploying-ear-with-application-xml-tp4655362p4655544.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to