3 Replies Latest reply on Oct 23, 2012 10:03 AM by Liteon liteon

    Debug Tomcat6

    Liteon liteon Newbie

      Hello,

       

      I have 2 servers, a JBoss Application Server 7.1 with my EJBs and a Tomcat6 for the web application.

       

      When I do a Debug on Server in Tomcat to test my code in ManagedBean i get the following error :

      The access of the EJBs with my web application is done by remote access.

       

      The URL for the remote acces is : final String lookupString = "" + appName + "/" + moduleName + "/" + distinctName + "/" + beanName + "!" + viewClassName;

      Where appName and distinct name are empty values.

       

      javax.faces.el.EvaluationException: javax.el.ELException: /pages/list.xhtml at line 136 and column 52 action="#{MBean.action}": java.lang.IllegalStateException: No EJB receiver available for handling [appName:,modulename:EJB7,distinctname:] combination

          at javax.faces.component._MethodExpressionToMethodBinding.invoke(_MethodExpressionToMethodBinding.java:96)

          at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:100)

          at javax.faces.component.UICommand.broadcast(UICommand.java:120)

          at javax.faces.component.UIData.broadcast(UIData.java:754)

          at javax.faces.component.UIViewRoot._broadcastAll(UIViewRoot.java:889)

          at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:238)

          at javax.faces.component.UIViewRoot._process(UIViewRoot.java:1201)

          at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:627)

          at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:34)

          at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:171)

          at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:189)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

          at java.lang.Thread.run(Thread.java:662)

      Caused by: javax.el.ELException: /pages/list.xhtml at line 136 and column 52 action="#{MBean.action}": java.lang.IllegalStateException: No EJB receiver available for handling [appName:,modulename:EJB7,distinctname:] combination

          at org.apache.myfaces.view.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:95)

          at javax.faces.component._MethodExpressionToMethodBinding.invoke(_MethodExpressionToMethodBinding.java:88)

          ... 23 more

      Caused by: java.lang.IllegalStateException: No EJB receiver available for handling [appName:,modulename:EJB7,distinctname:] combination

          at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:530)

          at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:84)

          at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:175)

          at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:136)

          at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:121)

          at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:104)

          at $Proxy7.getTipusAtributs(Unknown Source)

          at ad.tda.web.MBArticle.actionsAtributsArticle(MBArticle.java:131)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          at org.apache.el.parser.AstValue.invoke(AstValue.java:191)

          at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)

          at org.apache.myfaces.view.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:83)

          ... 24 more

       

      Thanks in advance