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
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.
>
rty(propertyName="destination",
propertyValue="queue/massiveLoading/load")})
public class MassiveLoadingServiceStarter implements MessageListener {
...
@EJB
private MassiveLoadingServiceLocal service;
...
}
--
View this message in context:
http
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.
>
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.
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.
>
>
.n4.nabble.com/Migrating-EJB-from-Jboss-to-TomEE-tp4680044p4680057.html
Sent from the TomEE Users mailing list archive at Nabble.com.
dingServiceStarter) -->
> Ejb(deployment-id=MassiveLoadingServiceStarter)
> ...
> INFO - Created Ejb(deployment-id=MassiveLoadingServiceStarter,
> ejb-name=MassiveLoadingServiceStarter, container=Default MDB Container)
>
>
>
>
> --
> View this message in context: htt
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.
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
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.
>
-
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
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.
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.
>
rviceLocal{...}
> >
> > @Management
> > public interface MassiveLoadingServiceManagement { ... }
> >
> > @Service (objectName = "jboss:custom=MassiveLoadingService")
> > @TransactionManagement(TransactionManagementType.BEAN)
> > public class MassiveLoadingService implemen
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
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
> >
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.
>>
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.
> >&
19 matches
Mail list logo