6 Replies Latest reply on Oct 25, 2004 6:03 AM by thomas.diesler

    JBoss.Net doesn't work with Jboss 3.2.6RC2 and JBoss 4.0

      When upgrading to jboss 3.2.6RC2 the jboss.net module doesn't work anymore. I might be because it is using the new version of axis. When calling a webservice I have the following stack trace:

      13:53:58,455 ERROR [Engine] StandardWrapperValve[JBossAxisServlet]: Servlet.service() for servlet JBossAxisServlet threw exception
      java.lang.NullPointerException
      at org.jboss.net.axis.Deployment.oldGetService(Deployment.java:255)
      at org.jboss.net.axis.Deployment.getService(Deployment.java:275)
      at org.apache.axis.configuration.FileProvider.getService(FileProvider.java:290)
      at org.apache.axis.AxisEngine.getService(AxisEngine.java:302)
      at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:900)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:372)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:158)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
      at java.lang.Thread.run(Thread.java:534)

      Any help is welcome.

      Regards,

      Nicolas Leroux
      Software Developer
      Lunatech Research



        • 1. Re: JBoss.Net doesn't work with Jboss 3.2.6RC2 and JBoss 4.0
          thomas.diesler

          Works for me. Please provide a test and file a bug with sourceforge. Thanks.

          [jar] Building jar: D:\projects\jboss-archive\jboss-3.2.6RC2\testsuite\output\lib\wsr.wsr
          [jar] Building jar: D:\projects\jboss-archive\jboss-3.2.6RC2\testsuite\output\lib\wsexternal.wsr
          [jar] Building jar: D:\projects\jboss-archive\jboss-3.2.6RC2\testsuite\output\lib\wsexternal.ear

          _jars-hibernate:

          jars:

          tests-jbossnet-unit:
          [junit] Running org.jboss.test.jbossnet.basic.AxisUnitTestCase
          [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.625 sec


          [junit] Running org.jboss.test.jbossnet.ejbsimple.HelloUnitTestCase
          [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 6.844 sec


          [junit] Running org.jboss.test.jbossnet.ejbsimple.RedeployUnitTestCase
          [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 5.86 sec


          [junit] Running org.jboss.test.jbossnet.external.ExternalUnitTestCase
          [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 4.188 sec


          [junit] TEST org.jboss.test.jbossnet.external.ExternalUnitTestCase FAILED
          [junit] Running org.jboss.test.jbossnet.external.RedeployUnitTestCase
          [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 3.906 sec


          [junit] TEST org.jboss.test.jbossnet.external.RedeployUnitTestCase FAILED
          [junit] Running org.jboss.test.jbossnet.jmx.JmxUnitTestCase
          [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 4.406 sec


          [junit] Running org.jboss.test.jbossnet.jmx.RedeployUnitTestCase
          [junit] Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 4.734 sec


          [junit] Running org.jboss.test.jbossnet.security.SecurityUnitTestCase
          [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 4.171 sec


          [junit] Running org.jboss.test.jbossnet.state.RedeployUnitTestCase
          [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 4.844 sec


          [junit] Running org.jboss.test.jbossnet.state.StateUnitTestCase
          [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 4.469 sec


          [junit] Running org.jboss.test.jbossnet.wsr.RedeployUnitTestCase
          [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 3.766 sec


          [junit] Running org.jboss.test.jbossnet.wsr.WSRUnitTestCase
          [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 3.813 sec


          BUILD SUCCESSFUL
          Total time: 3 minutes 2 seconds

          • 2. Re: JBoss.Net doesn't work with Jboss 3.2.6RC2 and JBoss 4.0
            yaaarrrgg

            I wonder if you are running into the same issue that I am. i'm having problems with the axis config file ... i notice the line:

            "at org.apache.axis.configuration.FileProvider.getService(FileProvider.java:290) "

            Anyway, here is a hack that I've been using for the time being:

            http://sourceforge.net/tracker/index.php?func=detail&aid=1038708&group_id=22866&atid=376685

            • 3. Re: JBoss.Net doesn't work with Jboss 3.2.6RC2 and JBoss 4.0
              bsaravan

              I have the same problem as pepite. I tried the technique as suggested by yaaarrrgg. Could not get it to work. Has anyone else encountered this problem and resolved it?

              • 4. Re: JBoss.Net doesn't work with Jboss 3.2.6RC2 and JBoss 4.0
                antti

                Same also here, code was tested with 3.2.4 and works, but new installation to 3.2.6 (final) seems to throw
                NullpointerException in
                org.jboss.net.axis.Deployment.oldGetService(Deployment.java:255).
                What is strange that it works sometimes and sometimes not. As if there was some sort of time out which expires and the next time you try it works.

                • 5. Re: JBoss.Net doesn't work with Jboss 3.2.6RC2 and JBoss 4.0
                  butterfly

                  I ran into the same problem with 3.2.6 final. I hope it will be fixed as soon as possible.

                  • 6. Re: JBoss.Net doesn't work with Jboss 3.2.6RC2 and JBoss 4.0
                    thomas.diesler