Can be linked to a dependency too. Maybe provide a sample on github reproducing the issue (using tomee-maven-plugin is really a good and fast way to share it)
"ear lib" is clearly visible from the webapp - we have tests for that - so issue is probably a bit more nasty. 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> 2016-05-13 6:11 GMT+02:00 jolinnen <[email protected]>: > Hello again, > > no, contrary: the EJB is in an EAR (deployed in apps) while the > restservice is in the WAR (deployed in webapps). > My version: Apache Tomcat (TomEE)/7.0.68 (1.7.4) (not very old). > > I will make some further testing, for me it seems that components in apps > and webapps cannot see each other. > > Thank you. > jolinnen > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/Using-EJB-from-an-EAR-app-inside-a-webservice-in-a-different-WAR-tp4678407p4678418.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
