Processannotationurls is trigeered for @WebXXX annotations

That said, some test with trunk (you can get the zip of trunk from github
openejb proxy) will be valuable
Le 31 déc. 2012 17:20, "Enrico Olivelli" <eolive...@gmail.com> a écrit :

> At work I cannot checkout code from ASF repo and so I can try only with
> the downloadable packages
>
> I checked out a TomEE 1.5.1 at home and I tried to reproduce the problem,
> I could not reproduce an error with the same stacktrace but:
> - deplyoing a  webapp only with a index.jsp (no web.xml, no java classes)
> works fine
> - deploy any app with a @WebService@Stateless class produces the error
> below, as TomEE is trying to unpack the app
>
> in trunk all my home-tests are working fine (@WebService, @Stateless,
> @Schedule, @PersistenceContext.....)
>
> on the app that I cannot deploy "at work" I do not use JAX-WS webservices,
> but I don't now how to trigger "processAnnotationsUrl" method execution in
> order to reproduce the original error
>
> this is the new error, It seems that TomEE is looking for
> TOMCATHOME/webapps/ROOT
>
> SEVERE: Error deploying JAX-WS Web Service for EJB NewWebService
> org.apache.openejb.loader.**Files$**FileDoesNotExistException: Does not
> exist: /data/apache-tomee-plus-1.5.1/**webapps/ROOT
>         at org.apache.openejb.loader.**Files.exists(Files.java:95)
>         at org.apache.openejb.loader.**Files.file(Files.java:105)
>         at org.apache.openejb.loader.**Zips.unzip(Zips.java:37)
>         at org.apache.openejb.loader.**Zips.unzip(Zips.java:29)
>         at org.apache.openejb.util.**JarExtractor.extract(**
> JarExtractor.java:93)
>         at org.apache.openejb.util.**JarExtractor.extract(**
> JarExtractor.java:64)
>         at org.apache.openejb.config.**DeploymentLoader.unpack(**
> DeploymentLoader.java:1614)
>         at org.apache.tomee.catalina.**TomcatWebAppBuilder.init(**
> TomcatWebAppBuilder.java:690)
>         at org.apache.tomee.catalina.**GlobalListenerSupport.**
> lifecycleEvent(**GlobalListenerSupport.java:94)
>         at org.apache.catalina.util.**LifecycleSupport.**
> fireLifecycleEvent(**LifecycleSupport.java:119)
>         at org.apache.catalina.util.**LifecycleBase.**fireLifecycleEvent(*
> *LifecycleBase.java:90)
>         at org.apache.catalina.util.**LifecycleBase.**setStateInternal(**
> LifecycleBase.java:402)
>         at org.apache.catalina.util.**LifecycleBase.init(**
> LifecycleBase.java:99)
>         at org.apache.catalina.util.**LifecycleBase.start(**
> LifecycleBase.java:139)
>         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.tomee.webservices.**TomcatWsRegistry.**
> deployInFakeWebapp(**TomcatWsRegistry.java:204)
>         at org.apache.tomee.webservices.**TomcatWsRegistry.**
> addWsContainer(**TomcatWsRegistry.java:196)
>
>
> Il 30/12/2012 10:44, Romain Manni-Bucau ha scritto:
>
>> Hi
>>
>> Im a bit lost with your versions, can you check tomee 1.5.1? ( and maybe
>> trunk)
>> Le 30 déc. 2012 08:27, "Enrico Olivelli" <eolive...@gmail.com> a écrit :
>>
>>  may I create an issue in JIRA for this problem ?
>>>
>>> it actually blocks me, I cannot upgrade apps on production environment
>>> without refactoring file system layouts
>>>
>>> thank you
>>> Enrico
>>>
>>>
>>> Il 28/12/2012 15:53, Enrico Olivelli - Diennea ha scritto:
>>>
>>>  Hi all,
>>>> I can deploy a webapp as ROOT context  putting my webapp code in
>>>> TOMEEDIR/webapps/ROOT
>>>>
>>>> But I cannot deploy ita s ROOT if I use this deployment scenario:
>>>>
>>>> -          Put my webapp on /opt/myapp
>>>>
>>>> -          Put TOMEEDIR/conf/Catalina/****localhost/ROOT.xml with
>>>> <Context
>>>> docBase='/opt/myapp' path='' >
>>>>
>>>> I'm using Tomee 1.1
>>>> http://svn.apache.org/repos/****asf/openejb/tags/openejb-4.5.****<http://svn.apache.org/repos/**asf/openejb/tags/openejb-4.5.**>
>>>> 1/tomee/tomee-catalina/src/****main/java/org/apache/tomee/**
>>>> catalina/OpenEJBContextConfig.****java<http://svn.apache.org/**
>>>> repos/asf/openejb/tags/**openejb-4.5.1/tomee/tomee-**
>>>> catalina/src/main/java/org/**apache/tomee/catalina/**
>>>> OpenEJBContextConfig.java<http://svn.apache.org/repos/asf/openejb/tags/openejb-4.5.1/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/OpenEJBContextConfig.java>
>>>> >
>>>>
>>>> on TomEE 1.0 (openejb 4.5) method processAnnotationsUrl was really
>>>> different
>>>> http://svn.apache.org/repos/****asf/openejb/tags/openejb-4.5.****<http://svn.apache.org/repos/**asf/openejb/tags/openejb-4.5.**>
>>>> 0/tomee/tomee-catalina/src/****main/java/org/apache/tomee/**
>>>> catalina/OpenEJBContextConfig.****java<http://svn.apache.org/**
>>>> repos/asf/openejb/tags/**openejb-4.5.0/tomee/tomee-**
>>>> catalina/src/main/java/org/**apache/tomee/catalina/**
>>>> OpenEJBContextConfig.java<http://svn.apache.org/repos/asf/openejb/tags/openejb-4.5.0/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina/OpenEJBContextConfig.java>
>>>> >
>>>>
>>>> I found a workaround:
>>>>
>>>> -          Put my webapp on /opt/myapp/ROOT
>>>>
>>>> -          Put TOMEEDIR/conf/Catalina/****localhost/ROOT.xml with
>>>> <Context
>>>> docBase='/opt/myapp/ROOT' path='' >
>>>>
>>>> What do you think ?
>>>>
>>>> Thank you
>>>>
>>>>
>>>> this is the deployment error
>>>> org.apache.catalina.****LifecycleException: Failed to start component
>>>> [StandardEngine[Catalina].****StandardHost[localhost].****
>>>> StandardContext[]]
>>>>           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.deployDescriptor(**
>>>> HostConfig.java:657)
>>>>           at org.apache.catalina.startup.****
>>>> HostConfig$DeployDescriptor.**
>>>> run(HostConfig.java:1637)
>>>>           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:1110)
>>>>           at java.util.concurrent.****ThreadPoolExecutor$Worker.run(**
>>>> **
>>>> ThreadPoolExecutor.java:603)
>>>>           at java.lang.Thread.run(Thread.****java:722)
>>>> Caused by: java.lang.****IllegalArgumentException: can't find path
>>>> under
>>>> current webapp deployment []
>>>>           at org.apache.tomee.catalina.****OpenEJBContextConfig.**
>>>> processAnnotationsUrl(****OpenEJBContextConfig.java:297)
>>>>           at org.apache.catalina.startup.****ContextConfig.webConfig(**
>>>> ContextConfig.java:1306)
>>>>           at org.apache.tomee.catalina.****OpenEJBContextConfig.****
>>>> webConfig(
>>>> **OpenEJBContextConfig.java:**188)
>>>>           at org.apache.catalina.startup.****
>>>> ContextConfig.configureStart(****
>>>> ContextConfig.java:878)
>>>>           at org.apache.tomee.catalina.****OpenEJBContextConfig.**
>>>> configureStart(****OpenEJBContextConfig.java:76)
>>>>           at org.apache.catalina.startup.****
>>>> ContextConfig.lifecycleEvent(****
>>>> ContextConfig.java:369)
>>>>           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:5173)
>>>>           at org.apache.catalina.util.****LifecycleBase.start(**
>>>> LifecycleBase.java:150)
>>>>          ... 11 more
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Enrico Olivelli
>>>> Software Development Manager @Diennea
>>>> Tel.: (+39) 0546 667432 - Int. 925
>>>> Viale G.Marconi 30/14 - 48018 Faenza (RA)
>>>>
>>>> MagNews - E-mail Marketing Solutions
>>>> http://www.magnews.it<http://****www.magnews.it/ <
>>>> http://www.magnews.it/>>
>>>> Diennea - Digital Marketing Solutions
>>>> http://www.diennea.com<http://****www.diennea.com/<http://www.**
>>>> diennea.com/ <http://www.diennea.com/>>
>>>>
>>>>
>>>>
>>>> ______________________________****__
>>>> Scarica la ricerca completa di MagNews "Digital Marketing Trends 2012"
>>>> Quali sono le percezioni relative all'utilizzo dell'email privata e
>>>> aziendale da parte degli utenti internet italiani? E' cambiato qualcosa
>>>> rispetto al 2011?
>>>> http://www.magnews.it/it/****risorse/ricerche/digital-****
>>>> marketing-trends<http://www.magnews.it/it/**risorse/ricerche/digital-**marketing-trends>
>>>> <http://www.**magnews.it/it/risorse/**ricerche/digital-marketing-**
>>>> trends<http://www.magnews.it/it/risorse/ricerche/digital-marketing-trends>
>>>> >
>>>>
>>>>
>>>>
>

Reply via email to