You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by jayleg <jl...@lenovo.com> on 2016/03/10 20:29:54 UTC

Moving EJB app from WebSphere App Server 8.5 to TomEE 1.7.3

I am moving an application from WAS 8.5 to TomEE that contains EJBs.  The
applications currently expect the local EJBs to be available at "ejblocal:"
as it is in WAS.  However, TomEE (OpenEJB) doesn't appear to use the
"ejblocal" namespace.  

Is there a setting or configuration that I can change to make TomEE store
EJBs in the same JNDI locations as WAS?   



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/Moving-EJB-app-from-WebSphere-App-Server-8-5-to-TomEE-1-7-3-tp4677845.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: Moving EJB app from WebSphere App Server 8.5 to TomEE 1.7.3

Posted by jayleg <jl...@lenovo.com>.
I added the following property to system.properties to force the JNDI names
to be similar to WebSphere.

openejb.jndiname.format = ejb/{interfaceClass.simpleName}



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/Moving-EJB-app-from-WebSphere-App-Server-8-5-to-TomEE-1-7-3-tp4677845p4678901.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Re: Moving EJB app from WebSphere App Server 8.5 to TomEE 1.7.3

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi,

Not out of the box but you should be able to implement a bridge  adding a
custom context implementation to java.naming.factory.url.pkgs


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>

2016-03-10 20:29 GMT+01:00 jayleg <jl...@lenovo.com>:

> I am moving an application from WAS 8.5 to TomEE that contains EJBs.  The
> applications currently expect the local EJBs to be available at "ejblocal:"
> as it is in WAS.  However, TomEE (OpenEJB) doesn't appear to use the
> "ejblocal" namespace.
>
> Is there a setting or configuration that I can change to make TomEE store
> EJBs in the same JNDI locations as WAS?
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/Moving-EJB-app-from-WebSphere-App-Server-8-5-to-TomEE-1-7-3-tp4677845.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>