[JNDI/Naming/Network] - EJB to EJB communication via local interface
by g3rd
Hello,
I am attempting to make an application project (WAR/EAR) talk to another EJB (EJB/EAR) in the same container. JBoss 4.0.2. with EJB 2.0. The EJB/EAR is being called by the WAR/EAR project.
EJB/EAR's ejb-jar.xml:
<session id="Session_Team">
| <description><![CDATA[SessionBean: Team]]></description>
| <display-name>Team</display-name>
| <ejb-name>TeamEJB</ejb-name>
| <home>com.g3rdmedia.sports.ejb.team.TeamHome</home>
| <remote>com.g3rdmedia.sports.ejb.team.Team</remote>
| <local-home>com.g3rdmedia.sports.ejb.team.TeamLocalHome</local-home>
| <local>com.g3rdmedia.sports.ejb.team.TeamLocal</local>
| <ejb-class>com.g3rdmedia.sports.ejb.team.TeamSession</ejb-class>
| <session-type>Stateless</session-type>
| <transaction-type>Container</transaction-type>
| </session>
...
<assembly-descriptor id="AssemblyDescriptor_1">
| <method-permission>
| <unchecked />
| <method>
| <ejb-name>TeamEJB</ejb-name>
| <method-name>*</method-name>
| </method>
| </method-permission>
| </assembly-descriptor>
EJB/EAR's jboss.xml:
<session>
| <ejb-name>TeamEJB</ejb-name>
| <jndi-name>TeamEJB</jndi-name>
| <local-jndi-name>ejb/local/TeamEJB</local-jndi-name>
|
| <method-attributes>
| </method-attributes>
| </session>
WAR/EAR's web.xml:
<ejb-local-ref>
| <ejb-ref-name>ebj/local/TeamEJB</ejb-ref-name>
| <ejb-ref-type>Session</ejb-ref-type>
| <local-home>com.g3rdmedia.sports.ejb.team.TeamLocalHome</local-home>
| <local>com.g3rdmedia.sports.ejb.team.TeamLocal</local>
| <ejb-link>TeamEJB</ejb-link>
| </ejb-local-ref>
Server.log:
19:58:14,572 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'TeamEJB' to jndi 'ejb/local/TeamEJB'
| 19:58:14,578 INFO [ProxyFactory] Bound EJB Home 'TeamEJB' to jndi 'TeamEJB'
...
| 19:58:34,565 WARN [ServiceController] Problem starting service jboss.web.deployment:war=portal-web.war,id=819617493
| org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NamingException: ejb-local-ref: 'ejb/local/TeamEJB', with web.xml ejb-link: 'TeamEJB' failed to resolve to an ejb with a LocalHome)
| at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:380)
| at org.jboss.web.WebModule.startModule(WebModule.java:83)
| at org.jboss.web.WebModule.startService(WebModule.java:61)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy38.start(Unknown Source)
| at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
| 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:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
| at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy39.start(Unknown Source)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy8.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| 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:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:490)
| at java.lang.Thread.run(Thread.java:613)
| Caused by: javax.naming.NamingException: ejb-local-ref: 'ejb/local/TeamEJB', with web.xml ejb-link: 'TeamEJB' failed to resolve to an ejb with a LocalHome
| at org.jboss.web.AbstractWebDeployer.linkEjbLocalRefs(AbstractWebDeployer.java:727)
| at org.jboss.web.AbstractWebDeployer.parseWebAppDescriptors(AbstractWebDeployer.java:516)
| at org.jboss.web.AbstractWebDeployer$DescriptorParser.parseWebAppDescriptors(AbstractWebDeployer.java:865)
| at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:157)
| at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
| at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
| ... 113 more
| 19:58:34,568 ERROR [MainDeployer] Could not start deployment: file:/usr/local/jboss/server/default/deploy/liferay-portal.ear/portal-web.war/
| org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NamingException: ejb-local-ref: 'ejb/local/TeamEJB', with web.xml ejb-link: 'TeamEJB' failed to resolve to an ejb with a LocalHome)
| at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:380)
| at org.jboss.web.WebModule.startModule(WebModule.java:83)
| at org.jboss.web.WebModule.startService(WebModule.java:61)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy38.start(Unknown Source)
| at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
| 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:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
| at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy39.start(Unknown Source)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy8.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy4.start(Unknown Source)
| at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| 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:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy5.deploy(Unknown Source)
| at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
| at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
| at org.jboss.Main.boot(Main.java:200)
| at org.jboss.Main$1.run(Main.java:490)
| at java.lang.Thread.run(Thread.java:613)
| Caused by: javax.naming.NamingException: ejb-local-ref: 'ejb/local/TeamEJB', with web.xml ejb-link: 'TeamEJB' failed to resolve to an ejb with a LocalHome
| at org.jboss.web.AbstractWebDeployer.linkEjbLocalRefs(AbstractWebDeployer.java:727)
| at org.jboss.web.AbstractWebDeployer.parseWebAppDescriptors(AbstractWebDeployer.java:516)
| at org.jboss.web.AbstractWebDeployer$DescriptorParser.parseWebAppDescriptors(AbstractWebDeployer.java:865)
| at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:157)
| at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
| at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
| ... 113 more
| 19:58:34,571 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
|
| --- Incompletely deployed packages ---
| org.jboss.deployment.DeploymentInfo@30da5ed5 { url=file:/usr/local/jboss/server/default/deploy/liferay-portal.ear/portal-web.war/ }
| deployer: MBeanProxyExt[jboss.web:service=WebServer]
| status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NamingException: ejb-local-ref: 'ejb/local/TeamEJB', with web.xml ejb-link: 'TeamEJB' failed to resolve to an ejb with a LocalHome)
| state: FAILED
| watch: file:/usr/local/jboss/server/default/deploy/liferay-portal.ear/portal-web.war/WEB-INF/web.xml
| altDD: null
| lastDeployed: 1165885105531
| lastModified: 1165879998000
| mbeans:
|
| org.jboss.deployment.DeploymentInfo@4ed79259 { url=file:/usr/local/jboss/server/default/deploy/liferay-portal.ear/tunnel-web.war/ }
| deployer: MBeanProxyExt[jboss.web:service=WebServer]
| status: Created
| state: CREATED
| watch: file:/usr/local/jboss/server/default/deploy/liferay-portal.ear/tunnel-web.war/WEB-INF/web.xml
| altDD: null
| lastDeployed: 1165885106577
| lastModified: 1165879971000
| mbeans:
|
| org.jboss.deployment.DeploymentInfo@ba435403 { url=file:/usr/local/jboss/server/default/deploy/liferay-portal.ear/ }
| deployer: org.jboss.deployment.EARDeployer@437ab2
| status: Deployment FAILED reason: Error during deploy; - nested throwable: (javax.naming.NamingException: ejb-local-ref: 'ejb/local/TeamEJB', with web.xml ejb-link: 'TeamEJB' failed to resolve to an ejb with a LocalHome)
| state: FAILED
| watch: file:/usr/local/jboss/server/default/deploy/liferay-portal.ear/META-INF/application.xml
| altDD: null
| lastDeployed: 1165885106578
| lastModified: 1165880001000
| mbeans:
|
| --- MBeans waiting for other MBeans ---
| ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
| State: CONFIGURED
| I Depend On:
| jboss.mq:service=Invoker
| jboss.web:service=WebServer
|
| ObjectName: jboss.mq:service=Invoker
| State: CONFIGURED
| I Depend On:
| jboss.mq:service=TracingInterceptor
| jboss:service=Naming
| Depends On Me:
| jboss.mq:service=InvocationLayer,type=HTTP
| jboss.mq:service=InvocationLayer,type=JVM
| jboss.mq:service=InvocationLayer,type=UIL2
|
| ObjectName: jboss.mq:service=TracingInterceptor
| State: CONFIGURED
| I Depend On:
| jboss.mq:service=SecurityManager
| Depends On Me:
| jboss.mq:service=Invoker
|
| ObjectName: jboss.mq:service=SecurityManager
| State: CONFIGURED
| I Depend On:
| jboss.mq:service=DestinationManager
| Depends On Me:
| jboss.mq:service=TracingInterceptor
| jboss.mq.destination:service=Queue,name=DLQ
|
| ObjectName: jboss.mq.destination:service=Queue,name=DLQ
| State: CONFIGURED
| I Depend On:
| jboss.mq:service=DestinationManager
| jboss.mq:service=SecurityManager
|
| ObjectName: jboss.mq:service=InvocationLayer,type=JVM
| State: CONFIGURED
| I Depend On:
| jboss.mq:service=Invoker
|
| ObjectName: jboss.mq:service=DestinationManager
| State: CONFIGURED
| I Depend On:
| jboss.mq:service=MessageCache
| jboss.mq:service=PersistenceManager
| jboss.mq:service=StateManager
| Depends On Me:
| jboss.mq:service=SecurityManager
| jboss.mq.destination:service=Queue,name=DLQ
|
| ObjectName: jboss.mq:service=PersistenceManager
| State: CONFIGURED
| I Depend On:
| jboss.jca:service=DataSourceBinding,name=MySqlDS
| Depends On Me:
| jboss.mq:service=DestinationManager
|
| ObjectName: jboss.mq:service=InvocationLayer,type=UIL2
| State: CONFIGURED
| I Depend On:
| jboss.mq:service=Invoker
|
| ObjectName: jboss.web.deployment:war=portal-web.war,id=819617493
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NamingException: ejb-local-ref: 'ejb/local/TeamEJB', with web.xml ejb-link: 'TeamEJB' failed to resolve to an ejb with a LocalHome)
|
| --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
| ObjectName: jboss.web.deployment:war=portal-web.war,id=819617493
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NamingException: ejb-local-ref: 'ejb/local/TeamEJB', with web.xml ejb-link: 'TeamEJB' failed to resolve to an ejb with a LocalHome)
|
| ObjectName: jboss.jca:service=DataSourceBinding,name=MySqlDS
| State: NOTYETINSTALLED
| Depends On Me:
| jboss.mq:service=PersistenceManager
|
Any ideas?
Thanks,
Chad.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992942#3992942
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992942
19 years, 4 months
[JBoss AOP] - Re: probleam in granularity of interception
by fabiocsilva
return true:
| ...
| [aopc] [debug] was controllers.HealthWatcherFacade converted: true
| [aopc] [compiled] /home/fabio/workspace/HealthWatcher_AO_JBossAOP/bin/controllers/HealthWatcherFacade.class
| [aopc] [trying to transform] exceptions.ExceptionMessages
| [aopc] [debug] javassist.CtConstructor@1ef9157[public ExceptionMessages ()V] matches no pointcuts
| [aopc] [debug] was exceptions.ExceptionMessages converted: false
| [aopc] [no comp needed] /home/fabio/workspace/HealthWatcher_AO_JBossAOP/bin/exceptions/ExceptionMessages.class
| [aopc] [trying to transform] gui.servlets.ServletInsertSpecialComplaint
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] javassist.CtMethod@4401295e[public init (Ljavax/servlet/ServletConfig;)V] matches no pointcuts
| [aopc] [debug] javassist.CtMethod@8bb1d60[public doPost (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V] matches no pointcuts
| [aopc] [debug] javassist.CtConstructor@12f0999[public ServletInsertSpecialComplaint ()V] matches no pointcuts
| [aopc] [debug] gui.servlets.ServletInsertSpecialComplaint.healthWatcher:Lcontrollers/HealthWatcherFacade; matches no pointcuts
| [aopc] [debug] gui.servlets.ServletInsertSpecialComplaint.healthWatcher:Lcontrollers/HealthWatcherFacade; matches no pointcuts
| [aopc] [debug] was gui.servlets.ServletInsertSpecialComplaint converted: false
| [aopc] [no comp needed] /home/fabio/workspace/HealthWatcher_AO_JBossAOP/bin/gui/servlets/ServletInsertSpecialComplaint.class
| [aopc] [trying to transform] aspects.distribution.AbstractServerSideAspect
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] javassist.CtMethod@6c0a65c0[abstract initFacadeInstance ()Ljava/rmi/Remote;] matches no pointcuts
| [aopc] [debug] javassist.CtMethod@2e5a5a51[abstract getSystemName ()Ljava/lang/String;] matches no pointcuts
| [aopc] [debug] javassist.CtMethod@a03c8b01[public beforeFacadeMainExecution (Lorg/jboss/aop/joinpoint/Invocation;)Ljava/lang/Object;] matches no pointcuts
| [aopc] [debug] javassist.CtMethod@f62fe68a[private rmiFacadeExceptionHandling (Ljava/lang/Throwable;)V] matches no pointcuts
| [aopc] [debug] javassist.CtConstructor@11f2ee1[public AbstractServerSideAspect ()V] matches no pointcuts
| [aopc] [debug] was aspects.distribution.AbstractServerSideAspect converted: false
| [aopc] [no comp needed] /home/fabio/workspace/HealthWatcher_AO_JBossAOP/bin/aspects/distribution/AbstractServerSideAspect.class
| [aopc] [trying to transform] aspects.distribution.HealthWatcherServerSideAspect
| [aopc] [debug] MethodCall does not match: call(employee.EmployeeRecord->new(..))
| [aopc] [debug] MethodCall does not match: recordsCreation
| [aopc] [debug] javassist.CtMethod@2e5a5a51[ getSystemName ()Ljava/lang/String;] matches no pointcuts
| [aopc] [debug] javassist.CtMethod@c93af865[ getServerName ()Ljava/lang/String;] matches no pointcuts
| [aopc] [debug] javassist.CtMethod@ccba27a7[public setServerName (Ljava/lang/String;)V] matches no pointcuts
| [aopc] [debug] javassist.CtMethod@6c0a65c0[ initFacadeInstance ()Ljava/rmi/Remote;] matches no pointcuts
| [aopc] [debug] javassist.CtConstructor@3ecfff[public HealthWatcherServerSideAspect ()V] matches no pointcuts
| [aopc] [debug] aspects.distribution.HealthWatcherServerSideAspect.RMI_SERVER_NAME:Ljava/lang/String; matches no pointcuts
| [aopc] [debug] aspects.distribution.HealthWatcherServerSideAspect.RMI_SERVER_NAME:Ljava/lang/String; matches no pointcuts
| [aopc] [debug] was aspects.distribution.HealthWatcherServerSideAspect converted: false
| [aopc] [no comp needed] /home/fabio/workspace/HealthWatcher_AO_JBossAOP/bin/aspects/distribution/HealthWatcherServerSideAspect.class
| [aopc] [trying to transform] exceptions.ObjectNotFoundException
| [aopc] [debug] javassist.CtConstructor@1c99159[public ObjectNotFoundException (Ljava/lang/String;)V] matches no pointcuts
| [aopc] [debug] was exceptions.ObjectNotFoundException converted: false
| [aopc] [no comp needed] /home/fabio/workspace/HealthWatcher_AO_JBossAOP/bin/exceptions/ObjectNotFoundException.class
| [aopc] Build Successful: 4153 ms
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992933#3992933
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992933
19 years, 4 months