tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: how to get local/remote ejb stored in spring from a servlet - openejb spring integration
Date Wed, 06 Jul 2011 09:09:59 GMT
try with this tomcat
http://repo1.maven.org/maven2/org/apache/openejb/tomee/6.0.29.314/tomee-6.0.29.314.zipand
don't put openejb in your webapp.

- Romain

2011/7/6 lamle <lamle@wapice.com>

> 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