tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred59 <frederic.fouc...@atosorigin.com>
Subject Problem during deployment with ejb-jar.xml
Date Thu, 18 Sep 2008 10:21:32 GMT

Hi all,

I'm using OpenEJB 3.0. I try to override a persistence context defined in a
session. Hereafter the ejb-jar.xml content

<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar xmlns="http://java.sun.com/xml/ns/javaee"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
          http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"
	version="3.0">
<enterprise-beans>
    <session>
	<ejb-name>MySessionImpl</ejb-name>
            <persistence-context-ref>
               
<persistence-context-ref-name>core.impl.MySessionImpl/em</persistence-context-ref-name>
                <persistence-unit-name>myDomainExt</persistence-unit-name>
            </persistence-context-ref>
    </session>
</enterprise-beans>
</ejb-jar> 


When I start OpenEJB I get the following stacktrace :
http://www.nabble.com/file/p19549842/ejb-jarTrace.txt ejb-jarTrace.txt 

When I don't implement ejb-jar.xml, everything is fine. Could you tell me,
what am I doing wrong ?
Thanks for your answer.

Fred.


-- 
View this message in context: http://www.nabble.com/Problem-during-deployment-with-ejb-jar.xml-tp19549842p19549842.html
Sent from the OpenEJB User mailing list archive at Nabble.com.


Mime
View raw message