2 Replies Latest reply on Feb 28, 2006 2:29 PM by egargano

    Fibo tutorial jboss 4.0.2

    tomand

      Hello,
      I've a small problem with the tutorial. I think jboss can't create the bean because he throw a exception. If I press compute the following message appears:

      null object name java.lang.IllegalArgumentException: null object name at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:495) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:638) at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:805) at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:406) at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:118) at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55) at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:169) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86) at $Proxy62.create(Unknown Source) at tutorial.web.ComputeServlet.doPost(ComputeServlet.java:64) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595)


      I debugged a little bit and find out that
      Fibo bean = home.create();
      throws the exception. But I don't know why. The context.lookup seems to be ok. He creates an object.

      Configuration
      Jboss 4.0.2
      eclipse 3.1
      jboss ide 1.5
      java 1.5

        • 1. Re: Fibo tutorial jboss 4.0.2
          egargano

          I have the same problem....
          You resolved?

          I try change the code with a copy from a friend (it's work in my friend pc)
          I try ti change the jboss version,
          Any idea?

          • 2. Re: Fibo tutorial jboss 4.0.2
            egargano

             

            "egargano" wrote:
            I have the same problem....
            You resolved?

            I try change the code with a copy from a friend (it's work in my friend pc)
            I try ti change the jboss version,
            Any idea?


            I resolved with my friend..... XP programming :-D

            I deploy all the 4 package... WRONG

            I had to deploy only the .EAR file.
            In particular pag 43.... right click on the .ear file to deploy.

            To resolve i erase Fibo* files from jboss/server/default/deploy
            And deploy only FiboApp.ear file from eclipse.

            Bye