4 Replies Latest reply on Sep 2, 2002 5:02 PM by cake

    JBoss .NET within JBoss 3.0.1 with Tomcat 4.0.4

    cake

      I am using the 8/11/02 bundle of jboss3.0.1_tomcat4.0.4.zip. I have set all the environment variables as what http://www.csd.abdn.ac.uk/~bscharla/soap.html points out.

      I can successfully startup jboss without getting any error and I can also get access to the http://localhost:8080/jmx-console page. Under jboss.net, I can see 2 entries so I assume Axis has been started up successfully.

      However, when I try to access http://localhost:8080/axis/services/AxisServlet?list, I got nothing but HTTP Status 500 - No Context configured to process this request.

      Under the Jboss command prompt, I got

      12:08:44,031 INFO [Engine] StandardHost[localhost]: MAPPING configuration error for request URI

      (Note, I did set JAVA_OPTS=-Daxis.enableListQuery=true %JAVA_OPTS% in the run.bat file)

      This links work prefectly when I use the jboss+jetty bundle. Anyone can point out what am I doing wrong? Thanks a million!

        • 1. Re: JBoss .NET within JBoss 3.0.1 with Tomcat 4.0.4
          dancornell

          I'm having the same problem. When I looked at the startup output, I noticed:

          16:07:24,124 INFO [AxisService] About to deploy axis web application from org.jboss.deployment.DeploymentInfo@292deb12 { url=http://net.jboss.org/fake.war }
          deployer: org.jboss.web.catalina.EmbeddedCatalinaServiceSX@2001ff
          status: null
          state: CONSTRUCTED
          watch: file:/usr/local/jboss-3.0.1_tomcat-4.0.4/server/default/tmp/deploy/_axis_/bd-soap/
          lastDeployed: 0
          lastModified: 0
          mbeans:
          under context /axis/*.

          The "/axis/*" caught my attention, because I believe this should be "axis" only. If I go to <http://localhost:8080/axis/*/> I can get actual responses from the server. Soooo.. it looks like the Tomcat deployer is adding some sort of "/*" to the end of the axis RootContext. I've changed the RootContext in the jboss-service.xml file in the jboss-net.sar and whatever the RootContext is, it gets a "/*" appended when deployed. Not sure if that has any other bad effects other than:

          a) making all of the links in examples and docs wrong

          and

          b) making all of the URLs really really ugly

          but I have a feeling I'll find out soon. If anyone else has any ideas on cleaning this up, please let me know.


          Thanks,



          Dan

          • 2. Re: JBoss .NET within JBoss 3.0.1 with Tomcat 4.0.4
            zoltax

            I'm having the same problem, too.
            I think the problem is that Tomcat is trying to use a temporal directory called axis_*, which works with Linux but not with Windows systems.
            Anybody knows a workaround?

            • 3. Re: JBoss .NET within JBoss 3.0.1 with Tomcat 4.0.4

              Hi all,

              You could download a pre-compiled version of jboss-tomcat with JBoss.NET, which does work from http://www.csd.abdn.ac.uk/~bscharla/soap.html. I built this version from source, so made the necessary changes to the files to make it work.

              cheers,

              Bruce

              • 4. Re: JBoss .NET within JBoss 3.0.1 with Tomcat 4.0.4
                cake

                I got the same answer again and again since JBoss 3.0.0. Why don't JBoss release a real working JBoss + Tomcat + JBoss .NET bundle?