Community
Participate
Working Groups
>Problem: WebLogic 10.3.1/10.3.2 domain lib override no longer works when library exists in modules directory Since 10.3.1 when we started shipping eclipselink in the modules directory - the following override in the domain lib in eclipselink.jar.name no longer works because the modules directory is higher in the server classpath <target name="weblogic-install"> <delete dir="${weblogic.domain}"/> <mkdir dir="${weblogic.domain}"/> <antcall target="weblogic-start-nosleep" inheritRefs="true"/> <copy file="${junit.lib}" todir="${weblogic.domain}/lib"/> --> <copy file="${eclipselink.jar.name}" todir="${weblogic.domain}/lib"/> <copy file="${jdbc.driver.jar}" todir="${weblogic.domain}/lib"/> <copy file="${oracle.extensions.depend.dir}/${oracle.xdb.lib}" todir="${weblogic.domain}/lib"/> <copy file="${oracle.extensions.depend.dir}/${oracle.spatial.lib}" todir="${weblogic.domain}/lib"/> <copy file="${oracle.extensions.depend.dir}/${oracle.xmlparserv2.lib}" todir="${weblogic.domain}/lib"/> <antcall target="weblogic-stop" inheritRefs="true"/> </target> >The other libraries above need to be verified as also not overriding the modules dir and/or patches applied.
>The current testing process on 10.3.2 ends up with 2 copies of eclipselink jar via manual tester copy - C:\opt\wls10320\modules\org.eclipse.persistence_1.0.0.0_1-2-0.jar via script - C:\opt\wls10320\wlserver_10.3\samples\domains\eclipselink\lib\eclipselink.jar
The fix is in weblogic.xml, we now only copy eclipselink.jar to WLS domain/lib when the WLS install is 10.3.0, the changes are checked in Main as revision 6632 and 2.0 as revision 6633.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink