I'm attempting to load Hibernate in an EAR under WL8.1 sp1. Here's my setup:
I have configured a startup class for the EAR to load Hibernate into JNDI. The jar file containing the startup class loads correctly and finds Hibernate. However, Hibernate is not finding hibernate.cfg.xml or log4j.properties.
I've placed the config files in the root of my exploded ear and put the names of the config file in the manifest of my startup jar file. However, no matter where I seem to put the config files they are not found.
Am i going about this correctly? Please help.
Thanks,
-Alex
|