Originally posted by Ali Haider:
Hi all,
I was using JAVA Mail component using Jrun. It was working fine. Now I deployed the project on tomcat and using JAVA Mail there. Its not working. Its giving a datasource activation error. Jrun was running on windows platfrom whereas, tomcat is running on a unix machine. reply soon.
Thanks
Ali
I'd need more information to debug the problem fully, but perhaps the problem is just that you need to add activation.jar, the JAR for the JavaBeans Activation Framework, to your application's classpath (e.g., to the WEB-INF/lib directory). The activation.jar will be necessary to use JAF... and perhaps it was already available in your first container. You can get activation.jar from the JavaSoft web site -- specifically,
http://java.sun.com/products/javabeans/glasgow/jaf.html