[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-1603) EJB with dependencies upon itself fails deployment
batmat (JIRA)
jira-events at lists.jboss.org
Wed Feb 17 16:43:11 EST 2010
[ https://jira.jboss.org/jira/browse/EJBTHREE-1603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12515051#action_12515051 ]
batmat commented on EJBTHREE-1603:
----------------------------------
Well Lukas, this is not an acceptable workaround for a lot of people (including me): I don't want to create a dependency (sic) between my EJB3 standard code and the JBoss org.jboss.annotation.IgnoreDependency annotation.
Imagine I want to deploy my ejb-jar in many different AS, should I have many versions of my code?
Cheers
> EJB with dependencies upon itself fails deployment
> --------------------------------------------------
>
> Key: EJBTHREE-1603
> URL: https://jira.jboss.org/jira/browse/EJBTHREE-1603
> Project: EJB 3.0
> Issue Type: Bug
> Components: core
> Reporter: Andrew Lee Rubinger
> Assignee: Andrew Lee Rubinger
> Fix For: Unscheduled
>
> Attachments: EJBTHREE-1603.patch
>
>
> The following construct:
> @Stateless
> @Remote(SelfDependencyRemoteBusiness.class)
> @Local(SelfDependencyLocalBusiness.class)
> public class SelfDependencyBean implements SelfDependencyLocalBusiness, SelfDependencyRemoteBusiness
> {
> @EJB
> private SelfDependencyLocalBusiness local;
> ...
> }
> ...fails deployment:
> 21:55:09,828 WARN [MainDeployer] Failed to deploy: file:/home/alrubinger/business/jboss/wc/jbossas/projects/ejb3/trunk/testsuite/target/test-lib/ejbthreexxx.jar
> org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
> *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
> jboss.j2ee:jar=ejbthreexxx.jar,name=SelfDependencyBean,service=EJB3
> -> <UNKNOWN jboss.j2ee:jar=ejbthreexxx.jar,name=SelfDependencyBean,service=EJB3>{Described:** UNRESOLVED Demands 'jndi:SelfDependencyBean/local-org.jboss.ejb3.test.ejbthreexxx.SelfDependencyLocalBusiness' **}
> *** CONTEXTS IN ERROR: Name -> Error
> <UNKNOWN jboss.j2ee:jar=ejbthreexxx.jar,name=SelfDependencyBean,service=EJB3> -> ** UNRESOLVED Demands 'jndi:SelfDependencyBean/local-org.jboss.ejb3.test.ejbthreexxx.SelfDependencyLocalBusiness' **
> This is the cause of 3 regressions in "asynchronous" tests currently
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list