Bug 296717 - JPA: WebLogic Server test weblogic-install target needs functionality split for 10.3.0 and 10.3.1/10.3.2
Summary: JPA: WebLogic Server test weblogic-install target needs functionality split f...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Yiping Zhao CLA
QA Contact: Kevin Yuan CLA
URL: http://wiki.eclipse.org/EclipseLink/D...
Whiteboard:
Keywords: test
Depends on: 296271
Blocks:
  Show dependency tree
 
Reported: 2009-12-02 11:15 EST by Michael OBrien CLA
Modified: 2022-06-09 10:04 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael OBrien CLA 2009-12-02 11:15:04 EST
>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.
Comment 1 Michael OBrien CLA 2009-12-02 11:32:26 EST
>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
Comment 2 Yiping Zhao CLA 2010-02-19 14:44:09 EST
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.
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:04:04 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink