[Installation, Configuration & DEPLOYMENT] - missing dependency: could not find ejb3 deployment
by sebbay
Hello,
I have a problem while deploying an EAR containing two JAR files.
The first JAR file is called core-administration, the second one is called core-domain.
Normally, JBoss deploys in alphabetical order, core-administration before core-domain.
In core-administration I have an webservice, which includes an EJB from core-domain via @EJB annotation.
The problem is, that core-domain is not yet deployed when core-administration needs it. Can somebody tell me what I need to do, that this works?
Here is the exception:
09-08-06 09:24:05.585 | ERROR | org.jboss.ejb3.Ejb3Deployment | Exception while processing container metadata for EJB: AdministrationServiceImpl in unit: core-administration.jar
| 09-08-06 09:24:05.585 | ERROR | org.jboss.kernel.plugins.dependency.AbstractKernelController | Error installing to Real: name=vfszip:/c:/jboss/server/default/deploy/test.ear/ state=PreReal mode=Manual requiredState=Real
| org.jboss.deployers.spi.DeploymentException: Error deploying core-administration.jar: Exception while processing container metadata for EJB: AdministrationServiceImpl in unit: core-administration.jar
| at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:196)
| at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:99)
| 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:1631)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
| 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:702)
| at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
| at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
| at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
| at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
| at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
| at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
| at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
| at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
| 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.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
| at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
| at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
| at org.jboss.Main.boot(Main.java:221)
| at org.jboss.Main$1.run(Main.java:556)
| at java.lang.Thread.run(Thread.java:619)
| Caused by: java.lang.Exception: Exception while processing container metadata for EJB: AdministrationServiceImpl in unit: core-administration.jar
| at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:549)
| at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:189)
| ... 34 more
| Caused by: java.lang.IllegalStateException: JBAS-5713: could not find an ejb3 deployment for core-domain.jar (yet), try reordering the jars or adding explicit dependencies
| at org.jboss.ejb3.deployers.JBoss5DeploymentScope.getEjbContainer(JBoss5DeploymentScope.java:173)
| at org.jboss.ejb3.Ejb3Deployment.getEjbContainer(Ejb3Deployment.java:410)
| at org.jboss.ejb3.EJBContainer.resolveEjbContainer(EJBContainer.java:1418)
| at org.jboss.injection.AbstractHandler.addDependency(AbstractHandler.java:50)
| at org.jboss.injection.EJBRemoteHandler.ejbRefDependency(EJBRemoteHandler.java:146)
| at org.jboss.injection.EJBRemoteHandler.handleFieldAnnotations(EJBRemoteHandler.java:393)
| at org.jboss.injection.InjectionUtil.processFieldAnnotations(InjectionUtil.java:160)
| at org.jboss.injection.InjectionUtil.processAnnotations(InjectionUtil.java:197)
| at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:609)
| at org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:418)
| at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:527)
| ... 35 more
Thanks,
sebbay
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248317#4248317
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248317
16 years, 8 months
[Beginners Corner] - Seam New Project Won't Deploy (JBoss Tools 3.1.0, Seam 2.2.0
by DavidMZen
Hi - I am trying to get a basic SEAM project to deploy on AS 5.1. The project is created via the new Project -> Seam Web Project wizard In Eclipse Galileo.
--Problem 1--
While setting up the SEAM properties for the project the wizard asks for the seam properties Seam Runtime. I have Seam 2.2 installed but when I try to use that the wizard complains that "The selected seam appears to be of an incompatible version '2.2.0.GA''.
So get around that I installed SEAM 2.0 and the previous problem is resolved. But I have on older version of seam.
--Problem 2--
When I 'run on server' the ant script builds a .war file and deploys that. However JBOSS AS then throws exceptions 'File Not Found' trying to load files from the .war file. This is a windows system. The ant script uses the task to build the war file - should it use the ant task instead?
Anyway, so I changed the build file to deploy the seam application unapacked to try to get around this problem.
--Problem 3--
Now JBOSS throws exceptions as the seam app is loading :-
Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! org.jboss.seam.jsf.SeamApplicationFactory
googling this seems to point to some conflict in which jsf libraries are being loaded. But being unfamiliar with JSF and SEAM I'm at a loss to know what the problem here is. Any help much appreciated..
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248304#4248304
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248304
16 years, 8 months
[JBoss jBPM] - Question&Problem for Demo on Spring Integration with jBPM4!
by mkch2000
Thanks for your demo as follow link. http://www.inze.be/andries/2009/05/16/demo-on-spring-integration-with-jbpm4/
I have faced the problem in using it.
Almost all of it are working fine.
But when i try to undeploy definition by repositoryService.deleteDeploymentCascade(deploymentId) method,
Bellow error is caused.
I need your advice.
Your help will be appreciate and helpfull me.
Thanks,
Kwangcheol
10:01:53,371 FIN | [DeleteDeploymentCmd] deleting deployment 19
Hibernate: select deployment0_.DBID_ as DBID1_19_0_, deployment0_.NAME_ as NAME2_19_0_, deployment0_.TIMESTAMP_ as TIMESTAMP3_19_0_, deployment0_.STATE_ as STATE4_19_0_ from JBPM4_DEPLOYMENT deployment0_ where deployment0_.DBID_=?
Hibernate: select resources0_.DEPLOYMENT_ as DEPLOYMENT4_1_, resources0_.DBID_ as DBID1_1_, resources0_.NAME_ as NAME5_1_, resources0_.DBID_ as DBID1_23_0_, resources0_.DBVERSION_ as DBVERSION2_23_0_, resources0_.BLOB_VALUE_ as BLOB3_23_0_ from JBPM4_LOB resources0_ where resources0_.DEPLOYMENT_=?
Hibernate: select objectprop0_.DEPLOYMENT_ as DEPLOYMENT2_1_, objectprop0_.DBID_ as DBID1_1_, objectprop0_.DBID_ as DBID1_20_0_, objectprop0_.DEPLOYMENT_ as DEPLOYMENT2_20_0_, objectprop0_.OBJNAME_ as OBJNAME3_20_0_, objectprop0_.KEY_ as KEY4_20_0_, objectprop0_.STRINGVAL_ as STRINGVAL5_20_0_, objectprop0_.LONGVAL_ as LONGVAL6_20_0_ from JBPM4_DEPLOYPROP objectprop0_ where objectprop0_.DEPLOYMENT_=?
### EXCEPTION ###########################################
10:01:53,387 INF | [DefaultCommandService] exception while executing command org.jbpm.pvm.internal.cmd.DeleteDeploymentCmd@a37c6a
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:396)
at org.jbpm.pvm.internal.repository.RepositoryCacheImpl.set(RepositoryCacheImpl.java:45)
at org.jbpm.pvm.internal.cmd.DeleteDeploymentCmd.execute(DeleteDeploymentCmd.java:92)
at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54)
at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:54)
at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
at org.jbpm.pvm.internal.repository.RepositoryServiceImpl.deleteDeployment(RepositoryServiceImpl.java:66)
at com.tfsm.b3mb.bpm.business.UndeployServiceImpl.deleteDeployment(UndeployServiceImpl.java:30)
at com.tfsm.b3mb.bpm.business.test.UndeployServiceTest.testDeleteDeployment(UndeployServiceTest.java:97)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
### EXCEPTION ###########################################
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248290#4248290
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248290
16 years, 8 months