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
I have just tried physically merging app2 inside app1/WEB-INF/classes, but I
still get the same error :(
Inside app2 there are several classes, this is the one which is supposed to
be looked-up:
@Local
public interface LogCaricamentoServiceLocal
with an implementation:
@Stateless
public class
In startup logs I see this:
INFO - Jndi(name=LogCaricamentoServiceLocal) -->
Ejb(deployment-id=LogCaricamentoService)
INFO -
Jndi(name=global/app1/LogCaricamentoService!it.package.massiveloading.service.LogCaricamentoServiceLocal)
--> Ejb(deployment-id=LogCaricamentoService)
(this in the scenario
No, I cannot see It.
There is MassiveLoadingServiceStarter:
Auto-deploying ejb MassiveLoadingServiceStarter:
EjbDeployment(deployment-id=MassiveLoadingServiceStarter)
...
Auto-creating a container for bean MassiveLoadingServiceStarter:
Container(type=MESSAGE, id=Default MDB Container)
...
INFO - J
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.
After 2 weeks, I can finally work on this again.
Apparently, the Jndi names are completely different between JBoss and TomEE.
For example, where in JBoss I had:
"LogCaricamentoService/local"
and
"queue/massiveLoading/load"
and in TomEE I had to write:
"java:openejb/Deployment/LogCaricamentoServi
Thank you both.
@Romain: you were right, I can access the same object using another jndi
name, it is
"java:global/app1/LogCaricamentoService!it.packagename.LogCaricamentoServiceLocal"
@jayleg: thank you, however I prefer to understand how TomEE works, and to
use its conventions.
Now, I still hav
;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-27 17:16 GMT+02:00 luca-vercelli <[hidden email]
>
Just to share information,
I too had problems downloading sources.
The link to 7.0.0 returns 404 error code, while the link to 7.0.1 works, at
least for this mirror:
http://apache.panu.it/tomee/tomee-7.0.1/tomee-project-7.0.1-source-release.zip
At last, I would like to point out that the "official
> <https://javaeefactory-rmannibucau.rhcloud.com>
>
> 2016-09-29 10:19 GMT+02:00 luca-vercelli <[hidden email]
> >
> :
>
>> Just to share information,
>> I too had problems downloading sources.
>> The link to 7.0.0 returns 404 error code, while the li
That's right, sorry!
Regards.
Il 29/09/2016 11:11, Romain Manni-Bucau [via TomEE & OpenEJB] ha scritto:
> 2016-09-29 10:50 GMT+02:00 luca-vercelli <[hidden email]
> >
> :
>
>> Yes, however the page https://openejb.apache.org/downloads.html wasn't
>>
> | 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
de the jar. However I guess there can be more
complicated situations.
Il 29/09/2016 13:56, Romain Manni-Bucau [via TomEE & OpenEJB] ha scritto:
> 2016-09-29 13:09 GMT+02:00 luca-vercelli <[hidden email]
> >
> :
>
>> I thought I had solved, however new problems come out.
Hello,
I am migrating an application from JBoss to TomEE.
It uses a feature of JBoss that allows sending mails easily.
In JBoss, there is a configuration file:
/server/default/deploy/mail-service.xml
that contains all SMTP parameters. At startup, JBoss creates a
ConnectionFactory based on these p
Thank you very much.
You are right, this app contains two different layers: a jms queue and a
mail Session. There is a message-driven bean that, whenever receives a
message, can send emails.
So, I still have to properly configure a new queue. I'll search for it.
--
View this message in conte
15 matches
Mail list logo