I've renamed the jars and now it looks like this:

  | <?xml version="1.0" encoding="UTF-8"?>
  | <application xmlns="http://java.sun.com/xml/ns/javaee"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/application_5.xsd"; version="5">
  |   <display-name>OHAServices</display-name>
  |   <module>
  |     <ejb>oha-datasource-common-1.0-SNAPSHOT.jar</ejb>
  |   </module>
  |   <module>
  |     <ejb>oha-datasource-ws-1.0-SNAPSHOT.jar</ejb>
  |   </module>
  |   <module>
  |     <ejb>oha-local-backend-1.0-SNAPSHOT.jar</ejb>
  |   </module>
  |   <module>
  |     <ejb>oha-provisioning-service-1.0-SNAPSHOT.jar</ejb>
  |   </module>
  | </application>
  | 

But I'm having the same exception:


  | 17:02:59,475 INFO  [JBossASKernel] Created KernelDeployment for: 
oha-datasource-common-1.0-SNAPSHOT.jar
  | 17:02:59,475 INFO  [JBossASKernel] installing bean: 
jboss.j2ee:ear=OHAServices-1.0-SNAPSHOT.ear,jar=oha-datasource-common-1.0-SNAPSHOT.jar,name=DataSourceFinderBean,service=EJB3
  | 17:02:59,475 INFO  [JBossASKernel]   with dependencies:                     
                                                                                
                     
  | 17:02:59,475 INFO  [JBossASKernel]   and demands:                           
                                                                                
                     
  | 17:02:59,476 INFO  [JBossASKernel]      
persistence.unit:unitName=OHAServices-1.0-SNAPSHOT.ear/oha-datasource-common-1.0-SNAPSHOT.jar#DataSourcePersistenceUnit
                  
  | 17:02:59,476 INFO  [JBossASKernel]      jboss.ejb:service=EJBTimerService   
                                                                                
                     
  | 17:02:59,476 INFO  [JBossASKernel]   and supplies:                          
                                                                                
                     
  | 17:02:59,476 INFO  [JBossASKernel]      
jndi:OHAServices-1.0-SNAPSHOT/DataSourceFinderBean/local-com.andago.healthassistant.datasource.finder.DataSourceFinderLocal
              
  | 17:02:59,476 INFO  [JBossASKernel]      
jndi:OHAServices-1.0-SNAPSHOT/DataSourceFinderBean/local                        
                                                         
  | 17:02:59,476 INFO  [JBossASKernel]      
Class:com.andago.healthassistant.datasource.finder.DataSourceFinderLocal        
                                                         
  | 17:02:59,476 INFO  [JBossASKernel]      jndi:DataSourceFinderBean           
                                                                                
                     
  | 17:02:59,476 INFO  [JBossASKernel]      
Class:com.andago.healthassistant.datasource.finder.DataSourceFinderRemote       
                                                         
  | 17:02:59,476 INFO  [JBossASKernel]      
jndi:OHAServices-1.0-SNAPSHOT/DataSourceFinderBean/remote-com.andago.healthassistant.datasource.finder.DataSourceFinderRemote
            
  | 17:02:59,477 INFO  [JBossASKernel] Added 
bean(jboss.j2ee:ear=OHAServices-1.0-SNAPSHOT.ear,jar=oha-datasource-common-1.0-SNAPSHOT.jar,name=DataSourceFinderBean,service=EJB3)
 to KernelDeployment of: oha-datasource-common-1.0-SNAPSHOT.jar                 
                                                                                
                            
  | 17:02:59,774 ERROR [AbstractKernelController] Error installing to Real: 
name=vfszip:/home/jsanchez/apps/jboss/jboss-5.1.0.CR1/server/default/deploy/OHA/OHAServices-1.0-SNAPSHOT.ear/
 state=PreReal mode=Manual requiredState=Real                                   
                                                                                
                   
  | org.jboss.deployers.spi.DeploymentException: Error deploying 
oha-datasource-ws-1.0-SNAPSHOT.jar: JBAS-5713: could not find an ejb3 
deployment for oha-datasource-common-1.0-SNAPSHOT.jar (yet), try reordering the 
jars or adding explicit dependencies                                            
                                                                     
  |         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:216)
  |         at org.jboss.Main$1.run(Main.java:546)
  |         at java.lang.Thread.run(Thread.java:619)
  | Caused by: java.lang.IllegalStateException: JBAS-5713: could not find an 
ejb3 deployment for oha-datasource-common-1.0-SNAPSHOT.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.processFieldAnnotations(InjectionUtil.java:166)
  |         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:526)
  |         at 
org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:189)
  |         ... 34 more
  | 17:02:59,844 ERROR [ProfileServiceBootstrap] Failed to load profile: 
Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
  | 
  | DEPLOYMENTS IN ERROR:
  |   Deployment 
"vfszip:/home/jsanchez/apps/jboss/jboss-5.1.0.CR1/server/default/deploy/OHA/OHAServices-1.0-SNAPSHOT.ear/"
 is in error due to the following reason(s): java.lang.IllegalStateException: 
JBAS-5713: could not find an ejb3 deployment for 
oha-datasource-common-1.0-SNAPSHOT.jar (yet), try reordering the jars or adding 
explicit dependencies
  | 
  | 17:02:59,852 INFO  [Http11Protocol] Arrancando Coyote HTTP/1.1 en puerto 
http-127.0.0.1-8080
  | 17:02:59,893 INFO  [AjpProtocol] Arrancando Coyote AJP/1.3 en 
ajp-127.0.0.1-8009
  | 17:02:59,900 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.CR1 (build: 
SVNTag=JBoss_5_1_0_CR1 date=200904290912)] Started in 38s:250ms
  | 

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4230530
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to