Hi romain,

just build with snapshot : same error.

Something I don't understand :

I have a ejb-jar.xml into \src\main\resources\META-INF with the resource-ref
declaration :
<resource-ref>
        <res-ref-name>thepath</res-ref-name>
        <res-type>java.lang.String</res-type>
</resource-ref>


For tests purpose I need to set the value for this reference (at runtime the
value is set into standalone.xml jboss configuration file so it s working
fine )

How the value can be set with another ejb-jar.xml file into
\src\test\resources\META-INF but this time with ?? :

 <env-entry-name>thepath</env-entry-name>
 <env-entry-type>java.lang.String</env-entry-type>
 <env-entry-value>the_testing_path</env-entry-value>

Is there a conflict with the ejb-jar.xml defined into
\src\main\resources\META-INF ?

I guess I missed something...

ps : will try to do a sample



--
View this message in context: 
http://openejb.979440.n4.nabble.com/resource-ref-settings-within-openEJB-tp4665781p4665807.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to