Hi Romain, I have another question. I would like to get the standalone drop-in war for 1.6.1-SNAPSHOT. So I can install TomEE using war mechanism, How can I obtain that?
Thanks! Alessandro Ferrucci On Sun, Dec 29, 2013 at 8:26 AM, Alessandro Ferrucci < [email protected]> wrote: > OK using the new snapshot the webaccess deploys fine, thank you. It was > my understanding, however, that using webaccess I would be able to see all > deployed webservices and see their endpoints, I cannot see that in this > webaccess app, the only thing I see is scripting and log files. Am I > missing something? > > Thanks! > Alessandro Ferrucci > > > On Sat, Dec 28, 2013 at 12:13 PM, Romain Manni-Bucau < > [email protected]> wrote: > >> Hi >> >> can you try the same against the snapshot ( >> >> https://repository.apache.org/content/groups/snapshots/org/apache/openejb/apache-tomee/1.6.1-SNAPSHOT/ >> ). Just would like to check it is not a fixed issues I have in mind. >> Romain Manni-Bucau >> Twitter: @rmannibucau >> Blog: http://rmannibucau.wordpress.com/ >> LinkedIn: http://fr.linkedin.com/in/rmannibucau >> Github: https://github.com/rmannibucau >> >> >> >> 2013/12/28 Alessandro Ferrucci <[email protected]>: >> > Hello, >> > >> > I have installed TomEE using the all-inclusive zip archive >> (7.0.47/1.6.0). >> > >> > I want to install the tomee-webaccess-1.6.0.war that I downloaded from >> > http://repo1.maven.org/maven2/org/apache/openejb/tomee-webaccess/1.6.0/ >> > >> > When I try to deploy the war, I get a bunch of errors: >> > >> > SEVERE: Unable to deploy collapsed ear in war >> > >> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/tomee-webaccess-1.6.0] >> > java.lang.ClassCastException: class >> > org.apache.tomee.webaccess.rest.ApplicationConfig >> > at java.lang.Class.asSubclass(Class.java:3046) >> > at >> > >> org.apache.xbean.finder.AnnotationFinder.findSubclasses(AnnotationFinder.java:994) >> > at >> > >> org.apache.xbean.finder.AnnotationFinder.findSubclasses(AnnotationFinder.java:984) >> > at >> > >> org.apache.xbean.finder.AsynchronousInheritanceAnnotationFinder.findSubclasses(AsynchronousInheritanceAnnotationFinder.java:89) >> > at >> > >> org.apache.openejb.config.FinderFactory$ModuleLimitedFinder.findSubclasses(FinderFactory.java:270) >> > at >> > >> org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:1114) >> > at >> > >> org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:463) >> > at >> > >> org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:351) >> > at >> > >> org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:396) >> > at >> > >> org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:938) >> > at >> > >> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1171) >> > at >> > >> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1051) >> > at >> > >> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:127) >> > 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:5322) >> > at >> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >> > at >> > >> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) >> > at >> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) >> > at >> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) >> > at >> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:983) >> > at >> > >> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1660) >> > at >> > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) >> > at >> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) >> > at java.util.concurrent.FutureTask.run(FutureTask.java:166) >> > at >> > >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >> > at >> > >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >> > at java.lang.Thread.run(Thread.java:722) >> > >> > Dec 28, 2013 11:53:55 AM org.apache.catalina.core.ContainerBase >> removeChild >> > SEVERE: ContainerBase.removeChild: destroy: >> > org.apache.catalina.LifecycleException: An invalid Lifecycle transition >> was >> > attempted ([before_destroy]) for component >> > >> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/tomee-webaccess-1.6.0]] >> > in state [STARTING_PREP] >> > at >> > >> org.apache.catalina.util.LifecycleBase.invalidTransition(LifecycleBase.java:409) >> > at >> > org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:299) >> > at >> > >> org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1041) >> > at >> > >> org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:1477) >> > at >> > >> org.apache.tomee.catalina.TomcatWebAppBuilder.undeploy(TomcatWebAppBuilder.java:1458) >> > at >> > >> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1211) >> > at >> > >> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1051) >> > at >> > >> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:127) >> > 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:5322) >> > at >> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >> > at >> > >> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) >> > at >> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) >> > at >> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) >> > at >> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:983) >> > at >> > >> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1660) >> > at >> > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) >> > at >> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) >> > at java.util.concurrent.FutureTask.run(FutureTask.java:166) >> > at >> > >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >> > at >> > >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >> > at java.lang.Thread.run(Thread.java:722) >> > >> > Dec 28, 2013 11:53:55 AM org.apache.catalina.core.ContainerBase >> > addChildInternal >> > SEVERE: ContainerBase.addChild: start: >> > org.apache.catalina.LifecycleException: Failed to start component >> > >> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/tomee-webaccess-1.6.0]] >> > at >> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154) >> > at >> > >> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) >> > at >> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) >> > at >> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) >> > at >> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:983) >> > at >> > >> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1660) >> > at >> > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) >> > at >> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) >> > at java.util.concurrent.FutureTask.run(FutureTask.java:166) >> > at >> > >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >> > at >> > >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >> > at java.lang.Thread.run(Thread.java:722) >> > Caused by: org.apache.tomee.catalina.TomEERuntimeException: >> > java.lang.ClassCastException: class >> > org.apache.tomee.webaccess.rest.ApplicationConfig >> > at >> > >> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1214) >> > at >> > >> org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1051) >> > at >> > >> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:127) >> > 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:5322) >> > at >> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >> > ... 11 more >> > Caused by: java.lang.ClassCastException: class >> > org.apache.tomee.webaccess.rest.ApplicationConfig >> > at java.lang.Class.asSubclass(Class.java:3046) >> > at >> > >> org.apache.xbean.finder.AnnotationFinder.findSubclasses(AnnotationFinder.java:994) >> > at >> > >> org.apache.xbean.finder.AnnotationFinder.findSubclasses(AnnotationFinder.java:984) >> > at >> > >> org.apache.xbean.finder.AsynchronousInheritanceAnnotationFinder.findSubclasses(AsynchronousInheritanceAnnotationFinder.java:89) >> > at >> > >> org.apache.openejb.config.FinderFactory$ModuleLimitedFinder.findSubclasses(FinderFactory.java:270) >> > at >> > >> org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:1114) >> > at >> > >> org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:463) >> > at >> > >> org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:351) >> > at >> > >> org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:396) >> > at >> > >> org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:938) >> > at >> > >> org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1171) >> > ... 17 more >> > >> > Dec 28, 2013 11:53:55 AM org.apache.catalina.startup.HostConfig >> deployWAR >> > SEVERE: Error deploying web application archive >> > C:\apache-tomee-1.6.0-webprofile\webapps\tomee-webaccess-1.6.0.war >> > java.lang.IllegalStateException: ContainerBase.addChild: start: >> > org.apache.catalina.LifecycleException: Failed to start component >> > >> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/tomee-webaccess-1.6.0]] >> > at >> > >> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904) >> > at >> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) >> > at >> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) >> > at >> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:983) >> > at >> > >> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1660) >> > at >> > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) >> > at >> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) >> > at java.util.concurrent.FutureTask.run(FutureTask.java:166) >> > at >> > >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >> > at >> > >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >> > at java.lang.Thread.run(Thread.java:722) >> > >> > Dec 28, 2013 11:53:55 AM org.apache.catalina.startup.HostConfig >> > deployDirectory >> > INFO: Deploying web application directory >> > C:\apache-tomee-1.6.0-webprofile\webapps\docs >> > Dec 28, 2013 11:53:55 AM org.apache.tomee.catalina.TomcatWebAppBuilder >> init >> > >> > What could the issue be? >> > >> > I have attached the entire log file for your convenience. >> > > > > -- > Signed, > Alessandro Ferrucci > -- Signed, Alessandro Ferrucci
