Hi,

can you give it a try on the snapshot - 1.6.0-SNAPSHOT -please? The
resource handling changed a bit and it can be already fixed

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/8/1 bibhas <[email protected]>

> Platform: TomEE 1.5.2
>
> Hello,
>
> I am noticing that after an upgrade of JDK level, TomEE no longer loads
> smtps resource from tomee.xml correctly. The same exact code works fine in
> older JDK 1.7.0_05 but fails in 1.7.0_07.
>
> The Java mail resource is defined in tomee.xml as:
>
> <Resource id="mail/Default" type="javax.mail.Session">
>    mail.transport.protocol=smtps
>    mail.smtps.host=smtp.gmail.com
>    mail.smtps.port=465
>    mail.smtps.auth=true
>    [email protected]
>    mail.smtps.password=password
> </Resource>
>
> With later JDK, TomEE decides to use smtp provider instead of smtps and
> tries to connect to localhost:25. What is the correct way to define smtps
> resource?
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Not-loading-smtps-resource-properly-tp4664442.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to