Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2617

Deployed WAB are not available and stay in unknown state

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • karaf
    • None

    Description

      After installing the war feature, I tried to deploy and test two WebBundle without success:

      1/ First, I tried to deploy a "pure" WebBundle: the Karaf manual war:

      karaf@root()> bundle:install -s mvn:org.apache.karaf/manual/3.0.0-SNAPSHOT/war

      The WAB has been correctly installed:

      karaf@root()> la|grep -i manual
      111 | Active | 80 | 3.0.0.SNAPSHOT | Apache Karaf :: Manual

      I can see the WAB with the web:list command:

      karaf@root()> web:list
      ID | State | Web-State | Level | Web-ContextPath | Name
      ---------------------------------------------------------------------------------------------------
      111 | Active | Unknown | 80 | /karaf-doc | Apache Karaf :: Manual (3.0.0.SNAPSHOT)

      But the Web-State is Unknown and when using http://localhost:8181/karaf-doc URL, I have 404 (it looks like the WAB is not really deployed in the WebContainer).

      2/ I tried with the Tomcat sample war using webbundle URL:

      karaf@root()> bundle:install -s webbundle:http://tomcat.apache.org/tomcat-5.5-doc/appdev/sample/sample.war?Bundle-SymbolicName=tomcat-sample&Webapp-Context=/sample

      Again, I can see the WAB with web:list:

      karaf@root()> web:list
      ID | State | Web-State | Level | Web-ContextPath | Name
      -----------------------------------------------------------------------------
      111 | Active | Unknown | 80 | /sample | tomcat-sample (0)

      But again, the Web-State is Unknown and I have 404 accessing http://localhost:8181/sample

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              jbonofre Jean-Baptiste Onofré
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: