User development,
A new message was posted in the thread "Error on deploy persistence unit":
http://community.jboss.org/message/528680#528680
Author : Jose M. M. M.
Profile :
http://community.jboss.org/people/jotremar
Message:
--------------------------------------------------------------
09:48:18,446 INFO [DeployHandler] Failed to complete command: [start] for deployment:
names=[vfszip:/E:/jboss/server/default/deploy/Practica_final-ejb.jar/], copyContent=true
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete
deployments (SEE PREVIOUS ERRORS FOR DETAILS):
DEPLOYMENTS MISSING DEPENDENCIES:
Deployment
"jboss.j2ee:jar=Practica_final-ejb.jar,name=TiendaBean,service=EJB3" is missing
the following dependencies:
Dependency "<UNKNOWN
jboss.j2ee:jar=Practica_final-ejb.jar,name=TiendaBean,service=EJB3>" (should be in
state "Described", but is actually in state "** UNRESOLVED Demands
'persistence.unit:unitName=#ejbPU' **")
Deployment
"jboss.j2ee:jar=Practica_final-ejb.jar,name=TiendaBean,service=EJB3_endpoint" is
missing the following dependencies:
Dependency
"jboss.j2ee:jar=Practica_final-ejb.jar,name=TiendaBean,service=EJB3" (should be
in state "Configured", but is actually in state "PreInstall")
Deployment "persistence.unit:unitName=#ejbPU" is missing the following
dependencies:
Dependency "jboss.jca:name=comercioBD,service=DataSourceBinding" (should be
in state "Create", but is actually in state "** NOT FOUND Depends on
'jboss.jca:name=comercioBD,service=DataSourceBinding' **")
DEPLOYMENTS IN ERROR:
Deployment "<UNKNOWN
jboss.j2ee:jar=Practica_final-ejb.jar,name=TiendaBean,service=EJB3>" is in error
due to the following reason(s): ** UNRESOLVED Demands
'persistence.unit:unitName=#ejbPU' **
Deployment "jboss.jca:name=comercioBD,service=DataSourceBinding" is in error
due to the following reason(s): ** NOT FOUND Depends on
'jboss.jca:name=comercioBD,service=DataSourceBinding' **
at
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
at
org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
at
org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:265)
at
org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:177)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
at
org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
at org.jboss.remoting.Client.invoke(Client.java:1724)
at org.jboss.remoting.Client.invoke(Client.java:629)
at
org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:305)
at
org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.start(StreamingDeploymentTarget.java:190)
at
org.jboss.profileservice.management.upload.DeploymentProgressImpl.start(DeploymentProgressImpl.java:231)
at
org.jboss.profileservice.management.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:88)
at org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.java:120)
at
org.rhq.plugins.jbossas5.util.DeploymentUtils.deployArchive(DeploymentUtils.java:103)
at
org.rhq.plugins.jbossas5.ApplicationServerComponent.createContentBasedResource(ApplicationServerComponent.java:400)
at
org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource(ApplicationServerComponent.java:211)
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:597)
at
org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:482)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
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)
09:48:18,840 ERROR [DeploymentUtils] Failed to start deployment
[vfszip:/E:/jboss/server/default/deploy/Practica_final-ejb.jar/] during initial deployment
of 'Practica_final-ejb.jar'. Backing out the deployment...
java.lang.RuntimeException: org.jboss.deployers.client.spi.IncompleteDeploymentException:
Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
DEPLOYMENTS MISSING DEPENDENCIES:
Deployment
"jboss.j2ee:jar=Practica_final-ejb.jar,name=TiendaBean,service=EJB3" is missing
the following dependencies:
Dependency "<UNKNOWN
jboss.j2ee:jar=Practica_final-ejb.jar,name=TiendaBean,service=EJB3>" (should be in
state "Described", but is actually in state "** UNRESOLVED Demands
'persistence.unit:unitName=#ejbPU' **")
Deployment
"jboss.j2ee:jar=Practica_final-ejb.jar,name=TiendaBean,service=EJB3_endpoint" is
missing the following dependencies:
Dependency
"jboss.j2ee:jar=Practica_final-ejb.jar,name=TiendaBean,service=EJB3" (should be
in state "Configured", but is actually in state "PreInstall")
Deployment "persistence.unit:unitName=#ejbPU" is missing the following
dependencies:
Dependency "jboss.jca:name=comercioBD,service=DataSourceBinding" (should be
in state "Create", but is actually in state "** NOT FOUND Depends on
'jboss.jca:name=comercioBD,service=DataSourceBinding' **")
DEPLOYMENTS IN ERROR:
Deployment "<UNKNOWN
jboss.j2ee:jar=Practica_final-ejb.jar,name=TiendaBean,service=EJB3>" is in error
due to the following reason(s): ** UNRESOLVED Demands
'persistence.unit:unitName=#ejbPU' **
Deployment "jboss.jca:name=comercioBD,service=DataSourceBinding" is in error
due to the following reason(s): ** NOT FOUND Depends on
'jboss.jca:name=comercioBD,service=DataSourceBinding' **
at
org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:313)
at
org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.start(StreamingDeploymentTarget.java:190)
at
org.jboss.profileservice.management.upload.DeploymentProgressImpl.start(DeploymentProgressImpl.java:231)
at
org.jboss.profileservice.management.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:88)
at org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.java:120)
at
org.rhq.plugins.jbossas5.util.DeploymentUtils.deployArchive(DeploymentUtils.java:103)
at
org.rhq.plugins.jbossas5.ApplicationServerComponent.createContentBasedResource(ApplicationServerComponent.java:400)
at
org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource(ApplicationServerComponent.java:211)
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:597)
at
org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:482)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
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.client.spi.IncompleteDeploymentException: Summary of
incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
DEPLOYMENTS MISSING DEPENDENCIES:
Deployment
"jboss.j2ee:jar=Practica_final-ejb.jar,name=TiendaBean,service=EJB3" is missing
the following dependencies:
Dependency "<UNKNOWN
jboss.j2ee:jar=Practica_final-ejb.jar,name=TiendaBean,service=EJB3>" (should be in
state "Described", but is actually in state "** UNRESOLVED Demands
'persistence.unit:unitName=#ejbPU' **")
Deployment
"jboss.j2ee:jar=Practica_final-ejb.jar,name=TiendaBean,service=EJB3_endpoint" is
missing the following dependencies:
Dependency
"jboss.j2ee:jar=Practica_final-ejb.jar,name=TiendaBean,service=EJB3" (should be
in state "Configured", but is actually in state "PreInstall")
Deployment "persistence.unit:unitName=#ejbPU" is missing the following
dependencies:
Dependency "jboss.jca:name=comercioBD,service=DataSourceBinding" (should be
in state "Create", but is actually in state "** NOT FOUND Depends on
'jboss.jca:name=comercioBD,service=DataSourceBinding' **")
DEPLOYMENTS IN ERROR:
Deployment "<UNKNOWN
jboss.j2ee:jar=Practica_final-ejb.jar,name=TiendaBean,service=EJB3>" is in error
due to the following reason(s): ** UNRESOLVED Demands
'persistence.unit:unitName=#ejbPU' **
Deployment "jboss.jca:name=comercioBD,service=DataSourceBinding" is in error
due to the following reason(s): ** NOT FOUND Depends on
'jboss.jca:name=comercioBD,service=DataSourceBinding' **
at
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
at
org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
at
org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:265)
at
org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:177)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
at
org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
at org.jboss.remoting.Client.invoke(Client.java:1724)
at org.jboss.remoting.Client.invoke(Client.java:629)
at
org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:305)
... 17 more
09:48:18,844 INFO [DeployHandler] Remove,
[vfszip:/E:/jboss/server/default/deploy/Practica_final-ejb.jar/]
09:48:18,853 WARN [CreateResourceRunner] Throwable was found in creation report for
request [1]: java.lang.RuntimeException:
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete
deployments (SEE PREVIOUS ERRORS FOR DETAILS):
DEPLOYMENTS MISSING DEPENDENCIES:
Deployment
"jboss.j2ee:jar=Practica_final-ejb.jar,name=TiendaBean,service=EJB3" is missing
the following dependencies:
Dependency "<UNKNOWN
jboss.j2ee:jar=Practica_final-ejb.jar,name=TiendaBean,service=EJB3>" (should be in
state "Described", but is actually in state "** UNRESOLVED Demands
'persistence.unit:unitName=#ejbPU' **")
Deployment
"jboss.j2ee:jar=Practica_final-ejb.jar,name=TiendaBean,service=EJB3_endpoint" is
missing the following dependencies:
Dependency
"jboss.j2ee:jar=Practica_final-ejb.jar,name=TiendaBean,service=EJB3" (should be
in state "Configured", but is actually in state "PreInstall")
Deployment "persistence.unit:unitName=#ejbPU" is missing the following
dependencies:
Dependency "jboss.jca:name=comercioBD,service=DataSourceBinding" (should be
in state "Create", but is actually in state "** NOT FOUND Depends on
'jboss.jca:name=comercioBD,service=DataSourceBinding' **")
DEPLOYMENTS IN ERROR:
Deployment "<UNKNOWN
jboss.j2ee:jar=Practica_final-ejb.jar,name=TiendaBean,service=EJB3>" is in error
due to the following reason(s): ** UNRESOLVED Demands
'persistence.unit:unitName=#ejbPU' **
Deployment "jboss.jca:name=comercioBD,service=DataSourceBinding" is in error
due to the following reason(s): ** NOT FOUND Depends on
'jboss.jca:name=comercioBD,service=DataSourceBinding' **
- Enable DEBUG logging to see the stack trace.
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/528680#528680