JCA adapter to connect to a mail server

Hi,I am in the process of writing a JCA adapter to connect to a mail server.Any views on the feasability? Or any alternates to connect to mail server using a standard implmentation?
[202 byte] By [prabhu.ramadasa] at [2007-11-26 16:46:54]
# 1

> Hi,

> I am in the process of writing a JCA adapter to

> connect to a mail server.

> Any views on the feasability? Or any alternates to

> connect to mail server using a standard implmentation?

Yes this is feasible. For a sample JavaMail resource adapter, please refer to the article at

http://developers.sun.com/prodtech/appserver/reference/techart/resource_adapters.pdf

and our presentation at an earlier JavaOne

http://developers.sun.com/learning/javaoneonline/2005/coreenterprise/TS-3513.pdf

Thanks

--Siva.

http://blogs.sun.com/sivakumart

sivakumarta at 2007-7-8 23:14:21 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
Thanks Siva. That was useful!-Prabhu
prabhu.ramadasa at 2007-7-8 23:14:21 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3

Managed to deploy that on Sun's App server. Now trying out other servers like Tomcat and types.

Deploying the RA on it works perfectly fine.

But when the application is loaded it displays "Destination not set for Message driven bean ".

Any pointers?

Thanks,

Prabhu

prabhu.ramadasa at 2007-7-8 23:14:21 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 4

> Managed to deploy that on Sun's App server. Now

> trying out other servers like Tomcat and types.

>

> Deploying the RA on it works perfectly fine.

>

> But when the application is loaded it displays

> "Destination not set for Message driven bean

> ".

Do you see this with Sun appserver? Which AS version? Could you post the full strack trace and your ejb-jar.xml and sun-ejb-jar.xml?

Thanks

--Siva.

sivakumarta at 2007-7-8 23:14:21 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...