I have a javamail interface in a service program called by RichUI. I imported the activation.jar and mail.jar into the webcontent directory and placed them on the java build path. I am able to execute in development.
When I deploy to a dynamic web project so I can create a .war the .jar files are not being deployed.
What procedure should I follow? Where should I place the .jar files in my development project? Do I need to manually place them in my deployment project as well? If so where should I place them in the deployment project?
I have now manually imported activation.jar and mail.jar into the dynamic web project that I deploy to. That works in that the .war contains the .jars and everything deploys, writes to the .war, and then functions on the host. I am not sure of these issues:
1. Should I place the activation.jar and mail.jar in the dynamic web project manually or should the deploy copy them from the development project?
2. If they are to be manually placed in the dynamic web project to be copied to the .war then where is the best practice for placement?
3. I originally just referenced the desktop file system for activation.jar and mail.jar from my development project. Is there a best practice for placement that would cause the .jars to deploy to the dynamic web project I am deploying to?
I also had a misnamed externaltype (capitalization) that contributed to the issue. It worked in development but the external type would not reference when deployed. I assume I somehow had both names in development so that it worked.