[JBoss JIRA] Created: (EJBTHREE-931) ejb-link with relative path not working
by Carlo de Wolf (JIRA)
ejb-link with relative path not working
---------------------------------------
Key: EJBTHREE-931
URL: http://jira.jboss.com/jira/browse/EJBTHREE-931
Project: EJB 3.0
Issue Type: Bug
Reporter: Carlo de Wolf
Fix For: EJB 3.0 RC11 - FD
12:44:55,904 INFO [MCKernelAbstraction] installing bean: jboss.j2ee:ear=ejb3_bb_stateful_basic.ear,jar=ejb3_bb_stateful_basic_ejb.jar,name=RemoteCalculatorBean,service=EJB3 with dependencies:
12:44:59,748 INFO [EJBContainer] STARTED EJB: com.sun.ts.tests.ejb30.bb.session.stateful.basic.RemoteCalculatorBean ejbName: RemoteCalculatorBean
12:44:59,995 WARN [DeploymentEjbResolver] can't find a deployment for path '' of ejb link '#RemoteCalculatorBean'
12:44:59,996 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find <ejb-ref> of interface com.sun.ts.tests.ejb30.bb.session.stateful.basic.StatefulRemoteCalculator and ejbLink of ejb3_bb_stateful_basic_ejb.jar#RemoteCalculatorBean in application-client.xml of ejb3_bb_stateful_basic_client it might not be deployed yet12:45:00,022 INFO [MCKernelAbstraction] installing bean: jboss.j2ee:ear=ejb3_bb_stateful_basic.ear,jar=ejb3_bb_stateful_basic_client.jar,name=ejb3_bb_stateful_basic_client,service=EJB3 with dependencies:
12:45:00,256 WARN [DeploymentEjbResolver] can't find a deployment for path '' of ejb link '#RemoteCalculatorBean'
12:45:00,258 ERROR [AbstractKernelController] Error installing to Start: name=jboss.j2ee:ear=ejb3_bb_stateful_basic.ear,jar=ejb3_bb_stateful_basic_client.jar,name=ejb3_bb_stateful_basic_client,service=EJB3 state=Create
java.lang.RuntimeException: Failed to populate ENC: env/ejb/RemoteCalculatorBean global jndi name was null
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 6 months
[JBoss JIRA] Created: (EJBTHREE-791) Deployment fail on non JTA persistence unit
by Emmanuel Bernard (JIRA)
Deployment fail on non JTA persistence unit
-------------------------------------------
Key: EJBTHREE-791
URL: http://jira.jboss.com/jira/browse/EJBTHREE-791
Project: EJB 3.0
Issue Type: Bug
Affects Versions: EJB 3.0 RC9 - FD
Reporter: Emmanuel Bernard
Fix For: EJB 3.0 RC10 - FD
<persistence-unit>
<!-- no jta-datasource defined -->
</persistence-unt>
and
<persistence-unit transaction-type="RESOURCE_LOCAL">
<!-- no jta-datasource defined -->
</persistence-unt>
Seems to fail with
WARN [ServiceController] Problem starting service persistence.units:ear=jblogApp.ear,jar=jblogBeans.jar,unitName=jblog
java.lang.RuntimeException: You have not defined a jta-data-source for a JTA enabled persistence context named: jblog
(2) should work
(1) is very much expected from a usability POV. basically, if no jta-datasource is defined, we should expect a default transaction-type of RESOURCE_LOCAL
Note that you might want to let the persistence provider test such compatibility issues, since it has more contextual information than the container (ie knows the meaning of the proprietary properties)
Max can you confirm that my description match your bug.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 6 months