deploying hybrid osgi app with ejb bundle failed based on recent gf trunk(2012/09/11)
When using the following command to deploy a hybrid osgi app with ejb bundle, deploying failed.
> asadmin deploy --type=osgi E:\gfv4\gftrunk\fighterfish\sample\uas\ejbservice2\target\sample.uas.ejbservice2.jar
1 Cmd's Failed Info
remote failure: Error occurred during deployment: Exception while preparing the app : Unable to load the EJB module. DeploymentContext does not contain any EJB. Check the archive to ensure correct packaging for E:\gf0911\glassfish3\glassfish\domains\domain1\applications\sample.uas.ejbservice2.
If you use EJB component annotations to define the EJB, and an ejb or web deployment descriptor is also used, please make sure that the deployment descriptor references a Java EE 5 or higher version schema, and that the metadata-complete attribute is not set to true, so the component annotations can be processed as expected. Please see server.log for more details.
Command deploy failed.
2 StackTrace on server.log
Pl. see attachment(server.log)
Pl. see attachment(sample.uas.ejbservice2.jar)
|Component/s||OSGi-JavaEE [ 10642 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Fix Version/s||4.0_b54 [ 15643 ]|
|Resolution||Fixed [ 1 ]|