9 Replies Latest reply on May 23, 2002 11:59 AM by mzingg

    Where to download JBoss.net /Jboss soap implementation?

    hidefguy

      Hi;
      I see posts about the jboss.net module but don't see anything at all written about where to get this module from.
      any suggestions?
      thanks

        • 1. Re: Where to download JBoss.net /Jboss soap implementation?
          denovich

          I believe jboss.net is part of the default distribution in Jboss 3.0 (look for jboss-net.sar in the deploy directory.)

          That said, documentation is still more or less non-existant. The source code is your best bet, along with the axis mailing lists http://xml.apache.org/axis/

          For example code you'll have to check cvs.

          • 2. Re: Where to download JBoss.net /Jboss soap implementation?
            denovich

            one additional note: It is configured by default to work with Jetty. In theory it should work with tomcat(aka catalina) as well, but it resisted my efforts to configure it properly. (The service would start, but deploy correctly.)

            • 3. Re: Where to download JBoss.net /Jboss soap implementation?
              hidefguy

              Thanks for the information; does this mean that the JBoss SOAP implementation *doesn't* in practise work with TomCat? (This I think would be a problem for me)

              • 4. Re: Where to download JBoss.net /Jboss soap implementation?
                akirchhofer

                Hi, seems like that for me too... the service starts up and seems to be active - but the servlet isn't correctly deployed... it might have something to do with the way jetty is set up and with this warnings... (using jboss 3.0.0RC1 with catalina 4.0.3)...

                15:02:20,091 INFO [AxisService] Starting
                15:03:09,622 INFO [AxisService] About to deploy axis web application from org.jboss.deployment.DeploymentInfo@292deb12{ url=http://net.jboss.org/fake.war } under context //axis/*.
                15:03:09,702 INFO [EmbeddedCatalinaServiceSX] deploy, ctxPath=//axis/*, warUrl=file:/C:/Programme/Java/jboss-3.0.0_tomcat-4.0.3/server/default/tmp/deploy/_axis_/axis/
                15:03:13,127 INFO [Engine] WebappLoader[//axis/*]: Deploying class repositories to work directory C:\Programme\Java\jboss-3.0.0_tomcat-4.0.3\catalina\work\localhost\_axis_*
                15:03:13,187 INFO [Engine] StandardManager[//axis/*]: Seeding random number generator class java.security.SecureRandom
                15:03:13,557 INFO [Engine] StandardManager[//axis/*]: Seeding of random number generator has been completed
                15:03:14,158 INFO [Engine] ContextConfig[//axis/*]: Added certificates -> request attribute Valve
                15:03:15,630 INFO [Engine] ContextConfig[//axis/*]: Configured an authenticator for method BASIC
                15:03:15,851 INFO [Engine] StandardWrapper[//axis/*:default]: Loading container servlet default
                15:03:17,413 INFO [Engine] default: init
                15:03:17,443 INFO [Engine] StandardWrapper[//axis/*:invoker]: Loading container servlet invoker
                15:03:17,563 INFO [Engine] invoker: init
                15:03:18,004 INFO [Engine] jsp: init
                15:03:18,935 INFO [Engine] The scratchDir you specified: C:\Programme\Java\jboss-3.0.0_tomcat-4.0.3\catalina\work\localhost\_axis_* is unusable.
                15:03:20,067 INFO [MainDeployer] Adding deployer: org.jboss.net.axis.server.AxisService@d95cd
                15:03:20,067 INFO [AxisService] Started
                15:03:20,067 INFO [Adaptor] Starting
                15:03:20,087 INFO [AxisService] About to deploy axis descriptor org.jboss.deployment.DeploymentInfo@c775dac3{ url=jar:file:/C:/./Programme/Java/jboss-3.0.0_tomcat-4.0.3/server/default/tmp/deploy/C/Programme/Java/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/jboss-net.sar/68.jboss-net.sar!/META-INF/install-jmx.xml }, create step.
                15:03:20,087 INFO [AxisService] About to deploy axis descriptor org.jboss.deployment.DeploymentInfo@c775dac3{ url=jar:file:/C:/./Programme/Java/jboss-3.0.0_tomcat-4.0.3/server/default/tmp/deploy/C/Programme/Java/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/jboss-net.sar/68.jboss-net.sar!/META-INF/install-jmx.xml }, start step.

                ...at first sight anything looks great, doesn't it? But at a second one... mhh... whatever this means... guess the context /axis/* is something Tomcat doesn't understand...

                Does anybody have a glue?

                • 5. Re: Where to download JBoss.net /Jboss soap implementation?

                  >The scratchDir you specified: C:\Programme\Java\jboss-3.0.0_tomcat-4.0.3\catalina\work\localhost\_axis_* is unusable.

                  Well, if you are running under Linux, I would guess this is your problem

                  Under win, looks like a typo on in file list (Programme?). Is this a configurable value?

                  The more I think about this (the more my head hurts) My guess is that the Servlet requires some sort of temp directory, but there is path problem. It may be that the code uses the / value instead of getting the system property for the path divider. So if the servlet is devloped on Unix, works fine, run on WIndows, no go.

                  • 6. Re: Where to download JBoss.net /Jboss soap implementation?
                    akirchhofer

                    Hi,

                    thanks a lot... that's the way I saw it too... but the path is assembled in some way out of the system variables, in this case JBOSS_HOME or JBOSS_DIST respectively...

                    The strange thing on it is, that the rest of the java/jboss/tomcat whatsoever environment takes this kind of path jumble without grumbling... strange but o.k.

                    I don't know it, but in the end I think that this "*" at the end of this value is the mischief for tomcat... my problem is, I don't know how to configure the "web.xml" in the jboss-net.sar package to suite tomcat with /axis instead of /axis/*...

                    • 7. Re: Where to download JBoss.net /Jboss soap implementation?
                      cgjung

                      Guys,

                      looks like my fault. In org.jboss.axis.server.AxisService.startService(), it reads:

                      // we use the root context as URL infix
                      String rootContext = "/" + getRootContext() + "/*";

                      should be

                      // we use the root context as URL infix
                      String rootContext = "/" + getRootContext();


                      ????

                      Could anyone try that out before I go an check that in?

                      Thx,
                      CGJ

                      • 8. Re: Where to download JBoss.net /Jboss soap implementation?
                        cgjung

                        I committed the rootCOntext change and tested it successfully with Jetty. Anyone that tries it with Catalina, please?

                        CGJ

                        • 9. 3860068
                          mzingg

                          Hi

                          I successfully tested it with Tomcat 4.0.3 EmbededCatalinaSX (JBoss3.0.0RC1). I compiled the jboss-net.sar and put it in the deploy directory.

                          greets

                          Markus