Monday, October 14, 2013

Enable jpa 2.0 support on weblogic 10.3.6

Weblogic 10.3.6 has the jars for support jpa 2.0 installed but not enabled. To enable jpa 2.0 support add in the commEnv.cmd (windows) or (linux) the following:

For windows:
@rem Enable JPA2.0 support
set PRE_CLASSPATH=%PRE_CLASSPATH%;%MW_HOME%\modules\;%MW_HOME%\modules\javax.persistence_1.0.0.0_2-0-0.jar;

For Linux:
# Enable JPA2.0 support

Make sure you add them after the MW_HOME declaration

1 comment: