tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lamle <la...@wapice.com>
Subject Re: how to get local/remote ejb stored in spring from a servlet - openejb spring integration
Date Wed, 06 Jul 2011 09:06:12 GMT
Hi Romain,
Thank you for your fix, if it cannot be automatic then this is nice also 
if this workaround can work.
i tried:

<jee:jndi-lookup id="bookTestBeanImplLocal" 
jndi-name="SpringIntegration/BookTestBeanImplLocal">
<jee:environment>java.naming.factory.initial=org.apache.openejb.client.LocalInitialContextFactory

</jee:environment>
</jee:jndi-lookup>

but the application is crying that class LocalInitialContextFactory not 
found. I put openejb-core-3.1.4.jar in my webapp lib folder but no help. 
Putting it in tomcat/lin folder deactivates tomcat server with lots of 
errors.

This is getting very frustrating after my 3 days searching. Any help pls.


--
View this message in context: http://openejb.979440.n4.nabble.com/how-to-get-local-remote-ejb-stored-in-spring-from-a-servlet-openejb-spring-integration-tp3647869p3648103.html
Sent from the OpenEJB User mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message