tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thiago Veronezi <thi...@veronezi.org>
Subject Re: IndexOutOfBoundsException on javee blueprint application deployment
Date Tue, 07 Feb 2012 12:13:00 GMT
Hi,
I just tried it and works fine...

war file: http://blogs.sun.com/enterprisetechtips/resource/ejb-ejb31-war.war

output:
ejb31-war Servlet
HelloBean says : Hello, world
Singleton property access count = 2

Tomee:
http://www.apache.org/dyn/closer.cgi/openejb/4.0.0-beta-2/apache-tomee-1.0.0-beta-2-webprofile.zip


Are you using the beta-2 version?

[]s,
Thiago.




2012/2/7 Radoslav Ivanov <rady66@hotmail.com>

>  Hello
>
> I am trying to *deploy JEE6* blueprint *application *from glassfish
> (attached *ejb31-war.war*) on* TomEE Web Profile 1.0.0 *and get the error
> below.
>
> *Could anyone give an advice how to proceed and what is causing the error*
> ?
>
> *Details*:
> INFO: OpenWebBeans Container is starting...
> Feb 7, 2012 12:11:54 PM org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [CdiPlugin]
> Feb 7, 2012 12:11:54 PM org.apache.webbeans.plugins.PluginLoader startUp
> INFO: Adding OpenWebBeansPlugin : [OpenWebBeansJsfPlugin]
> Feb 7, 2012 12:11:54 PM org.apache.openejb.cdi.BeansDeployer
> validateInjectionPo
> ints
> INFO: All injection points were validated successfully.
> Feb 7, 2012 12:11:54 PM org.apache.openejb.cdi.OpenEJBLifecycle
> startApplication
>
> INFO: OpenWebBeans Container has started, it took [6] ms.
> Feb 7, 2012 1:05:20 PM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive ejb31-war.war
> TomcatWebAppBuilder.start
> Feb 7, 2012 1:12:35 PM org.apache.catalina.core.ContainerBase
> addChildInternal
> SEVERE: ContainerBase.addChild: start:
> org.apache.catalina.LifecycleException: *Failed to start component
> [StandardEngin
> e[Catalina].StandardHost[localhost].StandardContext[/ejb31-war]]*
>         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:78
> 7)
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:607)
>
>         at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:932)
>
>         at
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:723
> )
>         at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470
> )
>         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(Lifecycl
> eSupport.java:119)
>         at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBa
> se.java:90)
>         at
> org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBas
> e.java:1242)
>         at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
> rocessChildren(ContainerBase.java:1400)
>         at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
> rocessChildren(ContainerBase.java:1410)
>         at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.r
> un(ContainerBase.java:1389)
>         at java.lang.Thread.run(Thread.java:662)
> *Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
>         at java.util.ArrayList.RangeCheck(ArrayList.java:547)
>         at java.util.ArrayList.get(ArrayList.java:322)
>         at
> org.apache.openejb.tomcat.catalina.TomcatWebAppBuilder.loadWebModule(
> TomcatWebAppBuilder.java:892)*
>         at
> org.apache.openejb.tomcat.catalina.TomcatWebAppBuilder.loadApplicatio
> n(TomcatWebAppBuilder.java:879)
>         at
> org.apache.openejb.tomcat.catalina.TomcatWebAppBuilder.startInternal(
> TomcatWebAppBuilder.java:416)
>         at
> org.apache.openejb.tomcat.catalina.TomcatWebAppBuilder.configureStart
> (TomcatWebAppBuilder.java:377)
>         at
> org.apache.openejb.tomcat.catalina.GlobalListenerSupport.lifecycleEve
> nt(GlobalListenerSupport.java:117)
>         at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
> eSupport.java:119)
>         at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBa
> se.java:90)
>         at
> org.apache.catalina.core.StandardContext.startInternal(StandardContex
> t.java:5103)
>         at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:148)
>         ... 15 more
> Feb 7, 2012 1:12:35 PM org.apache.catalina.startup.HostConfig deployWAR
> SEVERE: Error deploying web application archive ejb31-war.war
> java.lang.IllegalStateException: ContainerBase.addChild: start:
> org.apache.catal
> ina.LifecycleException: Failed to start component
> [StandardEngine[Catalina].Stan
> dardHost[localhost].StandardContext[/ejb31-war]]
>         at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
> .java:816)
>         at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:78
> 7)
>         at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:607)
>
>         at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:932)
>
>         at
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:723
> )
>         at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470
> )
>         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(Lifecycl
> eSupport.java:119)
>         at
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBa
> se.java:90)
>         at
> org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBas
> e.java:1242)
>         at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
> rocessChildren(ContainerBase.java:1400)
>         at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.p
> rocessChildren(ContainerBase.java:1410)
>         at
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.r
> un(ContainerBase.java:1389)
>         at java.lang.Thread.run(Thread.java:662)
> Listening for transport dt_socket at address: 8000
>
>
> Best regards
> Radoslav Ivanov
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message