3 Replies Latest reply on Jan 13, 2012 3:19 AM by tomaz.zupan

    Simple POJO Web Service deployment failed

    tomaz.zupan

      I'm trying to deploy simple (HelloWorld) POJO Web Service to the JBoss 7.1.0.CR1b. If the configuration of web subsystem in standalone.xml is kept default, everything is fine, but if you change the name of the virtual-host

       

              <subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host1">
                  <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
                  <virtual-server name="default-host1" enable-welcome-root="true">
                      <alias name="localhost"/>
                      <alias name="example.com"/>
                  </virtual-server>
              </subsystem>
      

       

      WS deploy with following error:

       

      13:21:25,506 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
      JBAS014775:    New missing/unsatisfied dependencies:
            service jboss.web.host.default-host (missing) dependents: [service jboss.ws.port-component-link, service jboss.web.deployment.default-host./server]
      

       

      Is this a bug?