1 2 Previous Next 18 Replies Latest reply on Jan 4, 2003 8:10 PM by nmaia

    how to make axis working?

    restman

      Hello,
      I downloaded 'jboss-3.0.3_tomcat-4.1.12'
      Is it possible to make axis working on this version, or is it necessary to download sources and build my own?
      If it is possible, is there some "manual" or "how-to" documentation for this?
      Thank you.

      With Best regards

      Peter Ondrus

        • 1. Re: how to make axis working?
          gerwec
          • 2. Re: how to make axis working?
            restman

            I'm afraid, that I'm not that far.

            When I start JBoss I got:
            ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
            Cause: Incomplete Deployment listing:
            Packages waiting for a deployer:

            Incompletely deployed packages:

            MBeans waiting for classes:

            MBeans waiting for other MBeans:
            [ObjectName: jboss.net:service=Axis
            state: CONFIGURED
            I Depend On: jboss.web:service=Jetty

            Depends On Me: jboss.net:service=Adaptor
            , ObjectName: jboss.net:service=Adaptor
            state: CONFIGURED
            I Depend On: jboss.net:service=Axis

            Depends On Me: , ObjectName: jboss.j2ee:jndiName=jetty/CMPState,service=EJB
            state: FAILED
            I Depend On:
            Depends On Me: java.lang.ClassNotFoundException: org.mortbay.j2ee.session.interfaces.CMPStateHome]
            ******************************

            It seems, that I need some jar file which contains: org.mortbay.j2ee.session.interfaces.CMPStateHome class.

            Or change some configurations of JBoss to point it to Tomcat insted of Jetty. I've been trying to chnage jboss-service.xml
            <!--depends>jboss.web:service=JBossWeb</depends-->
            <!--depends>jboss.web:service=EmbeddedCatalinaSX</depends-->
            jboss.web:service=Jetty
            I had always the same error and of course if I try
            http://localhost:8080/jboss-net
            or
            http://localhost:8080/axis
            or
            http://localhost:8080/axis/services/AdminService
            I always got
            HTTP Status 500 - No Context configured to process this request
            What is wrong????

            • 3. Re: how to make axis working?
              sallaire

              I'm having this same problem. The company I'm with is in the process of setting a standard development platform. We've chosen JBoss 3.0.x/Tomcat 4.1.x but now we're trying to evaluate whether to standardize on Apache SOAP or Axis 1.0. Based on what I've read in this forum, it seems like JBoss.net/Axis is really only working on
              the JBoss/Jetty platform. My testing seems to confirm this.

              My question is, what are the plans for JBoss.net on the Tomcat platform?

              Thanks for any help.

              • 4. Re: how to make axis working?
                gerwec

                Yes you have to change the jboss-service.xml file
                from jboss.web:service=Jetty
                to jboss.web:service=EmbeddedCatalinaSX
                then deploy the jboss-net.sar.
                controll that axis run with the jmx-console. the mbean must be marked as started.
                Then you can try http://localhost:8080/axis/*/service/
                their should be a message that axis works,...

                c.u.
                gernot

                • 5. Re: how to make axis working?
                  sallaire

                  Thanks for the help, but it didn't seem to help in my situation.

                  The jboss-service.xml file contained jboss.web:service=Catalina. I changed it to jboss.web:service=EmbeddedCatalinaSX and reployed the new jboss-net.sar file, but the jmx-console still showed the service as stopped. In the log file, the first Exception thrown is java.lang.NoClassDefFoundError: org/mortbay/j2ee/session/interfaces/CMPStateHome
                  .

                  When I try to hit http://localhost:8080/axis/*/service/
                  , I get "MAPPING configuration error for request URI /axis/*/service/".

                  Any help is appreciated.

                  • 6. Re: how to make axis working?
                    gerwec

                    I use Jboss-3.0.3 with catalina 4.0.5. Their it works just fine,...

                    c.u
                    gernot

                    • 7. Re: how to make axis working?
                      colway

                      Hmm, I thought Axis 1.0 was only supposed to work with Tomcat 4.1.10 and beyond (see http://xml.apache.org/axis/dist/1_0/dependencies.html).
                      I managed to get this working on the JBoss/Tomcat 4.1.12 download, without the Axis sar file and deploying directly from the Apache download instead.

                      • 8. Re: how to make axis working?
                        sallaire

                        Thanks for your help. When I used the JBoss 3.0.3/Tomcat 4.0.5 with the fix to jboss-net.sar that you suggested, it seems to work fine. I was also able to upgrade the axis.jar to the release 1.0 version.

                        • 9. Re: how to make axis working?
                          gerwec

                          Did you just replace the axis.jar in server/all/lib? I' m not sure but jboss-net.sar was compile with axis beta1,...
                          and so you may get some queer errors when you use it!
                          But can you give some feedback about that???

                          c.u
                          gernot

                          • 10. Re: how to make axis working?
                            restman

                            Thanks to all for your help. I also downloaded jboss-3.0.3_tomcat-4.0.5 and there it works.

                            to colway: Can you explain what you did? I do not understand it, but it seems, like there is some other way of deploing axis with jboss ?????

                            to sallaire: I tryied to replace axis.jar distributed with jboss-3.0.3_tomcat-4.0.5 by axis.jar from xml-axis-1.0 distribution, but it did not work. How did you made this?

                            and one question: How can I get a list of deployed SOAP services with jboss-net? on axis with Tomcat4.0.x it was "java org.apache.axis.client.AdminClient list"

                            • 11. Re: how to make axis working?
                              gerwec

                              You have to start jboss with:
                              -Daxis.enableListQuery=true
                              then you get the list by hitting http://localhost:8080/axis/services?list

                              c.u.
                              gernot

                              • 12. Re: how to make axis working?
                                gerwec

                                Sorry i have forgotten the * so the link is:
                                http://localhost:8080/axis/*/services?list

                                c.u.
                                gernot

                                • 13. Re: how to make axis working?
                                  mattia123

                                  Hi,
                                  to make jboss3.0.3-tomcat4.1.12 work with Axis you just have to use this line jboss.web:service=EmbeddedCatalina41 instead of jboss.web:service=JBossWeb or jboss.web:service=EmbeddedCatalinaSX since the service name is exactly EmbeddedCatalina41 as you can see from the jmx-console

                                  • 14. Help with axis!!
                                    skaha

                                    Hi,

                                    I tried everything to make jboss.net module working but without success!!
                                    also with configuring en rebuild of jboss-net.sar has no effects.
                                    can anyone please here the working jboss-net.sar for download??
                                    I am using 'jboss-3.0.3_tomcat-4.1.10'.

                                    Thanks,

                                    1 2 Previous Next