Skip to Content
0
Former Member
Jan 22, 2004 at 02:45 PM

IMAP java mail and ejb (SLSB) not working!!!

85 Views

Hi,

I have been trying to get a IMAP mail functionality exposed using java mail APIs.

I'm able to get a mail Session context using JNDI lookup.

At runtime while trying to getting the store either with protocol set to "imap" or "Imap4" it gives a

javax.mail.NoSuchProviderException: No provider for imap/Imap4

I even tried casting it to com.sap.engine.services.javamail.server.IMAP4Store which extends

javax.mail.Store still no help.

mail.jar and activation.jar exist under

C:\usr\sap\C11\JC00\j2ee\cluster\server0\bin\services.

I even see the SAP wrapper "javamail.jar" in the same dir.

Send mail functionality works fine through the EJB container.

I have a feeling something at the bean activation is NOT working fine from within

the EJB container.

Any suggestions appreciated.

Thanks,

Dennis