java ee - Where to put a .jar file in an exploded EJB module -
i deploying jms module work alongside servlet application. while writing (and testing , rewriting) module, module not stored in jar file; in exploded directory doubling eclipse project directory. (in production environment, in jar.)
my jms module logging log4j. question is: put log4j.jar file ejb can find it? tried various locations, including directory named lib/, nothing seemed work. (i tell eclipse find in of half dozen places.) resorted putting in server domain lib directory (domains/my_domain/lib), worked jms module, messed servlet module's access data sources - kept getting notserializableexception.
if makes difference, i'm using eclipse (juno) develop, weblogic 10.3.5 run , test.
thanks.
in fact there not difference whether jar exploded or not. main thing need libraries on classpath. need specify jar location in manifest file:
class-path: lib/log4j.jar you can use oracle documentation reference.
Comments
Post a Comment