0 Replies Latest reply on Sep 14, 2010 11:02 AM by Raluca Jucan

    JSF Project not working

    Raluca Jucan Newbie

      hi

       

      I am trying to deploy a jsf application on Tomcat5.5 on Debian Version 5.0.3 but I always get this error

       

      org.apache.catalina.core.ApplicationContext log#012INFO: HTMLManager: start: Starting web application at '/GIT'
      org.apache.catalina.core.StandardContext listenerStart#012SEVERE: Error configuring application listener of class com.sun.faces.config.ConfigureListener#012java.lang.ExceptionInInitializerError#012
      at java.lang.Class.initializeClass(libgcj.so.90)#012
      at java.lang.Class.newInstance(libgcj.so.90)#012
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3713)#012
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)#012
      at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1173)#012
      at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:549)#012
      at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:105)#012
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)#012
      at java.lang.reflect.Method.invoke(libgcj.so.90)#012
      at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:244)#012
      at java.security.AccessController.doPrivileged(libgcj.so.90)#012
      at javax.security.auth.Subject.doAsPrivileged(libgcj.so.90)#012
      at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:276#012
      at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)#012
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:262)#012
      at org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:192)#012
      at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:171)#012
      at java.security.AccessController.doPrivileged(libgcj.so.90)#012
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:167)#012
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)#012
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)#012
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)#012
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)#012
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)#012
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)#012
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)#012
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)#012
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)#012
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)#012
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)#012
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)#012
      at java.lang.Thread.run(libgcj.so.90)#012
      Caused by: java.util.MissingResourceException: Bundle com.sun.faces.LogStrings not found for locale de_DE by classloader gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/share/java/commons-daemon.jar,file:/usr/share/tomcat5.5/bin/bootstrap.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}#012
      at java.util.ResourceBundle.getBundle(libgcj.so.90)#012
      at java.util.logging.Logger.<init>(libgcj.so.90)#012
      at java.util.logging.Logger.getLogger(libgcj.so.90)#012
      at com.sun.faces.util.FacesLogger.getLogger(FacesLogger.java:83)#012
      at com.sun.faces.config.ConfigureListener.<clinit>(ConfigureListener.java:117)#012
      at java.lang.Class.initializeClass(libgcj.so.90)#012
      org.apache.catalina.core.StandardContext listenerStart#012SEVERE: Skipped installing application listeners due to previous error(s)
      org.apache.catalina.core.StandardContext start#012SEVERE: Error listenerStart
      org.apache.catalina.core.StandardContext start#012SEVERE: Context [/GIT] startup failed due to previous errors
      org.apache.catalina.core.ApplicationContext log#012INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'

       

      If I try to run the project on my computer localy it works. I have also tried to deploy it on SUSE & Tomcat and it works but on Debian there is always a problem with the ContextListener. Does anybody know what tha cause might be?

       

      thanks a lot