1 Reply Latest reply on Feb 4, 2013 10:37 AM by floflo floflo

    jboss-as-7.1.1.Final and Stripes

    floflo floflo Newbie

      Hello,

      I use stripes-1.5.7 with netbeans 6.9.1 like ide.

      On jboss 5, all is ok, it works fine.

      On jboss 7, i have a problem to found my service:  Unable to find an EJBBean with name [tracingService] in the initial context.

       

      my web.xml:

       

      <?xml version="1.0" encoding="UTF-8"?>

      <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">

          <session-config>

              <session-timeout>

                  30

              </session-timeout>

          </session-config>

          <welcome-file-list>

              <welcome-file>index.jsp</welcome-file>

          </welcome-file-list>

       

       

          <filter>

              <display-name>Stripes Filter</display-name>

              <filter-name>StripesFilter</filter-name>

              <filter-class>net.sourceforge.stripes.controller.StripesFilter</filter-class>

              <init-param>

                  <param-name>ActionResolver.Packages</param-name>

                  <param-value>net.sourceforge.stripes.examples</param-value>

              </init-param>

              <init-param>

                  <param-name>Interceptor.Classes</param-name>

                  <param-value>com.samaxes.stripes.ejb3.EJBInterceptor</param-value>

              </init-param>

          </filter>

       

       

          <filter-mapping>

              <filter-name>StripesFilter</filter-name>

              <url-pattern>*.jsp</url-pattern>

              <dispatcher>REQUEST</dispatcher>

          </filter-mapping>

       

       

          <filter-mapping>

              <filter-name>StripesFilter</filter-name>

              <servlet-name>StripesDispatcher</servlet-name>

              <dispatcher>REQUEST</dispatcher>

          </filter-mapping>

       

       

          <servlet>

              <servlet-name>StripesDispatcher</servlet-name>

              <servlet-class>net.sourceforge.stripes.controller.DispatcherServlet</servlet-class>

              <load-on-startup>1</load-on-startup>

          </servlet>

       

       

          <servlet-mapping>

              <servlet-name>StripesDispatcher</servlet-name>

              <url-pattern>*.action</url-pattern>

          </servlet-mapping>

      </web-app>

       

      ***************************

       

      my managedbean:

       

          @EJBBean

          private TracingService tracingService;

       

             tracingService.plop();

       

      -------------------------------

       

      my tracingService:

       

      package fr.mgi.facturation.service;

       

       

      import fr.mgi.facturation.entity.Tracing;

       

       

      public interface TracingService {

          void plop();

      }

       

      ---------------------

       

      my : TracingServiceImpl

       

      package fr.mgi.facturation.service.impl;

       

       

      import fr.mgi.facturation.entity.Tracing;

      import fr.mgi.facturation.service.TracingService;

      import javax.ejb.EJB;

      import javax.ejb.Local;

      import javax.ejb.Stateless;

      import org.jboss.ejb3.annotation.LocalBinding;

       

       

      @Stateless

      @Local(TracingService.class)

      @LocalBinding(jndiBinding = "tracingService" )

      public class TracingServiceImpl implements TracingService {

       

          public  void plop(){

              tracingDao.plop();

          }

      }

       

       

       

      The stacktrace:

      16:10:12,122 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "StripesEar.ear"

      16:10:12,292 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015876: Starting deployment of "StripesWeb.war"

      16:10:12,292 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015876: Starting deployment of "StripesEjb.jar"

      16:10:12,349 INFO  [org.jboss.as.jpa] (MSC service thread 1-7) JBAS011401: Read persistence.xml for FacturationEjbPU

      16:10:12,377 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named TracingServiceImpl in deployment unit subdeployment "StripesEjb.jar" of deployment "StripesEar.ear" are as follows:

       

       

                java:global/StripesEar/StripesEjb/TracingServiceImpl!fr.mgi.facturation.service.TracingService

                java:app/StripesEjb/TracingServiceImpl!fr.mgi.facturation.service.TracingService

                java:module/TracingServiceImpl!fr.mgi.facturation.service.TracingService

                java:global/StripesEar/StripesEjb/TracingServiceImpl

                java:app/StripesEjb/TracingServiceImpl

                java:module/TracingServiceImpl

       

       

      16:10:12,380 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named TracingDaoImpl in deployment unit subdeployment "StripesEjb.jar" of deployment "StripesEar.ear" are as follows:

       

       

                java:global/StripesEar/StripesEjb/TracingDaoImpl!fr.mgi.facturation.dao.TracingDao

                java:app/StripesEjb/TracingDaoImpl!fr.mgi.facturation.dao.TracingDao

                java:module/TracingDaoImpl!fr.mgi.facturation.dao.TracingDao

                java:global/StripesEar/StripesEjb/TracingDaoImpl

                java:app/StripesEjb/TracingDaoImpl

                java:module/TracingDaoImpl

       

       

      16:10:12,440 INFO  [org.jboss.as.jpa] (MSC service thread 1-7) JBAS011402: Starting Persistence Unit Service 'StripesEar.ear/StripesEjb.jar#FacturationEjbPU'

      16:10:12,442 INFO  [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-7) HHH000204: Processing PersistenceUnitInfo [

                name: FacturationEjbPU

                ...]

      16:10:12,451 INFO  [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (MSC service thread 1-7) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider

      16:10:12,473 INFO  [net.sourceforge.stripes.vfs.VFS] (MSC service thread 1-4) Using VFS adapter net.sourceforge.stripes.vfs.JBoss6VFS

      16:10:12,486 INFO  [net.sourceforge.stripes.localization.DefaultLocalePicker] (MSC service thread 1-4) No locale list specified, defaulting to single locale: fr_FR

      16:10:12,493 INFO  [net.sourceforge.stripes.controller.multipart.DefaultMultipartWrapperFactory] (MSC service thread 1-4) Using net.sourceforge.stripes.controller.multipart.CosMultipartWrapper as MultipartWrapper implementation.

      16:10:12,499 INFO  [net.sourceforge.stripes.controller.StripesFilter] (MSC service thread 1-4) Stripes Initialization Complete. Version: 1.5.7, Build: 1511

      16:10:12,501 INFO  [org.jboss.web] (MSC service thread 1-4) JBAS018210: Registering web context: /StripesWeb

      16:10:12,762 INFO  [org.hibernate.dialect.Dialect] (MSC service thread 1-7) HHH000400: Using dialect: org.hibernate.dialect.Oracle10gDialect

      16:10:12,765 INFO  [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (MSC service thread 1-7) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory

      16:10:12,767 INFO  [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (MSC service thread 1-7) HHH000397: Using ASTQueryTranslatorFactory

      16:10:12,798 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS018559: Deployed "StripesEar.ear"

      16:10:25,235 INFO  [net.sourceforge.stripes.validation.expression.ExpressionValidator] (http-localhost-127.0.0.1-8080-3) Expression validation will be performed using: net.sourceforge.stripes.validation.expression.Jsp21ExpressionExecutor

      16:10:25,243 WARN  [net.sourceforge.stripes.exception.DefaultExceptionHandler] (http-localhost-127.0.0.1-8080-3) Unhandled exception caught by the Stripes default exception handler.: net.sourceforge.stripes.exception.StripesRuntimeException: Exception while trying to lookup and inject a EJB bean into a bean of type AutocompleteActionBean using field access on field private fr.mgi.facturation.service.TracingService net.sourceforge.stripes.examples.quickstart.AutocompleteActionBean.tracingService

                at com.samaxes.stripes.ejb3.EJBInterceptor.intercept(EJBInterceptor.java:138) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.DispatcherHelper.resolveActionBean(DispatcherHelper.java:104) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.DispatcherServlet.resolveActionBean(DispatcherServlet.java:238) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:141) [stripes.jar:1511]

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                at net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:260) [stripes.jar:1511]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

                at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

                at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_30]

      Caused by: net.sourceforge.stripes.exception.StripesRuntimeException: Unable to find an EJBBean with name [tracingService] in the initial context.

                at com.samaxes.stripes.ejb3.EJBInterceptor.findEJB(EJBInterceptor.java:253) [stripes.jar:1511]

                at com.samaxes.stripes.ejb3.EJBInterceptor.intercept(EJBInterceptor.java:135) [stripes.jar:1511]

                ... 25 more

       

       

      16:10:25,265 ERROR [net.sourceforge.stripes.exception.DefaultExceptionHandler] (http-localhost-127.0.0.1-8080-3) Unhandled exception in exception handler.: net.sourceforge.stripes.exception.StripesRuntimeException: Exception while trying to lookup and inject a EJB bean into a bean of type AutocompleteActionBean using field access on field private fr.mgi.facturation.service.TracingService net.sourceforge.stripes.examples.quickstart.AutocompleteActionBean.tracingService

                at com.samaxes.stripes.ejb3.EJBInterceptor.intercept(EJBInterceptor.java:138) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.DispatcherHelper.resolveActionBean(DispatcherHelper.java:104) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.DispatcherServlet.resolveActionBean(DispatcherServlet.java:238) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:141) [stripes.jar:1511]

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                at net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:260) [stripes.jar:1511]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

                at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

                at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_30]

      Caused by: net.sourceforge.stripes.exception.StripesRuntimeException: Unable to find an EJBBean with name [tracingService] in the initial context.

                at com.samaxes.stripes.ejb3.EJBInterceptor.findEJB(EJBInterceptor.java:253) [stripes.jar:1511]

                at com.samaxes.stripes.ejb3.EJBInterceptor.intercept(EJBInterceptor.java:135) [stripes.jar:1511]

                ... 25 more

       

       

      16:10:25,287 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/StripesWeb].[StripesDispatcher]] (http-localhost-127.0.0.1-8080-3) "Servlet.service()" pour la servlet StripesDispatcher a généré une exception: net.sourceforge.stripes.exception.StripesRuntimeException: Unable to find an EJBBean with name [tracingService] in the initial context.

                at com.samaxes.stripes.ejb3.EJBInterceptor.findEJB(EJBInterceptor.java:253) [stripes.jar:1511]

                at com.samaxes.stripes.ejb3.EJBInterceptor.intercept(EJBInterceptor.java:135) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.DispatcherHelper.resolveActionBean(DispatcherHelper.java:104) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.DispatcherServlet.resolveActionBean(DispatcherServlet.java:238) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:141) [stripes.jar:1511]

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                at net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:260) [stripes.jar:1511]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

                at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

                at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_30]

       

       

      16:10:25,459 WARN  [net.sourceforge.stripes.exception.DefaultExceptionHandler] (http-localhost-127.0.0.1-8080-4) Unhandled exception caught by the Stripes default exception handler.: net.sourceforge.stripes.exception.StripesRuntimeException: Exception while trying to lookup and inject a EJB bean into a bean of type AutocompleteActionBean using field access on field private fr.mgi.facturation.service.TracingService net.sourceforge.stripes.examples.quickstart.AutocompleteActionBean.tracingService

                at com.samaxes.stripes.ejb3.EJBInterceptor.intercept(EJBInterceptor.java:138) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.DispatcherHelper.resolveActionBean(DispatcherHelper.java:104) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.DispatcherServlet.resolveActionBean(DispatcherServlet.java:238) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:141) [stripes.jar:1511]

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                at net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:260) [stripes.jar:1511]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

                at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

                at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_30]

      Caused by: net.sourceforge.stripes.exception.StripesRuntimeException: Unable to find an EJBBean with name [tracingService] in the initial context.

                at com.samaxes.stripes.ejb3.EJBInterceptor.findEJB(EJBInterceptor.java:253) [stripes.jar:1511]

                at com.samaxes.stripes.ejb3.EJBInterceptor.intercept(EJBInterceptor.java:135) [stripes.jar:1511]

                ... 25 more

       

       

      16:10:25,489 ERROR [net.sourceforge.stripes.exception.DefaultExceptionHandler] (http-localhost-127.0.0.1-8080-4) Unhandled exception in exception handler.: net.sourceforge.stripes.exception.StripesRuntimeException: Exception while trying to lookup and inject a EJB bean into a bean of type AutocompleteActionBean using field access on field private fr.mgi.facturation.service.TracingService net.sourceforge.stripes.examples.quickstart.AutocompleteActionBean.tracingService

                at com.samaxes.stripes.ejb3.EJBInterceptor.intercept(EJBInterceptor.java:138) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.DispatcherHelper.resolveActionBean(DispatcherHelper.java:104) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.DispatcherServlet.resolveActionBean(DispatcherServlet.java:238) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:141) [stripes.jar:1511]

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                at net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:260) [stripes.jar:1511]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

                at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

                at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_30]

      Caused by: net.sourceforge.stripes.exception.StripesRuntimeException: Unable to find an EJBBean with name [tracingService] in the initial context.

                at com.samaxes.stripes.ejb3.EJBInterceptor.findEJB(EJBInterceptor.java:253) [stripes.jar:1511]

                at com.samaxes.stripes.ejb3.EJBInterceptor.intercept(EJBInterceptor.java:135) [stripes.jar:1511]

                ... 25 more

       

       

      16:10:25,511 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/StripesWeb].[StripesDispatcher]] (http-localhost-127.0.0.1-8080-4) "Servlet.service()" pour la servlet StripesDispatcher a généré une exception: net.sourceforge.stripes.exception.StripesRuntimeException: Unable to find an EJBBean with name [tracingService] in the initial context.

                at com.samaxes.stripes.ejb3.EJBInterceptor.findEJB(EJBInterceptor.java:253) [stripes.jar:1511]

                at com.samaxes.stripes.ejb3.EJBInterceptor.intercept(EJBInterceptor.java:135) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.DispatcherHelper.resolveActionBean(DispatcherHelper.java:104) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.DispatcherServlet.resolveActionBean(DispatcherServlet.java:238) [stripes.jar:1511]

                at net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:141) [stripes.jar:1511]

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                at net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:260) [stripes.jar:1511]

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

                at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

                at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_30]

       

      please help

      Thanks !!!