[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-1603) EJB with dependencies upon itself fails deployment

Russ Egan (JIRA) jira-events at lists.jboss.org
Mon Jun 8 11:57:56 EDT 2009


    [ https://jira.jboss.org/jira/browse/EJBTHREE-1603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12471046#action_12471046 ] 

Russ Egan commented on EJBTHREE-1603:
-------------------------------------

Note: this worked in JBoss 4.2.  It was a useful means of controlling transaction boundaries without resorting to bean-managed transactions (by having non-transactional methods exposed by one interface call transactional methods exposed by a different interface, but all implemented by the same bean/service (because maybe both functions need access to some internal shared state).

> 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