EJBCLIENT000025 while assigning to Groups
gte338m Aug 30, 2012 2:46 PMI am getting the following exception while assigning the ear file to all groups in AS 7.1.2.Final.
I can tell that the ejb call from the sar to ProjectEar-ejb.jar is occuring, because I see output in the log file that indicates it is occurring. It seems that when the thread returns from the call or during the return, that the exception below occurs. The start method of the service initializes the ejb remote and calls a business method on the ejb remote object which results in the logging that the ssbn is performing.
Note that I am running in a AS7.1.2 clustered environment consisting of a master and a slave.
The ear consists of:
/META-INF/application.xml
/META-INF/jboss-app.xml
/META-INF/jboss-deployment-structure.xml //Note that this has a sub-deployment for the sar to assign a dependency to deployment.iHarvest.ear.iHarvestEar-ejb.jar in order to get the ejb remote in the classpath.
/META-INF/jboss-ejb-client.properties //This is here to attempt to create the EJB Receiver for the sar file in the ear. I have also tried placing it in the sar/META-INF with no success.
/META-INF/MANIFEST.MF
lib/*.jar
iHarvest.sar
iHarvest.war
iHarvestEar-ejb.jar
Exception:
00:39:20,651 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.mbean.service."service.server.monitor:service=iHarvestMonitor".start: org.jboss.msc.service.StartException in service jboss.mbean.service."service.server.monitor:service=iHarvestMonitor".start: JBAS017222: Failed to execute legacy service start() method
at org.jboss.as.service.StartStopService.start(StartStopService.java:56)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_29]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_29]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_29]
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_29]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_29]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_29]
at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_29]
at org.jboss.as.service.AbstractService.invokeLifecycleMethod(AbstractService.java:52)
at org.jboss.as.service.StartStopService.start(StartStopService.java:54)
... 5 more
Caused by: java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available for handling [appName:iHarvest, moduleName:iHarvest.sar, distinctName:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@7165ae07
at org.jboss.ejb.client.EJBClientContext.requireEJBReceiver(EJBClientContext.java:588)
at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:116)
at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:181)
at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:136)
at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:121)
at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:104)
at $Proxy18.process(Unknown Source) at com.tst.iharvest.services.iHarvestService.start(iHarvestService.java:53)
... 11 more
00:39:21,060 INFO [org.jboss.as.osgi] (MSC service thread 1-4) JBAS011907: Register module: Module "deployment.iHarvest.ear.iHarvest.war:main" from Service Module Loader
00:39:22,487 INFO [org.jboss.as.server] (host-controller-connection-threads - 1) JBAS015870: Deploy of deployment "iHarvest.ear" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.mbean.service.\"service.server.monitor:service=iHarvestMonitor\".start" => "org.jboss.msc.service.StartException in service jboss.mbean.service.\"service.server.monitor:service=iHarvestMonitor\".start: JBAS017222: Failed to execute legacy service start() method
Caused by: java.lang.reflect.InvocationTargetException
Caused by: java.lang.IllegalStateException: EJBCLIENT000025: No EJB receiver available for handling [appName:iHarvest, moduleName:iHarvest.sar, distinctName:] combination for invocation context org.jboss.ejb.client.EJBClientInvocationContext@7165ae07"},"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.mbean.registration.\"service.server.monitor:service=iHarvestMonitor\" Missing[JBAS014861: <one or more transitive dependencies>]"]}
00:39:22,488 INFO [org.jboss.as.controller] (host-controller-connection-threads - 1) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.mbean.service."service.server.monitor:service=iHarvestMonitor".start: org.jboss.msc.service.StartException in service jboss.mbean.service."service.server.monitor:service=iHarvestMonitor".start: JBAS017222: Failed to execute legacy service start() method
Thanks