0 Replies Latest reply on Feb 22, 2006 8:12 AM by louise_za

    Trouble deploying JSF application

    louise_za

      Hi
      I am trying to deploy a very simple JSF enabled application using JBoss. I am using jboss-portal-2.2.0-bundled, and the portal is deployed by the app server:


      13:31:35,218 INFO [TomcatDeployer] deploy, ctxPath=/portal-core, warUrl=.../dep
      loy/jboss-portal.sar/portal-core.war/
      13:31:35,859 INFO [FacesConfigurator] Reading standard config org/apache/myface
      s/resource/standard-faces-config.xml
      13:31:35,953 INFO [FacesConfigurator] Reading config jar:file:/C:/jboss-portal-
      2.2.0-bundled/server/default/tmp/deploy/tmp45109jsf-facelets.jar!/META-INF/faces
      -config.xml
      13:31:35,953 INFO [FacesConfigurator] Reading config jar:file:/C:/jboss-portal-
      2.2.0-bundled/server/default/tmp/deploy/tmp45121tomahawk.jar!/META-INF/faces-con
      fig.xml
      13:31:36,046 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
      13:31:36,156 ERROR [LocaleUtils] Locale name null or empty, ignoring
      13:31:36,875 INFO [StartupServletContextListener] ServletContext 'C:\jboss-port
      al-2.2.0-bundled\server\default\.\deploy\jboss-portal.sar\portal-core.war\' init
      ialized.



      I get the following error messages when I try to deploy my app:
      13:31:56,765 INFO [TomcatDeployer] deploy, ctxPath=/jsfks, warUrl=.../tmp/deplo
      y/tmp45192jsfks-exp.war/
      13:31:59,390 WARN [ConfigureListener] Can't parse configuration file:jar:file:/
      C:/jboss-portal-2.2.0-bundled/server/default/tmp/deploy/tmp45121tomahawk.jar!/ME
      TA-INF/faces-config.xml
      java.io.IOException: Server returned HTTP response code: 403 for URL: http://jav
      a.sun.com/dtd/web-facesconfig_1_1.dtd
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
      nection.java:1149)...

      There are many errors after this culminating with:
      --- Incompletely deployed packages ---
      org.jboss.deployment.DeploymentInfo@6396cd08 { url=file:/C:/jboss-portal-2.2.0-b
      undled/server/default/deploy/jsfks.war }
      deployer: MBeanProxyExt[jboss.web:service=WebServer]
      status: Deployment FAILED reason: URL file:/C:/jboss-portal-2.2.0-bundled/serv
      er/default/tmp/deploy/tmp45192jsfks-exp.war/ deployment failed
      state: FAILED
      watch: file:/C:/jboss-portal-2.2.0-bundled/server/default/deploy/jsfks.war
      altDD: null
      lastDeployed: 1140607916718
      lastModified: 1140607916703
      mbeans:

      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.web.deployment:war=jsfks.war,id=1670827272
      State: FAILED
      Reason: org.jboss.deployment.DeploymentException: URL file:/C:/jboss-portal-2.
      2.0-bundled/server/default/tmp/deploy/tmp45192jsfks-exp.war/ deployment failed

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.web.deployment:war=jsfks.war,id=1670827272
      State: FAILED
      Reason: org.jboss.deployment.DeploymentException: URL file:/C:/jboss-portal-2.
      2.0-bundled/server/default/tmp/deploy/tmp45192jsfks-exp.war/ deployment failed


      Why is the faces-config.xml correctly parsed for the portal app but not for mine?