Check tomee.xml, the needed line should be commented
Le 3 déc. 2013 15:57, "Karl-Philipp Richter" <[email protected]> a écrit :

> Hi,
> I deploy in the webapps folder. creating apps directory (which is not
> present in the downloaded archive of version 1.6.0) and
> deploying/copying into it is ignored by the catalina.sh run command.
>
> On 03.12.2013 08:55, Romain Manni-Bucau wrote:
> > Hi
> >
> > You deploy an ear? You put it in webapps or apps?
> >
> > We need more details
> > Le 3 déc. 2013 02:11, "Karl-Philipp Richter" <[email protected]> a
> écrit :
> >
> >> Hi together,
> >> I'm stuck on a ClassCastException "java.lang.ClassCastException:
> >> java.net.URL cannot be cast to java.util.List", probably caused by
> >> identity crisis due to cast between classloaders.
> >> The issue has been reported before (2011), but I'm sure the context is
> >> different and in the threads were no information about the reasons for
> >> the exception.
> >> Relevant part of my log is:
> >> <output>
> >> Dez 03, 2013 2:07:10 AM org.apache.tomee.catalina.TomcatWebAppBuilder
> >> checkHost
> >> Warnung: Error deploying application
> >> /home/richter/apache-tomee-webprofile-1.6.0/webapps/simulation.ear
> >> java.lang.ClassCastException: java.net.URL cannot be cast to
> java.util.List
> >>         at
> >>
> >>
> org.apache.openejb.config.DeploymentLoader.addWebModule(DeploymentLoader.java:789)
> >>         at
> >>
> >>
> org.apache.openejb.config.DeploymentLoader.addWebModule(DeploymentLoader.java:778)
> >>         at
> >>
> >>
> org.apache.openejb.config.DeploymentLoader.createAppModule(DeploymentLoader.java:587)
> >>         at
> >>
> org.apache.openejb.config.DeploymentLoader.load(DeploymentLoader.java:154)
> >>         at
> >>
> >>
> org.apache.tomee.catalina.TomcatWebAppBuilder.checkHost(TomcatWebAppBuilder.java:1939)
> >>         at
> >>
> >>
> org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:133)
> >>         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:1374)
> >>         at
> >>
> >>
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1530)
> >>         at
> >>
> >>
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540)
> >>         at
> >>
> >>
> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1519)
> >>         at java.lang.Thread.run(Thread.java:724)
> >> </output>
> >> The application deploys correctly and runs on glassfish 3.1.2.2. Is this
> >> a bug or did I miss something.
> >>
> >> Any help is appreciated.
> >>
> >> Regards,
> >> Karl-P. Richter
> >>
> >>
> >
>
>
>
>

Reply via email to