Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-1416

MyFaces doesnt work with Tomcat 5.0.28 and 5.5

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.0.9m9, 1.1.1
    • None
    • website
    • None
    • Tomcat 5.0.28 and 5.5

    Description

      I have experiencing a wierd problem with MyFaces while deploying it to Tomcat Application Server

      ->Deploying the web application for the first time works using MyFaces 1.1.1 or MyFaces 1.0.9 onto Tomcat 5.0.28 or 5.5

      -> When i Undeploy the application using Tomcat Manager Console the problem starts
      1) it doesnt removes the application completely from the webapps directory of Tomcat. The left over folder will be WEB-INF/lib/myfaces*.jar files
      2) when i try to physically delete this folder it pops up with a Alert saying myfaces.jar is used by another person or program whereas the fact is no other program is deployed onto Tomcat or i see no references of it. Anyhow Undeploy from Tomcat should completly remove the web application without leaving a foot print of WEB-INF/lib/myfaces*.jar folder saying its referenced by other program

      3) So finally i stop the Tomcat application server. Now i am in a position to physically delete the web application under webapps directory i.e. WEB-INF/lib/myfaces*.jar

      4) Now onwards subsequent fresh deployments of web application will not go thru and give following error message

      Sep 20, 2006 5:18:18 PM org.apache.catalina.startup.HostConfig deployWAR
      INFO: Deploying web application archive TestFaces.war
      log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax).
      log4j:WARN Please initialize the log4j system properly.
      Sep 20, 2006 5:18:22 PM org.apache.catalina.core.StandardContext start
      SEVERE: Error listenerStart
      Sep 20, 2006 5:18:22 PM org.apache.catalina.core.StandardContext start
      SEVERE: Context [/TestFaces] startup failed due to previous errors

      5) So i look at the webapp folder quite amazingly the application got deployed successfully with all the jar files etc i mean the packaging is perfect but the tomcat console shows the error and also the application doest show up on Tomcat Manager Console

      6) Also i figured out the application automatically got undeployed by refreshing the tomcat console from the following message & webapp folder
      Sep 20, 2006 5:20:17 PM org.apache.catalina.core.ApplicationContext log
      INFO: HTMLManager: undeploy: Undeploying web application at '/TestFaces'
      Sep 20, 2006 5:20:17 PM org.apache.catalina.core.StandardContext stop
      INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/TestFaces] has not been started
      Sep 20, 2006 5:20:17 PM org.apache.catalina.startup.HostConfig checkResources
      INFO: Undeploying context [/TestFaces]
      Sep 20, 2006 5:20:17 PM org.apache.catalina.core.ApplicationContext log
      INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'
      Sep 20, 2006 5:20:20 PM org.apache.catalina.core.ApplicationContext log
      INFO: HTMLManager: undeploy: Undeploying web application at '/TestFaces'
      Sep 20, 2006 5:20:20 PM org.apache.catalina.core.ApplicationContext log
      INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'
      Sep 20, 2006 5:20:23 PM org.apache.catalina.core.ApplicationContext log
      INFO: HTMLManager: undeploy: Undeploying web application at '/TestFaces'
      Sep 20, 2006 5:20:23 PM org.apache.catalina.startup.HostConfig checkResources
      INFO: Undeploying context [/TestFaces]
      Sep 20, 2006 5:20:23 PM org.apache.catalina.core.ApplicationContext log
      INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'
      Sep 20, 2006 5:20:24 PM org.apache.catalina.core.ApplicationContext log
      INFO: HTMLManager: undeploy: Undeploying web application at '/TestFaces'
      Sep 20, 2006 5:20:24 PM org.apache.catalina.core.ApplicationContext log
      INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'
      Sep 20, 2006 5:20:33 PM org.apache.catalina.core.ApplicationContext log
      INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'

      Any pointers/suggestion to mail2bansi@yahoo.com will be highly appreciated

      Regards
      Bansi

      Attachments

        Activity

          People

            Unassigned Unassigned
            mail2bansi bansi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: