2 Replies Latest reply on Jul 10, 2003 1:49 PM by Mark Lassiter

    Deployment Problem

    Mark Lassiter Newbie

      Hello,

      I'm new to using JBoss-Net, so I hope this isn't an ignorant question.

      After reading the Hello world tutorial, I've put together an ear file with the following structure:

      fileBroker.ear
      |-META-INF/application.xml
      |-fileBroker.jar
      |-fileBroker.war
      |-fileBroker.wsr

      fileBroker.jar is your typical EJB jar file. Works fine.

      fileBroker.war is an empty war file. Works fine (with warnings of course about using defaults for missing web.xml). Contains the WEB-INF directory.

      fileBroker.wsr
      |-META-INF/web-services.xml

      The web-services.xml file contains a hacked up copy of the HelloWorld example. i.e. I changed the target namespace to be my server and the classes to be my SOAP class.

      So when I deploy, the jar and war files deploy ok, but the wsr file says:

      2003-07-09 19:53:41,459 INFO [org.jboss.deployment.MainDeployer] deployment waiting for deployer: file:/usr/local/dev/jboss-3.2.1_tomcat-4.1.24/server/all/tmp/deploy/server/all/deploy/fileBroker.ear/58.fileBroker.ear-contents/fileBroker.wsr

      Then later, (if I restart server), I see this:

      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:
      [org.jboss.deployment.DeploymentInfo@19ba98ca { url=file:/usr/local/dev/jboss-3.2.1_tomcat-4.1.24/server/all/tmp/deploy/server/all/deploy/fileBroker.ear/58.fileBroker.ear-contents/fileBroker.wsr }
      deployer: null
      status: Starting
      state: START_SUBDEPLOYMENTS
      watch: file:/usr/local/dev/jboss-3.2.1_tomcat-4.1.24/server/all/tmp/deploy/server/all/deploy/fileBroker.ear/58.fileBroker.ear-contents/fileBroker.wsr
      lastDeployed: 1057794821460
      lastModified: 1057794821000
      mbeans:
      ]Incompletely deployed packages:

      MBeans waiting for classes:

      MBeans waiting for other MBeans:


      Any help would be GREATLY appreciated. We have successfully deployed these services to a stand-alone Tomcat server with Axis, but I want to "clean it up" for use with JBoss-net.

      Thanks,
      Mark

        • 1. Re: Deployment Problem
          Mark Lassiter Newbie

          Note sure why my post was messed up, but here it is again:

          Hello,
          I'm new to using JBoss-Net, so I hope this isn't an ignorant question.

          After reading the Hello world tutorial, I've put together an ear file with the following structure:

          fileBroker.ear
          |-META-INF/application.xml
          |-fileBroker.jar
          |-fileBroker.war
          |-fileBroker.wsr

          fileBroker.jar is your typical EJB jar file. Works fine.

          fileBroker.war is an empty war file. Works fine (with warnings of course about using defaults for missing web.xml). Contains the WEB-INF directory.

          fileBroker.wsr
          |-META-INF/web-services.xml

          The web-services.xml file contains a hacked up copy of the HelloWorld example. i.e. I changed the target namespace to be my server and the classes to be my

          SOAP class.

          So when I deploy, the jar and war files deploy ok, but the wsr file says:

          2003-07-09 19:53:41,459 INFO [org.jboss.deployment.MainDeployer] deployment waiting for deployer:

          file:/usr/local/dev/jboss-3.2.1_tomcat-4.1.24/server/all/tmp/deploy/server/all/deploy/fileBroker.ear/58.fileBroker.ear-contents/fileBroker.wsr

          Then later, (if I restart server), I see this:

          Cause: Incomplete Deployment listing:
          Packages waiting for a deployer:
          [org.jboss.deployment.DeploymentInfo@19ba98ca {

          url=file:/usr/local/dev/jboss-3.2.1_tomcat-4.1.24/server/all/tmp/deploy/server/all/deploy/fileBroker.ear/58.fileBroker.ear-contents/fileBroker.wsr }
          deployer: null
          status: Starting
          state: START_SUBDEPLOYMENTS
          watch: file:/usr/local/dev/jboss-3.2.1_tomcat-4.1.24/server/all/tmp/deploy/server/all/deploy/fileBroker.ear/58.fileBroker.ear-contents/fileBroker.wsr
          lastDeployed: 1057794821460
          lastModified: 1057794821000
          mbeans:
          Incompletely deployed packages:

          MBeans waiting for classes:

          MBeans waiting for other MBeans:


          Any help would be GREATLY appreciated. We have successfully deployed these services to a stand-alone Tomcat server with Axis, but I want to "clean it up"

          for use with JBoss-net.

          Thanks,
          Mark

          PS: Here's my web-services.xml (with names altered to protect the innocent)

          <?xml version="1.0" encoding="UTF-8"?>
          <deployment
          xmlns="http://xml.apache.org/axis/wsdd/"
          targetNamespace="http://mydomain.com:8080/FileBroker"
          xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

          <!-- this is an extension to the Axis deployment descriptor which allows to specify the naming environment for the deployed ws logic -->












          • 2. Re: Deployment Problem
            Mark Lassiter Newbie

            Problem was simple...i included web-services.xml and not web-service.xml (plural versus singular).

            Read several examples showing web-services.xml ... did it change with 3.2.x?

            Anyhow, its working now, thanks!