2 Replies Latest reply on Dec 20, 2010 4:39 AM by Wojtek Augustynski

    help with packtpub JBoss 5 AS book example

    Wojtek Augustynski Newbie

      Hello,

      I'm following along in the packtpub JBoss 5 AS book and came upon an issue I can't resolve. 

      There is nothing in the errata on it, so I thought I would try asking for help here.

      Running JBoss 6.0 on JDK 6.

      I followed everything to a "T" though JBoss throws an exception that it can't inject a resource as its not bound.  This after on deployment it clearly states that its bound to global jndi:

       

       

      16:21:46,143 INFO  [org.hibernate.util.NamingHelper] Creating subcontext: persistence.unit:unitName=EnterpriseStore.ear
      16:21:46,143 INFO  [org.hibernate.impl.SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.unit:unitName=EnterpriseStore.ear/AppStore.jar#AppStore
      16:21:46,143 WARN  [org.hibernate.impl.SessionFactoryObjectFactory] InitialContext did not implement EventContext
      16:21:46,144 INFO  [org.hibernate.util.NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      16:21:46,152 INFO  [org.jboss.ejb3.session.SessionSpecContainer] Starting jboss.j2ee:ear=EnterpriseStore.ear,jar=AppStore.jar,name=StoreManagerBean,service=EJB3
      16:21:46,179 INFO  [org.jboss.ejb3.EJBContainer] STARTED EJB: com.packtpub.ejb.example3.StoreManagerBean ejbName: StoreManagerBean
      16:21:46,266 INFO  [org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
      AppstoreEJB/remote - EJB3.x Default Remote Business Interface
      EnterpriseStore/StoreManagerBean/remote-com.packtpub.ejb.example3.StoreManagerRemote - EJB3.x Remote Business Interface
      AppstoreEJB/local - EJB3.x Default Local Business Interface
      EnterpriseStore/StoreManagerBean/local-com.packtpub.ejb.example3.StoreManagerLocal - EJB3.x Local Business Interface
      16:21:46,869 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] deploy, ctxPath=/AppStoreWeb
      16:21:46,916 INFO  [org.apache.catalina.core.StandardContext] The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
      16:21:46,917 INFO  [org.apache.catalina.core.StandardContext] The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.
      16:23:55,792 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/AppStoreWeb].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception: javax.naming.NameNotFoundException: AppStoreEJB not bound
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:771) [:5.0.5.Final]
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:779) [:5.0.5.Final]
      at org.jnp.server.NamingServer.getObject(NamingServer.java:785) [:5.0.5.Final]
      at org.jnp.server.NamingServer.lookup(NamingServer.java:396) [:5.0.5.Final]
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:728) [:5.0.5.Final]
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:688) [:5.0.5.Final]
      at javax.naming.InitialContext.lookup(InitialContext.java:392) [:1.6.0_22]
      at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1350) [:5.0.5.Final]
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:819) [:5.0.5.Final]
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:688) [:5.0.5.Final]
      at org.jboss.ejb3.JndiUtil.lookup(JndiUtil.java:44) [:1.5.1]
      at org.jboss.injection.JndiPropertyInjector.lookup(JndiPropertyInjector.java:75) [:1.5.1]
      at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:99) [:1.5.1]
      at org.jboss.web.tomcat.service.TomcatInjectionContainer.processInjectors(TomcatInjectionContainer.java:395) [:6.0.0.20100911-M5]
      at org.jboss.web.jsf.integration.injection.JBossDelegatingInjectionProvider.inject(JBossDelegatingInjectionProvider.java:77) [:1.0.0]
      at com.sun.faces.mgbean.BeanBuilder.injectResources(BeanBuilder.java:205) [:2.0.2-FCS]
      at com.sun.faces.mgbean.BeanBuilder.build(BeanBuilder.java:103) [:2.0.2-FCS]
      at com.sun.faces.mgbean.BeanManager.createAndPush(BeanManager.java:405) [:2.0.2-FCS]
      at com.sun.faces.mgbean.BeanManager.create(BeanManager.java:267) [:2.0.2-FCS]
      at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:86) [:2.0.2-FCS]
      at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175) [:1.0.0.Beta2]
      at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72) [:2.0.2-FCS]
      at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:67) [:6.0.0.20100911-M5]
      at org.apache.el.parser.AstValue.getValue(AstValue.java:115) [:6.0.0.20100911-M5]
      at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:187) [:6.0.0.20100911-M5]
      at org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:101) [:6.0.0.20100911-M5]
      at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:190) [:2.0.2-FCS]
      at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:178) [:2.0.2-FCS]
      at javax.faces.component.UIOutput.getValue(UIOutput.java:168) [:2.0.2-FCS]
      at com.sun.faces.renderkit.html_basic.MenuRenderer.getCurrentSelectedValues(MenuRenderer.java:646) [:2.0.2-FCS]
      at com.sun.faces.renderkit.html_basic.MenuRenderer.renderOptions(MenuRenderer.java:747) [:2.0.2-FCS]
      at com.sun.faces.renderkit.html_basic.MenuRenderer.renderSelect(MenuRenderer.java:842) [:2.0.2-FCS]
      at com.sun.faces.renderkit.html_basic.MenuRenderer.encodeEnd(MenuRenderer.java:296) [:2.0.2-FCS]
      at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:878) [:2.0.2-FCS]
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1620) [:2.0.2-FCS]
      at javax.faces.render.Renderer.encodeChildren(Renderer.java:168) [:2.0.2-FCS]
      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848) [:2.0.2-FCS]
      at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:287) [:2.0.2-FCS]
      at com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:185) [:2.0.2-FCS]
      at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:129) [:2.0.2-FCS]
      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848) [:2.0.2-FCS]
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613) [:2.0.2-FCS]
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616) [:2.0.2-FCS]
      at com.sun.faces.application.view.JspViewHandlingStrategy.doRenderView(JspViewHandlingStrategy.java:420) [:2.0.2-FCS]
      at com.sun.faces.application.view.JspViewHandlingStrategy.renderView(JspViewHandlingStrategy.java:209) [:2.0.2-FCS]
      at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126) [:2.0.2-FCS]
      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127) [:2.0.2-FCS]
      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [:2.0.2-FCS]
      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [:2.0.2-FCS]
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313) [:2.0.2-FCS]
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.20100911-M5]
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.20100911-M5]
      at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63) [:6.0.0.20100911-M5]
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.20100911-M5]
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.20100911-M5]
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:6.0.0.20100911-M5]
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:6.0.0.20100911-M5]
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0.20100911-M5]
      at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.CR3]
      at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.CR3]
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0.20100911-M5]
      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0.20100911-M5]
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.20100911-M5]
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.20100911-M5]
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.20100911-M5]
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.20100911-M5]
      at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.20100911-M5]
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.20100911-M5]
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.20100911-M5]
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [:6.0.0.20100911-M5]
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.20100911-M5]
      at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]

      16:21:46,143 INFO  [org.hibernate.util.NamingHelper] Creating subcontext: persistence.unit:unitName=EnterpriseStore.ear

      16:21:46,143 INFO  [org.hibernate.impl.SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.unit:unitName=EnterpriseStore.ear/AppStore.jar#AppStore

      16:21:46,143 WARN  [org.hibernate.impl.SessionFactoryObjectFactory] InitialContext did not implement EventContext

      16:21:46,144 INFO  [org.hibernate.util.NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}

      16:21:46,152 INFO  [org.jboss.ejb3.session.SessionSpecContainer] Starting jboss.j2ee:ear=EnterpriseStore.ear,jar=AppStore.jar,name=StoreManagerBean,service=EJB3

      16:21:46,179 INFO  [org.jboss.ejb3.EJBContainer] STARTED EJB: com.packtpub.ejb.example3.StoreManagerBean ejbName: StoreManagerBean

      16:21:46,266 INFO  [org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:

       

      AppstoreEJB/remote - EJB3.x Default Remote Business Interface

      EnterpriseStore/StoreManagerBean/remote-com.packtpub.ejb.example3.StoreManagerRemote - EJB3.x Remote Business Interface

      AppstoreEJB/local - EJB3.x Default Local Business Interface

      EnterpriseStore/StoreManagerBean/local-com.packtpub.ejb.example3.StoreManagerLocal - EJB3.x Local Business Interface

       

      16:21:46,869 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] deploy, ctxPath=/AppStoreWeb

      16:21:46,916 INFO  [org.apache.catalina.core.StandardContext] The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.

      16:21:46,917 INFO  [org.apache.catalina.core.StandardContext] The listener "com.sun.faces.config.ConfigureListener" is already configured for this context. The duplicate definition has been ignored.

      16:23:55,792 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/AppStoreWeb].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception: javax.naming.NameNotFoundException: AppStoreEJB not bound

      at org.jnp.server.NamingServer.getBinding(NamingServer.java:771) [:5.0.5.Final]

      at org.jnp.server.NamingServer.getBinding(NamingServer.java:779) [:5.0.5.Final]

      at org.jnp.server.NamingServer.getObject(NamingServer.java:785) [:5.0.5.Final]

      at org.jnp.server.NamingServer.lookup(NamingServer.java:396) [:5.0.5.Final]

      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:728) [:5.0.5.Final]

      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:688) [:5.0.5.Final]

      at javax.naming.InitialContext.lookup(InitialContext.java:392) [:1.6.0_22]

      at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1350) [:5.0.5.Final]

      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:819) [:5.0.5.Final]

      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:688) [:5.0.5.Final]

      at org.jboss.ejb3.JndiUtil.lookup(JndiUtil.java:44) [:1.5.1]

      at org.jboss.injection.JndiPropertyInjector.lookup(JndiPropertyInjector.java:75) [:1.5.1]

      at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:99) [:1.5.1]

      at org.jboss.web.tomcat.service.TomcatInjectionContainer.processInjectors(TomcatInjectionContainer.java:395) [:6.0.0.20100911-M5]

      at org.jboss.web.jsf.integration.injection.JBossDelegatingInjectionProvider.inject(JBossDelegatingInjectionProvider.java:77) [:1.0.0]

      at com.sun.faces.mgbean.BeanBuilder.injectResources(BeanBuilder.java:205) [:2.0.2-FCS]

      at com.sun.faces.mgbean.BeanBuilder.build(BeanBuilder.java:103) [:2.0.2-FCS]

      at com.sun.faces.mgbean.BeanManager.createAndPush(BeanManager.java:405) [:2.0.2-FCS]

      at com.sun.faces.mgbean.BeanManager.create(BeanManager.java:267) [:2.0.2-FCS]

      at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:86) [:2.0.2-FCS]

      at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:175) [:1.0.0.Beta2]

      at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72) [:2.0.2-FCS]

      at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:67) [:6.0.0.20100911-M5]

      at org.apache.el.parser.AstValue.getValue(AstValue.java:115) [:6.0.0.20100911-M5]

      at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:187) [:6.0.0.20100911-M5]

      at org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:101) [:6.0.0.20100911-M5]

      at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:190) [:2.0.2-FCS]

      at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:178) [:2.0.2-FCS]

      at javax.faces.component.UIOutput.getValue(UIOutput.java:168) [:2.0.2-FCS]

      at com.sun.faces.renderkit.html_basic.MenuRenderer.getCurrentSelectedValues(MenuRenderer.java:646) [:2.0.2-FCS]

      at com.sun.faces.renderkit.html_basic.MenuRenderer.renderOptions(MenuRenderer.java:747) [:2.0.2-FCS]

      at com.sun.faces.renderkit.html_basic.MenuRenderer.renderSelect(MenuRenderer.java:842) [:2.0.2-FCS]

      at com.sun.faces.renderkit.html_basic.MenuRenderer.encodeEnd(MenuRenderer.java:296) [:2.0.2-FCS]

      at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:878) [:2.0.2-FCS]

      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1620) [:2.0.2-FCS]

      at javax.faces.render.Renderer.encodeChildren(Renderer.java:168) [:2.0.2-FCS]

      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848) [:2.0.2-FCS]

      at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:287) [:2.0.2-FCS]

      at com.sun.faces.renderkit.html_basic.GridRenderer.renderRow(GridRenderer.java:185) [:2.0.2-FCS]

      at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:129) [:2.0.2-FCS]

      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848) [:2.0.2-FCS]

      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613) [:2.0.2-FCS]

      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616) [:2.0.2-FCS]

      at com.sun.faces.application.view.JspViewHandlingStrategy.doRenderView(JspViewHandlingStrategy.java:420) [:2.0.2-FCS]

      at com.sun.faces.application.view.JspViewHandlingStrategy.renderView(JspViewHandlingStrategy.java:209) [:2.0.2-FCS]

      at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126) [:2.0.2-FCS]

      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127) [:2.0.2-FCS]

      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [:2.0.2-FCS]

      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) [:2.0.2-FCS]

      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:313) [:2.0.2-FCS]

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.20100911-M5]

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.20100911-M5]

      at org.jboss.resteasy.plugins.server.servlet.FilterDispatcher.doFilter(FilterDispatcher.java:63) [:6.0.0.20100911-M5]

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.20100911-M5]

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.20100911-M5]

      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:6.0.0.20100911-M5]

      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:6.0.0.20100911-M5]

      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0.20100911-M5]

      at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.CR3]

      at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.CR3]

      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0.20100911-M5]

      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0.20100911-M5]

      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.20100911-M5]

      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.20100911-M5]

      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.20100911-M5]

      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.20100911-M5]

      at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.20100911-M5]

      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.20100911-M5]

      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.20100911-M5]

      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [:6.0.0.20100911-M5]

      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.20100911-M5]

      at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]

       

      In the bean I have:

      import org.jboss.ejb3.annotation.LocalBinding;

      import org.jboss.ejb3.annotation.RemoteBinding;

       

      import com.packtpub.jpa.example3.Customer;

      import com.packtpub.jpa.example3.Item;

       

      @Stateless

      @RemoteBinding(jndiBinding="AppstoreEJB/remote")

      @LocalBinding(jndiBinding="AppstoreEJB/local")

      public class StoreManagerBean implements StoreManagerLocal, StoreManagerRemote{

      What am I doing wrong?
      My sincere gratitude in advance.