Joda time and Seam / EJB

To use joda time libraries in seam project, simply copy joda-time-1.5.jar to PROJECTNAME-ear project folder and add the following in your application.xml:

<module>
<java>joda-time-1.5.jar</java>
</module>


When restarting jboss app server, the library for some unknown reason is not copied to deploy directory and Exception saying that joda time library cannot be found. Just copy the jar for to
PROJECTNAME-ear.ear folder in jboss deploy dir (for exploded deployment only)

0 comments:

Newer Post Older Post Home

Blogger Template by Blogcrowds