0 Replies Latest reply on Dec 4, 2013 8:21 AM by Tomaso Pantera

    JBoss 5.1.0 GA startup problem - Unable to find shared web.xml

    Tomaso Pantera Newbie

      Hi all, we tried to enable http to https redirect in Quality Center appliaction normally by the following steps:

       

      1. Enabling HTTPS and checking that it works

      2. Updating the ..\deploy\jbossweb-tomcat55.sar\conf\web.xml file with the following addition:

      <security-constraint>

      <web-resource-collection>

      <web-resource-name>SUCTR</web-resource-name>

      <url-pattern>/*</url-pattern>     

      </web-resource-collection>

      <user-data-constraint>

      <transport-guarantee>CONFIDENTIAL</transport-guarantee>

      </user-data-constraint>

        </security-constraint>

       

      3. Adding the following line to server.xml file in both <Host> and <Engine> tags:

      <Valve className="org.jboss.web.rewrite.RewriteValve" />

       

      Unfortunately to no avail. HTTPS works, and with HTTP it apparently tries to enable secure connection (we get the IE message)  but after that page does not open anyway.

      In an act of desperation we also edited the (apparently) shared web.xml as instructed in the last reply of the following link:

       

      How can I redirect HTTP to HTTPS in JBoss 5.0.1?

       

      Now the whole application refuses to start, giving the following error in server.log upon starting the service:

      ---8<---

      14:05:34,335 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

       

      DEPLOYMENTS MISSING DEPENDENCIES:

        Deployment "WSDeployerHook_JAXRPC_POST_JSE" is missing the following dependencies:

          Dependency "WebServiceDeployerPostJSE" (should be in state "Create", but is actually in state "Configured")

        Deployment "WSDeployerHook_JAXRPC_PRE_JSE" is missing the following dependencies:

          Dependency "WebServiceDeployerPreJSE" (should be in state "Create", but is actually in state "Instantiated")

        Deployment "WSDeployerHook_JAXWS_POST_JSE" is missing the following dependencies:

          Dependency "WebServiceDeployerPostJSE" (should be in state "Create", but is actually in state "Configured")

        Deployment "WSDeployerHook_JAXWS_PRE_JSE" is missing the following dependencies:

          Dependency "WebServiceDeployerPreJSE" (should be in state "Create", but is actually in state "Instantiated")

        Deployment "WebServer" is missing the following dependencies:

          Dependency "WarDeployer" (should be in state "Configured", but is actually in state "**ERROR**")

        Deployment "WebServiceDeployerPostJSE" is missing the following dependencies:

          Dependency "WarDeployer" (should be in state "Create", but is actually in state "**ERROR**")

        Deployment "WebServiceDeployerPreJSE" is missing the following dependencies:

          Dependency "WarDeployer" (should be in state "Configured", but is actually in state "**ERROR**")

       

      DEPLOYMENTS IN ERROR:

        Deployment "WarDeployer" is in error due to the following reason(s): java.lang.IllegalStateException: Unable to find shared web.xml or conf/web.xml, **ERROR**

       

      14:05:34,336 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 25s:179ms

      ---8<---


      ANY HELP is highly appreciated! Has something corrupted maybe?