findByPrimaryKey returning wrong object

2017-07-10 Thread jyerrami
Hi, We are using container managed bean for persistence of database objects. Consistently we get a wrong object when using findByPrimatryKey function. The same thing works fine when we deploy it on IBM WASv8.5.5.x. IS there any known issues with how TomEE handles updating the primaryKey of

Re: Failure using javax.mail services with TomEE

2017-03-20 Thread jyerrami
I use the sun version of javax.mail.jar file, modified catalina.properties file to use this jar file vs the apache one and it worked. I want to thank you all for such prompt support. You are all amazing. -- View this message in context:

Re: Failure using javax.mail services with TomEE

2017-03-18 Thread jyerrami
sorry typo. I tried with geronimo-javamail_1.4_mail-1.9.0-alpha-1.jar -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Failure-using-javax-mail-services-with-TomEE-tp4681322p4681335.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: Failure using javax.mail services with TomEE

2017-03-18 Thread jyerrami
I tried geronimo-javamail_1.4_mail-1.9.0-alpha-1.jar as suggested and it aborted with the following error INFO: Server startup in 298488 ms Mar 18, 2017 4:25:28 PM org.apache.openejb.core.transaction.EjbTransactionUtil handleSystemException SEVERE: EjbTransactionUtil.handleSystemException:

Re: Failure using javax.mail services with TomEE

2017-03-17 Thread jyerrami
We are using TomEE 1.7.x but the run time has geronimo-javamail_1.4_mail-1.8.3.jar. Where can I grab the geronimo-javamail 1.9 version. When we compile our code we are using the javax.mail from the jdk we download from the oracle. -- View this message in context:

Re: Failure using javax.mail services with TomEE

2017-03-17 Thread jyerrami
I can give it a try if you think it will work I TomEE 7.x -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Failure-using-javax-mail-services-with-TomEE-tp4681322p4681326.html Sent from the TomEE Users mailing list archive at Nabble.com.

Re: Failure using javax.mail services with TomEE

2017-03-17 Thread jyerrami
>Have you tried using the com.sun.mail implementation instead? No, because this same code work in WAS V8.5.5. Our production supports both WAS and TomEE. We want to keep it consistent. But it is mute at thie point because as per your reply, this work around does not work for TomEE 7.X. --

Failure using javax.mail services with TomEE

2017-03-17 Thread jyerrami
Hi,Our application is using TomEE 1.7.X version and java version 1.6.We are using java mailing services to send mail. I have looked at all the posts online and configured the properties file . I still get the failure. Please help.Note: I have replaced the actual values with XXX for privacy