6 Replies Latest reply on Nov 22, 2005 1:08 PM by bogsolomon

    ws4ee missing?!

    mugwump

      I recently installled jboss4.0.3 with the ejb3-profile: I'm now trying to deploy a webservice (in a .war), but the webservices.xml is completely ignored and nothing is deployed (and no exceptions are thrown, it simply happens nothing)

      There is also nothing under http://localhost:8080/ws4ee/services - so I started looking for the ws4ee-deployer, but there is no deployment unit in my server/default/deploy. Do I need ws4ee there, and if I need it, where can I get it?!

      thx for any help
      stf

        • 1. Re: ws4ee missing?!
          mugwump

          ok, i found the jboss-ws4ee.sar in a jboss-4.0.2: After Deploying this .sar, I get numerours exceptions from the web-app containing the webservices, Starting with a java.lang.NoClassDefFoundError: org/jboss/webservice/metadata/HandlerMetaData

          and ending with:

          --- MBeans waiting for other MBeans ---
          ObjectName: jboss.ws4ee:service=JAFConfigService
          State: FAILED
          Reason: java.lang.NoClassDefFoundError: javax/activation/CommandMap

          Should simply deploying jboss-ws4ee.sar work or are there serious things missing to simnply copy this over to my jboss-4.0.3?!

          cheers
          stf



          • 2. Re: ws4ee missing?!
            mugwump

            Root of this problem is, that the ws4ee.sar is not properly deployed, because of:

            16:55:02,288 WARN [ServiceController] Problem starting service jboss.ws4ee:service=JAFConfigService
            java.lang.NoClassDefFoundError: javax/activation/CommandMap

            I checked default/server/lib, but there is an activation.jar... Any Ideas, why the .sar complains?!

            cheers
            stf

            • 3. Re: ws4ee missing?!
              thomas.diesler

              what is the diff of a standard server/default/lib and the ejb3-profile one?

              • 4. Re: ws4ee missing?!
                mugwump

                I don't know, and I can't reconstruct it: As there is obviously no easy way to install ws4ee if it is not installed by the installer, I saved all configurations reinstalled jboss. We now have a script that restores our jboss-configuration - the ws4ee that is installed in the all-profile runs flawless.

                • 5. Re: ws4ee missing?!
                  jgc195

                  Hi,

                  I found the exact same thing - no JBossWS in the EJB 3.0 distribution of 4.0.3 SP1. However, it is in the 4.0.3 SP1 default profile, so I found a nice easy work around:

                  1) Use the 'JBoss Installer' to download and install the 'ejb3' profile into the desired location
                  2) Use the 'JBoss Installer' a second time to download and install the 'default' profile into a temporary location
                  3) Copy the following files from the 'default' profile installation (in your temp location) to the 'ejb3' profile installation
                  * [TEMP]\server\default\lib\activation.jar
                  * [TEMP]\server\default\lib\jboss-jaxrpc.jar
                  * [TEMP]\server\default\lib\jboss-saaj.jar
                  * [TEMP]\server\default\deploy\jboss-ws4ee.sar
                  4) Delete the temporary installation

                  There you go, JBoss 4.0.3 SP1 with EJB3 and JBossWS!

                  Note: jboss-ws4ee.sar is a directory - copy it recursively.



                  Hope that helps somebody!

                  Jason

                  • 6. Re: ws4ee missing?!
                    bogsolomon

                    actually working the other way is a bit easier.

                    1. Install JBoss4.0.3 default

                    2. Download EJB3 from this website(just EJB3)

                    3. Follow the instructions to install EJB3 in the all configuration - not sure why but in the default it does not work.