[jboss-jira] [JBoss JIRA] Resolved: (EJBTHREE-433) PersistenceUnitDeployment doesn't work for RESOURCE_LOCAL configuration

Carlo de Wolf (JIRA) jira-events at jboss.com
Mon Jan 8 06:06:27 EST 2007


     [ http://jira.jboss.com/jira/browse/EJBTHREE-433?page=all ]

Carlo de Wolf resolved EJBTHREE-433.
------------------------------------

       Resolution: Done
    Fix Version/s: EJB 3.0 RC10 - FD

Fixed 59350

> PersistenceUnitDeployment doesn't work for RESOURCE_LOCAL configuration
> -----------------------------------------------------------------------
>
>                 Key: EJBTHREE-433
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-433
>             Project: EJB 3.0
>          Issue Type: Bug
>    Affects Versions: EJB 3.0 RC6 - PFD
>            Reporter: Christian Bauer
>         Assigned To: Carlo de Wolf
>            Priority: Critical
>             Fix For: EJB 3.0 RC10 - FD
>
>
> Trying to deploy a persistence.xml with a resource local persistence unit:
>     <persistence-unit name="caveatemptorLocalDatabase" transaction-type="RESOURCE_LOCAL">
>         <properties>
>             <property name="hibernate.ejb.cfgfile" value="/hibernate.cfg.xml"/>
>             <property name="hibernate.archive.autodetection" value="none"/>
>         </properties>
>     </persistence-unit>
> 02:23:23,241  INFO MCKernelAbstraction:79 - installing bean: persistence.units:jar=classes.jar,unitName=caveatemptorLocalDatabase with dependencies:
> 02:23:23,247 ERROR AbstractKernelController:350 - Error installing to Start: name=persistence.units:jar=classes.jar,unitName=caveatemptorLocalDatabase state=Create
> java.lang.RuntimeException: You have not defined a jta-data-source for a JTA enabled persistence context named: caveatemptorLocalDatabase
> 	at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:240)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.jboss.joinpoint.plugins.reflect.ReflectMethodJoinPoint.dispatch(ReflectMethodJoinPoint.java:72)
> 	at org.jboss.kernel.plugins.dependency.KernelControllerContextActions.dispatchJoinPoint(KernelControllerContextActions.java:96)
> 	at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$LifecycleAction.installAction(KernelControllerContextActions.java:476)
> 	at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$KernelControllerContextAction.install(KernelControllerContextActions.java:171)
> 	at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
> 	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
> 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:593)
> 	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:346)
> 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:438)
> 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:379)
> 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:225)
> 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:151)
> 	at org.jboss.kernel.plugins.dependency.AbstractKernelController.install(AbstractKernelController.java:79)
> 	at org.jboss.kernel.plugins.dependency.AbstractKernelController.install(AbstractKernelController.java:73)
> 	at org.jboss.ejb3.MCKernelAbstraction.install(MCKernelAbstraction.java:86)
> 	at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:599)
> 	at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:452)
> 	at org.jboss.ejb3.embedded.EJB3StandaloneDeployer.start(EJB3StandaloneDeployer.java:450)
> 	at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.scanClasspath(EJB3StandaloneBootstrap.java:199)
> 	at org.hibernate.ce.auction.test.runtime.EJB3Container.startup(Unknown Source)

-- 
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

        



More information about the jboss-jira mailing list