Discussion:
Help to migrate Weblogic EJB beans to TomEE beans
Ramaprasad Reddy
2016-05-11 05:38:01 UTC
Permalink
Hi,

Currently my EJB application running in weblogic server and used web logic
annotations in
EJB beans. I would like to run my EJB application in TOMEE server. Please
help me to migrate my EJB application to run in TOMEE server.
Please let me know how to deploy EAR file in TOMEE server and how to
migrate weblogic configuration files to TOMEE.

I got below error when I deploy my EJB application in TOMEE server.
java.lang.ClassCastException: java.net.URL cannot be cast to java.util.List

Please suggest me how to migrate Weblogic server compatible EJB application
to TomEE server compatible.

Thanks
Ram
Romain Manni-Bucau
2016-05-11 10:31:24 UTC
Permalink
Hi Ram,

to deploy an ear just put the ear in a folder apps/ in tomee base (create
it) and uncomment Deployments line in conf/tomee.xml

About your error you will need to give us more details about tomee version
and probably the stacktrace.


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> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>
Post by Ramaprasad Reddy
Hi,
Currently my EJB application running in weblogic server and used web logic
annotations in
EJB beans. I would like to run my EJB application in TOMEE server. Please
help me to migrate my EJB application to run in TOMEE server.
Please let me know how to deploy EAR file in TOMEE server and how to
migrate weblogic configuration files to TOMEE.
I got below error when I deploy my EJB application in TOMEE server.
java.lang.ClassCastException: java.net.URL cannot be cast to java.util.List
Please suggest me how to migrate Weblogic server compatible EJB application
to TomEE server compatible.
Thanks
Ram
John Free
2016-05-12 05:55:42 UTC
Permalink
Hi Ram
Please give much more information about your error. Do you deploy ear file
or war file including EJBs? What version of TomEE?
John
Post by Romain Manni-Bucau
Hi Ram,
to deploy an ear just put the ear in a folder apps/ in tomee base (create
it) and uncomment Deployments line in conf/tomee.xml
About your error you will need to give us more details about tomee version
and probably the stacktrace.
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> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>
Post by Ramaprasad Reddy
Hi,
Currently my EJB application running in weblogic server and used web
logic
Post by Ramaprasad Reddy
annotations in
EJB beans. I would like to run my EJB application in TOMEE server. Please
help me to migrate my EJB application to run in TOMEE server.
Please let me know how to deploy EAR file in TOMEE server and how to
migrate weblogic configuration files to TOMEE.
I got below error when I deploy my EJB application in TOMEE server.
java.lang.ClassCastException: java.net.URL cannot be cast to
java.util.List
Post by Ramaprasad Reddy
Please suggest me how to migrate Weblogic server compatible EJB
application
Post by Ramaprasad Reddy
to TomEE server compatible.
Thanks
Ram
Loading...