Can you post your web.xml?

Wild shot: did you get rid of the StartupServletContextListener in
web.xml, as this is not necessary in MyFaces 1.1.0 anymore?

regards,

Martin

On 9/20/05, Boris Klug <[EMAIL PROTECTED]> wrote:
> Hi!
> 
> today I migrated from MyFaces 1.0.9m9 to 1.1.0. First I want to say
> thank you to the whole MyFaces team for the work done.
> 
> Now to my problem: I deploy my application to Tomcat 5.5.9, the app
> works fine. When I redeploy the same app, I get the following error in
> Tomcat:
> 
> 19.09.2005 15:19:16 org.apache.catalina.startup.HostConfig checkResources
> INFO: Undeploying context [/XXX]
> 19.09.2005 15:19:16 org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive XXX.war
> 2005-09-19 15:19:21,229 INFO FacesConfigurator: Reading standard config
> org/apache/myfaces/resource/standard-faces-config.xml
> 2005-09-19 15:19:21,349 INFO FacesConfigurator: Reading config
> jar:file:/C:/tomcat-5.5.9/webapps/ZederBrowser/WEB-INF/lib/tomahawk.jar!/META-INF/faces-config.xml
> 2005-09-19 15:19:21,419 INFO FacesConfigurator: Reading config
> /WEB-INF/faces-config.xml
> 2005-09-19 15:19:21,459 INFO FacesConfigurator: Reading config
> /WEB-INF/faces-config.xml
> 2005-09-19 15:19:23,222 INFO StartupServletContextListener:
> ServletContext 'c:\tomcat-5.5.9\webapps\XXX\' initialized.
> 19.09.2005 15:19:33 org.apache.catalina.startup.HostConfig checkResources
> INFO: Undeploying context [/XXX]
> 19.09.2005 15:19:33 org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive XXX.war
> 19.09.2005 15:19:34 org.apache.catalina.startup.ContextConfig
> applicationWebConfig
> ===>>>
> INFO: Missing application web.xml, using defaults only
> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/XXXX]
> 19.09.2005 15:19:34 org.apache.catalina.core.StandardContext start
> SCHWERWIEGEND: Error listenerStart
> 19.09.2005 15:19:34 org.apache.catalina.core.StandardContext start
> SCHWERWIEGEND: Context [/XXX] startup failed due to previous errors
> <<<===
> 
> Tomcat first tries to undeploy my application - and this fails. The
> problems seems to be in the tomahawk.jar. I think that a lock exists to
> one of the files inside the tomahawk.jar file.
> 
> I tried the "anti locking features" of Tomncat 5.5.9, I added the
> following in as META-INF\context.xml to my application and also in the
> server config, but it does not help:
> 
> <Context>
>      <WatchedResource reloadable="true"
>              antiResourceLocking="true" antiJARLocking="true">
>        WEB-INF/web.xml
>      </WatchedResource>
> </Context>
> 
> So what to do?
> 
> 
> 
> 


-- 

http://www.irian.at
Your JSF powerhouse - 
JSF Trainings in English and German

Reply via email to