Migrating EJB from Jboss to TomEE

2016-09-07 Thread luca-vercelli
h/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 User

Re: Migrating EJB from Jboss to TomEE

2016-09-07 Thread Romain Manni-Bucau
e 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. >

Re: Migrating EJB from Jboss to TomEE

2016-09-07 Thread luca-vercelli
rty(propertyName="destination", propertyValue="queue/massiveLoading/load")}) public class MassiveLoadingServiceStarter implements MessageListener { ... @EJB private MassiveLoadingServiceLocal service; ... } -- View this message in context: http

Re: Migrating EJB from Jboss to TomEE

2016-09-07 Thread Romain Manni-Bucau
viceStarter implements MessageListener { > ... > @EJB > private MassiveLoadingServiceLocal service; > ... > } > > > > > > > -- > View this message in context: http://tomee-openejb.979440. > n4.nabble.com/Migrating-EJB-from-Jboss-to-TomEE-tp4680044p4680050.html > Sent from the TomEE Users mailing list archive at Nabble.com. >

Re: Migrating EJB from Jboss to TomEE

2016-09-07 Thread luca-vercelli
runtime. -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Migrating-EJB-from-Jboss-to-TomEE-tp4680044p4680052.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: Migrating EJB from Jboss to TomEE

2016-09-07 Thread Romain Manni-Bucau
app1). > > However, I also see a warning: > WARNING - Unresolved ejb reference > "java:comp/env/it.package.massiveloading.service. > MassiveLoadingServiceStarter/service" > in bean "LogCaricamentoService". Will attempt resolution again at runtime. > >

Re: Migrating EJB from Jboss to TomEE

2016-09-08 Thread luca-vercelli
.n4.nabble.com/Migrating-EJB-from-Jboss-to-TomEE-tp4680044p4680057.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: Migrating EJB from Jboss to TomEE

2016-09-08 Thread Romain Manni-Bucau
dingServiceStarter) --> > Ejb(deployment-id=MassiveLoadingServiceStarter) > ... > INFO - Created Ejb(deployment-id=MassiveLoadingServiceStarter, > ejb-name=MassiveLoadingServiceStarter, container=Default MDB Container) > > > > > -- > View this message in context: htt

Re: Migrating EJB from Jboss to TomEE

2016-09-08 Thread luca-vercelli
Thank you, I shall see ASAP. -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Migrating-EJB-from-Jboss-to-TomEE-tp4680044p4680061.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: Migrating EJB from Jboss to TomEE

2016-09-27 Thread luca-vercelli
t;java:openejb/Deployment/LogCaricamentoService/it.packagename.LogCaricamentoServiceLocal!Local" and "java:openejb/Resource/queue/massiveLoading/load" Is this normal? Or am I missing something? Thank you. -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Migrating-E

Re: Migrating EJB from Jboss to TomEE

2016-09-27 Thread Romain Manni-Bucau
ndi"). I recommand the java:global/ names but short names are fine too (LogCaricamentoServiceLocal probably). > Thank you. > > > > > -- > View this message in context: http://tomee-openejb.979440. > n4.nabble.com/Migrating-EJB-from-Jboss-to-TomEE-tp4680044p4680203.html > Sent from the TomEE Users mailing list archive at Nabble.com. >

RE: Migrating EJB from Jboss to TomEE

2016-09-27 Thread Jay Leggett
- From: luca-vercelli [mailto:luca.verce...@alkeinformatica.com] Sent: Tuesday, September 27, 2016 10:00 AM To: users@tomee.apache.org Subject: Re: Migrating EJB from Jboss to TomEE After 2 weeks, I can finally work on this again. Apparently, the Jndi names are completely different between JBo

RE: Migrating EJB from Jboss to TomEE

2016-09-27 Thread luca-vercelli
al, MassiveLoadingServiceManagement { ... } Luca -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Migrating-EJB-from-Jboss-to-TomEE-tp4680044p4680206.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: Migrating EJB from Jboss to TomEE

2016-09-27 Thread Romain Manni-Bucau
BEAN) > public class MassiveLoadingService implements > MassiveLoadingServiceLocal, MassiveLoadingServiceManagemen > t > { ... } > > > Luca > > > > -- > View this message in context: http://tomee-openejb.979440. > n4.nabble.com/Migrating-EJB-from-Jboss-to-TomEE-tp4680044p4680206.html > Sent from the TomEE Users mailing list archive at Nabble.com. >

Re: Migrating EJB from Jboss to TomEE

2016-09-28 Thread luca-vercelli
rviceLocal{...} > > > > @Management > > public interface MassiveLoadingServiceManagement { ... } > > > > @Service (objectName = "jboss:custom=MassiveLoadingService") > > @TransactionManagement(TransactionManagementType.BEAN) > > public class MassiveLoadingService implemen

Re: Migrating EJB from Jboss to TomEE

2016-09-29 Thread luca-vercelli
ails 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/Migr

Re: Migrating EJB from Jboss to TomEE

2016-09-29 Thread Romain Manni-Bucau
s 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 > >

Re: Migrating EJB from Jboss to TomEE

2016-09-29 Thread luca-vercelli
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. >>

Re: Migrating EJB from Jboss to TomEE

2016-09-29 Thread Romain Manni-Bucau
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. > >&