User development,

A new message was posted in the thread "Problem deploying EJB 3.0 jar to JBoss 
5.0.1 GA":

http://community.jboss.org/message/522232#522232

Author  : Viktor Halitsyn
Profile : http://community.jboss.org/people/vhalitsyn

Message:
--------------------------------------------------------------
The only place where I can see the DefaultDs being mentioned is the 
standardjbosscmp-jdbc.xml and and login-config.xml located in 'deploy/conf' 
dir. However this ha nothing to do with my deployment. I don't want all apps to 
have same login/datasource configuration for EJB. What if I need several EJB 
packages under one server instance? I also tried 5.1.0 GA this morning - it 
doesn't give me those errors about TimerService, but I recieve this
 
12:00:38,747 INFO  [MainDeployer] deploy, 
url=file:/C:/Projects/Java/Test/TestWebApp/testproject-maven-j2ee/model-ejb/target/model-ejb.jar
12:00:38,903 INFO  [Ejb3DependenciesDeployer] Encountered deployment 
abstractvfsdeploymentcont...@28901345{vfszip:/C:/Projects/Java/Test/TestWebApp/testproject-maven-j2ee/model-ejb/target/model-ejb.jar/}
12:00:38,903 INFO  [Ejb3DependenciesDeployer] Encountered deployment 
abstractvfsdeploymentcont...@28901345{vfszip:/C:/Projects/Java/Test/TestWebApp/testproject-maven-j2ee/model-ejb/target/model-ejb.jar/}
12:00:39,028 INFO  [JBossASKernel] Created KernelDeployment for: model-ejb.jar
12:00:39,028 INFO  [JBossASKernel] installing bean: 
jboss.j2ee:jar=model-ejb.jar,name=TestTableServiceImpl,service=EJB3
12:00:39,028 INFO  [JBossASKernel]   with dependencies:
12:00:39,028 INFO  [JBossASKernel]   and demands:
12:00:39,028 INFO  [JBossASKernel]  jboss.ejb:service=EJBTimerService
12:00:39,028 INFO  [JBossASKernel]  
persistence.unit:unitName=#MyCompanyEntityManager
12:00:39,028 INFO  [JBossASKernel]   and supplies:
12:00:39,028 INFO  [JBossASKernel]  
jndi:TestTableServiceImpl/local-com.mycompany.ejb.local.ITestTableServiceLocal
12:00:39,028 INFO  [JBossASKernel]  
Class:com.mycompany.ejb.local.ITestTableServiceLocal
12:00:39,028 INFO  [JBossASKernel]  jndi:TestTableServiceImpl/remote
12:00:39,028 INFO  [JBossASKernel]  jndi:TestTableServiceImpl/local
12:00:39,028 INFO  [JBossASKernel]  
jndi:TestTableServiceImpl/remote-com.mycompany.ejb.remote.ITestTableServiceRemote
12:00:39,028 INFO  [JBossASKernel]  
Class:com.mycompany.ejb.remote.ITestTableServiceRemote
12:00:39,043 INFO  [JBossASKernel] Added 
bean(jboss.j2ee:jar=model-ejb.jar,name=TestTableServiceImpl,service=EJB3) to 
KernelDeployment of: model-ejb.jar
12:00:39,043 INFO  [EJB3EndpointDeployer] Deploy 
abstractbeanmetad...@c4e0d3{name=jboss.j2ee:jar=model-ejb.jar,name=TestTableServiceImpl,service=EJB3_endpoint
 bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl 
properties=[container] constructor=null autowireCandidate=true}
12:00:39,122 WARN  [MainDeployer] Failed to deploy: 
file:/C:/Projects/Java/Test/TestWebApp/testproject-maven-j2ee/model-ejb/target/model-ejb.jar
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of 
incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
 
DEPLOYMENTS MISSING DEPENDENCIES:
  Deployment 
"jboss.j2ee:jar=model-ejb.jar,name=TestTableServiceImpl,service=EJB3" is 
missing the following dependencies:
    Dependency "<UNKNOWN 
jboss.j2ee:jar=model-ejb.jar,name=TestTableServiceImpl,service=EJB3>" (should 
be in state "Described", but is actually in state "** UNRESOLVED Demands 
'persistence.unit:unitName=#MyCompanyEntityManager' **")
  Deployment 
"jboss.j2ee:jar=model-ejb.jar,name=TestTableServiceImpl,service=EJB3_endpoint" 
is missing the following dependencies:
    Dependency 
"jboss.j2ee:jar=model-ejb.jar,name=TestTableServiceImpl,service=EJB3" (should 
be in state "Configured", but is actually in state "PreInstall")
  Deployment "persistence.unit:unitName=#MyCompanyEntityManager" is missing the 
following dependencies:
    Dependency "jboss.jca:name=MyCompanyDS,service=DataSourceBinding" (should 
be in state "Create", but is actually in state "** NOT FOUND Depends on 
'jboss.jca:name=MyCompanyDS,service=DataSourceBinding' **")
 
DEPLOYMENTS IN ERROR:
  Deployment "<UNKNOWN 
jboss.j2ee:jar=model-ejb.jar,name=TestTableServiceImpl,service=EJB3>" is in 
error due to the following reason(s): ** UNRESOLVED Demands 
'persistence.unit:unitName=#MyCompanyEntityManager' **
  Deployment "jboss.jca:name=MyCompanyDS,service=DataSourceBinding" is in error 
due to the following reason(s): ** NOT FOUND Depends on 
'jboss.jca:name=MyCompanyDS,service=DataSourceBinding' **
 
*Important:* with 5.0.1 it actually created the tables in the database for 
me(although deployed with error) but 5.1.0, out-of -the box didn't.

--------------------------------------------------------------

To reply to this message visit the message page: 
http://community.jboss.org/message/522232#522232


_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to