You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by nj00yy_1 <78...@qq.com> on 2012/04/01 07:56:23 UTC

Re: Bug TomEE-43 "library-directory ignored" is fixed in 1.0.0-beta-2 ??

Hi, I checked the exclusion list. None of my libs should be excluded.
However, the classes from the libs in myEar/lib are missing. Any help??
Thanks! 

--
View this message in context: http://openejb.979440.n4.nabble.com/Bug-TomEE-43-library-directory-ignored-is-fixed-in-1-0-0-beta-2-tp4517874p4522846.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.

Re: Bug TomEE-43 "library-directory ignored" is fixed in 1.0.0-beta-2 ??

Posted by nj00yy_1 <78...@qq.com>.
Hi,

I have 2 questions about how to use TomEE. 
(1) To deploy an EAR directory, what do I need to do? Just copy my ear
directory to TomEE/webapps and then startup.bat? Do I need to set any
configuration?
If I deploy ear in above way, Is <library-directory> supported?

(2) I cheched my tomEE environment with the EAR from
https://sourceforge.net/projects/opencrx/files/opencrx/2.9.1/. It is
contained in the opencrxServer-2.9.1-installer.jre-1.6.jar (directory
opencrxServer-2.9.1/apache-tomee-webprofile-1.0.0/apps/). 

I got the following errors during the deployment. Did I miss something? Any
help?

Apr 5, 2012 12:23:02 AM org.apache.catalina.core.ContainerBase
addChildInternal
SEVERE: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/opencrx-core-CRX]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:812)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:607)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1055)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:978)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1370)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:294)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1242)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1400)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1410)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1389)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.tomee.catalina.TomEERuntimeException:
org.apache.openejb.OpenEJBException: Unable to load servlet class:
org.openmdx.application.rest.http.RestServlet_2:
org.openmdx.application.rest.http.RestServlet_2
at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:598)
at
org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:545)
at
org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:117)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5103)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
... 15 more
Caused by: org.apache.openejb.OpenEJBException: Unable to load servlet
class: org.openmdx.application.rest.http.RestServlet_2:
org.openmdx.application.rest.http.RestServlet_2
at
org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:1705)
at
org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:1482)
at
org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:293)
at
org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:263)
at
org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:693)
at
org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:588)
... 21 more
Caused by: java.lang.ClassNotFoundException:
org.openmdx.application.rest.http.RestServlet_2
at
org.apache.openejb.core.TempClassLoader.loadClass(TempClassLoader.java:97)
at
org.apache.openejb.core.TempClassLoader.loadClass(TempClassLoader.java:64)
at
org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:1702)
... 26 more
Apr 5, 2012 12:23:02 AM org.apache.catalina.startup.HostConfig
deployDirectory
SEVERE: Error deploying web application directory opencrx-core-CRX
java.lang.IllegalStateException: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/opencrx-core-CRX]]
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:816)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:787)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:607)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1055)
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:978)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1370)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:294)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1242)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1400)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1410)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1389)
at java.lang.Thread.run(Thread.java:662)

--
View this message in context: http://openejb.979440.n4.nabble.com/Bug-TomEE-43-library-directory-ignored-is-fixed-in-1-0-0-beta-2-tp4517874p4534072.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.

Re: Bug TomEE-43 "library-directory ignored" is fixed in 1.0.0-beta-2 ??

Posted by Romain Manni-Bucau <rm...@gmail.com>.
We are waiting some dependencies releases but we hope a release this mounth.

Le 1 avr. 2012 13:13, "nj00yy_1" <78...@qq.com> a écrit :

> Thanks very much! Do you know when 1.0.0-beta-3 will be released?
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Bug-TomEE-43-library-directory-ignored-is-fixed-in-1-0-0-beta-2-tp4517874p4523188.html
> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>

Re: Bug TomEE-43 "library-directory ignored" is fixed in 1.0.0-beta-2 ??

Posted by nj00yy_1 <78...@qq.com>.
Thanks very much! Do you know when 1.0.0-beta-3 will be released?

--
View this message in context: http://openejb.979440.n4.nabble.com/Bug-TomEE-43-library-directory-ignored-is-fixed-in-1-0-0-beta-2-tp4517874p4523188.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.

Re: Bug TomEE-43 "library-directory ignored" is fixed in 1.0.0-beta-2 ??

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Here the tomee snapshot:
https://repository.apache.org/content/groups/snapshots/org/apache/openejb/apache-tomee/1.0.0-beta-3-SNAPSHOT/

Here the galleria (which is not owned by apache):
https://bitbucket.org/VineetReynolds/java-ee-6-galleria/

Le 1 avr. 2012 11:18, "nj00yy_1" <78...@qq.com> a écrit :
Hi,

Thanks for your reply. I am new to TomEE and apache softwares. Would you
please give me more detailed information for


"javaee-galleria (on bitbucket) with
this patch: https://gist.github.com/2079015 works.

Maybe tr...
For instance, links to javaee-galleria (on bitbucket), links to apache
snapshot repository. Or you can give me an EAR if you have.

Thanks very much!

--
View this message in context:
http://openejb.979440.n4.nabble.com/Bug-TomEE-43-library-directory-ignored-is-fixed-in-1-0-0-beta-2-tp4517874p4523075.html

Sent from the OpenEJB Dev mailing list archive at Nabble.com.

Re: Bug TomEE-43 "library-directory ignored" is fixed in 1.0.0-beta-2 ??

Posted by nj00yy_1 <78...@qq.com>.
Hi, 

Thanks for your reply. I am new to TomEE and apache softwares. Would you
please give me more detailed information for 

"javaee-galleria (on bitbucket) with 
this patch: https://gist.github.com/2079015 works. 

Maybe try the snapshot too (on apache snapshot repository). "

For instance, links to javaee-galleria (on bitbucket), links to apache
snapshot repository. Or you can give me an EAR if you have. 

Thanks very much!

--
View this message in context: http://openejb.979440.n4.nabble.com/Bug-TomEE-43-library-directory-ignored-is-fixed-in-1-0-0-beta-2-tp4517874p4523075.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.

Re: Bug TomEE-43 "library-directory ignored" is fixed in 1.0.0-beta-2 ??

Posted by Romain Manni-Bucau <rm...@gmail.com>.
I dont have any ready to run ear but javaee-galleria (on bitbucket) with
this patch: https://gist.github.com/2079015 works.

Maybe try the snapshot too (on apache snapshot repository).

There was in beta2 an issue which is not the same but can lead to close
error.

- Romain

Le 1 avr. 2012 09:11, "nj00yy_1" <78...@qq.com> a écrit :
Do you have any sample EAR for TomEE? I want to verify my evnironment with a
simple sample EAR. Thanks.

--
View this message in context:
http://openejb.979440.n4.nabble.com/Bug-TomEE-43-library-directory-ignored-is-fixed-in-1-0-0-beta-2-tp4517874p4522911.html

Sent from the OpenEJB Dev mailing list archive at Nabble.com.

Re: Bug TomEE-43 "library-directory ignored" is fixed in 1.0.0-beta-2 ??

Posted by nj00yy_1 <78...@qq.com>.
Do you have any sample EAR for TomEE? I want to verify my evnironment with a
simple sample EAR. Thanks.

--
View this message in context: http://openejb.979440.n4.nabble.com/Bug-TomEE-43-library-directory-ignored-is-fixed-in-1-0-0-beta-2-tp4517874p4522911.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.