3 Replies Latest reply on Aug 16, 2007 4:33 AM by ambika

    Needed WS4EE jars missing in JBoss4.0.5.GA

    mp123

      Hello,

      While I'm trying to build MedRec Application by referring some of the jar files from JBoss 4.0.5.GA, found the missing jars as follows.

      Code:
      axis-ws4ee.jar
      jboss-ws4ee.jar

      When I try to build the Application, I get the following Error.

      #cd <MEDREC_HOME>/src
      #ant
      ...
      ...
      genWSjava:
       [java] Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/axis/wsdl/WSDL2Java
       [java] Java Result: 1
      
      compilewsejb:
       [javac] Compiling 14 source files to /disk1/jboss/4.0.5/demos/medrec/build/medrecEar/webServicesEjb
       [javac] /disk1/jboss/4.0.5/demos/medrec/build/medrecEar/webServicesEjb/com/bea/medrec/webservices/AddressWS.java:148: package org.jboss.axis.description does not exist
       [javac] private static org.jboss.axis.description.TypeDesc typeDesc =
       [javac] ^
      


      I have found these two jars in JBoss 4.0.4.GA at the following location.

      docs/examples/ws4ee/jboss-ws4ee.sar


      But, the folder jboss-ws4ee.sar is not present in the latest release JBoss 4.0.5.GA.

      Where can I get the above two jar files for JBoss 4.0.5.GA and what is the reason for removing it in JBoss 4.0.5.GA release??

      What is the alternative method for rectifying this problem with JBoss 4.0.5.GA??



        • 1. Re: Needed WS4EE jars missing in JBoss4.0.5.GA
          kcp

          Since Jboss 4.0.4 the old axis-based webservice Stack WS4EE has been replaced by the new JbossWS stack. Therefore, the old ws4ee-jar are not longer present in JBoss 4.0.5. (http://wiki.jboss.org/wiki/Wiki.jsp?page=WebServiceStacks)

          Somewhere in the forum (or wiki) I am not qute sure it was stated that the old ws4ee stack could be deployed in the new Jboss version. So, this my be an option for you . I have never tried it, so I can not say if it works.

          Regards
          Charly

          • 2. Re: Needed WS4EE jars missing in JBoss4.0.5.GA
            mp123

            Hello,

            Thank you for the reply.

            I have done the changes said in (http://wiki.jboss.org/wiki/Wiki.jsp?page=WS4EEDowngrade)

            and the MedRec Application works fine with JBoss 4.0.5.GA.

            Is there any other way to upgrade WS4EE based axis applications to WS in JBoss ??

            • 3. Re: Needed WS4EE jars missing in JBoss4.0.5.GA
              ambika

              Hi,
              I am trying to run the medrec application in jboss application platform (4.2.0.GA). I have done all the steps mentioned in the http://wiki.jboss.org/wiki/Wiki.jsp?page=WS4EEDowngrade.

              But when i try to deploy , its giving following error.

              Caused by: java.lang.reflect.UndeclaredThrowableException
              at org.jboss.system.ServiceCreator.install(ServiceCreator.java:236)
              at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449)
              at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
              ... 81 more
              Caused by: java.lang.NoClassDefFoundError: org/jboss/webservice/WebServiceClientDeployment
              at java.lang.ClassLoader.defineClass1(Native Method)
              at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
              =========

              This is becuase this class in not at all there in this new version of the jboss and medrec code has reffered to this. And i have seen one more thing, there is no webservice package in this new version of the jboss?
              Please can any one help me regarding the same

              Regards,
              Ambika