Community
Participate
Working Groups
>During the weblogic.xml weblogic-start target a lib copy override will fail if the server is running either standalone or as part of an IDE session. The script needs to have a exception condition that stops the server on error after starting it. <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="F:/view_w35d/jpa/plugins/javax.persistence_2.0.0.v200911041116.jar" 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"/> >not called on errors above <antcall target="weblogic-stop" inheritRefs="true"/> </target>
>see http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/weblogic http://wiki.eclipse.org/EclipseLink/Development/Testing/JPA#WebLogic_Server_.28WLS.29
Using WLST command (python scripts) to solve this problem. Currently all WLS testing using Python scripts (WLST command) instead of former ant task (WLServer/WLConfig/WLDeploy). All these changes had been verified on all version of WLS by running JPA server-test-lrg. Checked in trunk (2.3). Code reviewed by Edwin Tang.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink