[jboss-jira] [JBoss JIRA] Commented: (AS7-835) ejb-jar.xml doesn't need to define a session-type
David Lloyd (JIRA)
jira-events at lists.jboss.org
Thu May 19 11:47:00 EDT 2011
[ https://issues.jboss.org/browse/AS7-835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603235#comment-12603235 ]
David Lloyd commented on AS7-835:
---------------------------------
I already resolved this, didn't see that there was a JIRA. Check out my commit to the metadata project...
> ejb-jar.xml doesn't need to define a session-type
> -------------------------------------------------
>
> Key: AS7-835
> URL: https://issues.jboss.org/browse/AS7-835
> Project: Application Server 7
> Issue Type: Bug
> Components: EJB
> Reporter: Carlo de Wolf
> Assignee: Carlo de Wolf
> Priority: Critical
> Fix For: 7.0.0.CR1
>
>
> session-type in ejb-jar.xml does not need to be specified, the type might come from annotations.
> {noformat}
> 21:56:21,759 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit."ejbembed_vehicle_ejb.jar".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."ejbembed_vehicle_ejb.jar".PARSE: Failed to process phase PARSE of deployment "ejbembed_vehicle_ejb.jar"
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1675)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_20]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_20]
> at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]
> Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Unknown session-type for session bean: EJBContextBean in deployment unit: deployment "ejbembed_vehicle_ejb.jar"
> at org.jboss.as.ejb3.deployment.processors.dd.SessionBeanXmlDescriptorProcessor.processBeanMetaData(SessionBeanXmlDescriptorProcessor.java:96)
> at org.jboss.as.ejb3.deployment.processors.dd.SessionBeanXmlDescriptorProcessor.processBeanMetaData(SessionBeanXmlDescriptorProcessor.java:64)
> at org.jboss.as.ejb3.deployment.processors.dd.AbstractEjbXmlDescriptorProcessor.deploy(AbstractEjbXmlDescriptorProcessor.java:78)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
> ... 4 more
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list