[jboss-user] [Management, JMX/JBoss] - Re: Bug? Multiple interfaces in the implementation causes De

dsteinwe do-not-reply at jboss.com
Wed Feb 11 04:20:33 EST 2009


I use JBoss 5.0.1GA because in this version are some bugs fixed in the jmx-console webapp.

I get following exception log:

  | 10:01:39,781 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/D:/jboss/jboss-5.0.1.GA/server/default/deploy/ccontrol.ear state=PreReal mode=Manual requiredState=Real
  | org.jboss.deployers.spi.DeploymentException: Error deploying mis_ccontrol-service.jar: Error creating ejb container StaffImportScanner: Bean Class com.isios.mis.ccontrol.base.service.StaffImportScanner has no local, webservice, or remote interfaces defined and does not implement at least one business interface: StaffImportScanner
  | 	at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:201)
  | 	at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:103)
  | 	at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalDeploy(AbstractVFSRealDeployer.java:45)
  | 	at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
  | 	at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
  | 	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
  | 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
  | 	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
  | 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
  | 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
  | 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
  | 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
  | 	at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
  | 	at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
  | 	at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
  | 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
  | 	at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
  | 	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
  | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
  | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
  | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
  | 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  | 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  | 	at java.lang.Thread.run(Thread.java:619)
  | Caused by: org.jboss.deployers.spi.DeploymentException: Error creating ejb container StaffImportScanner: Bean Class com.isios.mis.ccontrol.base.service.StaffImportScanner has no local, webservice, or remote interfaces defined and does not implement at least one business interface: StaffImportScanner
  | 	at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:682)
  | 	at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:628)
  | 	at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:610)
  | 	at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:573)
  | 	at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:488)
  | 	at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:187)
  | 	... 28 more
  | Caused by: java.lang.RuntimeException: Bean Class com.isios.mis.ccontrol.base.service.StaffImportScanner has no local, webservice, or remote interfaces defined and does not implement at least one business interface: StaffImportScanner
  | 	at org.jboss.ejb3.proxy.factory.ProxyFactoryHelper.getLocalAndBusinessLocalInterfaces(ProxyFactoryHelper.java:255)
  | 	at org.jboss.ejb3.proxy.factory.ProxyFactoryHelper.getLocalBusinessInterfaces(ProxyFactoryHelper.java:550)
  | 	at org.jboss.ejb3.session.SessionContainer.resolveBusinessInterfaces(SessionContainer.java:161)
  | 	at org.jboss.ejb3.service.ServiceContainer.resolveBusinessInterfaces(ServiceContainer.java:265)
  | 	at org.jboss.ejb3.EJBContainer.instantiated(EJBContainer.java:1564)
  | 	at org.jboss.ejb3.session.SessionContainer.instantiated(SessionContainer.java:151)
  | 	at org.jboss.ejb3.service.ServiceContainer.instantiated(ServiceContainer.java:259)
  | 	at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:676)
  | 	... 33 more
  | 10:01:39,796 WARN  [HDScanner] Failed to process changes
  | org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
  | 
  | *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
  | 
  | com.isios.ccontrol:service=StaffImportScanner
  |  -> <UNKNOWN com.isios.ccontrol:service=StaffImportScanner>{Described:** UNRESOLVED Demands 'jboss.j2ee:ear=ccontrol.ear,jar=mis_ccontrol-service.jar,name=StaffImportScanner,service=EJB3' **}
  | 
  | com.isios.mis.ccontrol:service=PrivilegeSynchronizer
  |  -> <UNKNOWN com.isios.mis.ccontrol:service=PrivilegeSynchronizer>{Described:** UNRESOLVED Demands 'jboss.j2ee:ear=ccontrol.ear,jar=mis_ccontrol-service.jar,name=PrivilegeSynchronizer,service=EJB3' **}
  | 
  | com.isios.mis.ccontrol:service=PropertiesLoaderService
  |  -> <UNKNOWN com.isios.mis.ccontrol:service=PropertiesLoaderService>{Described:** UNRESOLVED Demands 'jboss.j2ee:ear=ccontrol.ear,jar=mis_ccontrol-bootstrap.jar,name=PropertiesLoader,service=EJB3' **}
  | 
  | 
  | *** CONTEXTS IN ERROR: Name -> Error
  | 
  | vfszip:/D:/jboss/jboss-5.0.1.GA/server/default/deploy/ccontrol.ear -> java.lang.RuntimeException: Bean Class com.isios.mis.ccontrol.base.service.StaffImportScanner has no local, webservice, or remote interfaces defined and does not implement at least one business interface: StaffImportScanner
  | 
  | <UNKNOWN com.isios.mis.ccontrol:service=PropertiesLoaderService> -> ** UNRESOLVED Demands 'jboss.j2ee:ear=ccontrol.ear,jar=mis_ccontrol-bootstrap.jar,name=PropertiesLoader,service=EJB3' **
  | 
  | <UNKNOWN com.isios.ccontrol:service=StaffImportScanner> -> ** UNRESOLVED Demands 'jboss.j2ee:ear=ccontrol.ear,jar=mis_ccontrol-service.jar,name=StaffImportScanner,service=EJB3' **
  | 
  | <UNKNOWN com.isios.mis.ccontrol:service=PrivilegeSynchronizer> -> ** UNRESOLVED Demands 'jboss.j2ee:ear=ccontrol.ear,jar=mis_ccontrol-service.jar,name=PrivilegeSynchronizer,service=EJB3' **
  | 
  | 
  | 	at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:863)
  | 	at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:665)
  | 	at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:293)
  | 	at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
  | 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
  | 	at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
  | 	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
  | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
  | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
  | 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
  | 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
  | 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  | 	at java.lang.Thread.run(Thread.java:619)
  | 
  | 

Don't be confused about the class & archive names. The real names my project differs a little bit from the first posting.

The real code is:

  | @Service(objectName=StaffImportScanner.OBJECT_NAME)
  | @Management(StaffImportScannerService.class)
  | public class StaffImportScanner implements StaffImportScannerService, TriggerListener {
  | ...
  | }
  | 

TriggerListener is an interface from the quartz framework. StaffImportScannerService is an own defined interface that I want to expose.

Cheers Dieter.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4208898#4208898

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4208898



More information about the jboss-user mailing list