I thought I had solved, however new problems come out. Romain, you wrote:
> if an > exploded ejbmodule you can merge it with WEB-INF/classes of app1 > (physically or virtually) I packed the ejbmodule into a jar, and put it inside WEB-INF/lib. This works, however it gives some side-effects (there are clashes in resource file names). Maybe I could try some other way. What did you mean with "virtually"? Thank you again! Luca Il 07/09/2016 16:20, Romain Manni-Bucau [via TomEE & OpenEJB] ha scritto: > Hi > > would need to check what is app2 and also if the communication is @Remote > or local (this last one means you need to deploy both together) but if an > exploded ejbmodule you can merge it with WEB-INF/classes of app1 > (physically or virtually) > > > Romain Manni-Bucau > @rmannibucau <https://twitter.com/rmannibucau> | Blog > <https://blog-rmannibucau.rhcloud.com> | Old Wordpress 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-09-07 16:16 GMT+02:00 luca-vercelli <[hidden email] > </user/SendEmail.jtp?type=node&node=4680047&i=0>> > : > >> Dear all, >> I am trying to migrate an old app developed for JBoss into TomEE. I am >> familiar with Tomcat, but not with EE. >> The app is made up of 2 folders, let's say app1 and app2.jar. >> In JBoss they both are inside server/default/deploy folder. >> app1 is a normal servlet-based app, it works even inside Tomcat/webapps. >> app2 is not an app at all, it is an uncompressed JAR. It looks like an > EJB. >> I have put app1 and app2 inside TomEE/webapps, and they both seems to be >> loaded, however app1 "does not see" app2. >> Inside app1 there is an instruction: >> Object x = ctx.lookup("some/path/here") >> which fails with a NameNotFoundException. >> >> The long story short: how can I make an EJB app2 to appear inside app1 >> context? >> >> Thank you. >> >> >> >> -- >> View this message in context: http://tomee-openejb.979440. >> n4.nabble.com/Migrating-EJB-from-Jboss-to-TomEE-tp4680044.html >> Sent from the TomEE Users mailing list archive at Nabble.com. >> > > > ------------------------------------------------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://tomee-openejb.979440.n4.nabble.com/Migrating-EJB-from-Jboss-to-TomEE-tp4680044p4680047.html > > To unsubscribe from Migrating EJB from Jboss to TomEE, click here > <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4680044&code=bHVjYS52ZXJjZWxsaUBhbGtlaW5mb3JtYXRpY2EuY29tfDQ2ODAwNDR8LTE2ODUyNTUxMg==>. > NAML > <http://tomee-openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- Luca Vercelli Alké Informatica S.r.l. C.so Unione Sovietica 612/15/C 10135 Torino Tel. 011.39.17.111 Fax. 011.39.17.101 E-mail: luca.verce...@alkeinformatica.com -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Migrating-EJB-from-Jboss-to-TomEE-tp4680044p4680242.html Sent from the TomEE Users mailing list archive at Nabble.com.