geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r834696 - in /geronimo/plugins/openjpa2/branches/2.2: README.txt openjpa2/pom.xml persistence-jpa20-deployer/pom.xml
Date Tue, 10 Nov 2009 22:05:54 GMT
Author: dwoods
Date: Tue Nov 10 22:05:53 2009
New Revision: 834696

URL: http://svn.apache.org/viewvc?rev=834696&view=rev
Log:
GERONIMO-4946 add artifact alias entries for the app client container

Modified:
    geronimo/plugins/openjpa2/branches/2.2/README.txt
    geronimo/plugins/openjpa2/branches/2.2/openjpa2/pom.xml
    geronimo/plugins/openjpa2/branches/2.2/persistence-jpa20-deployer/pom.xml

Modified: geronimo/plugins/openjpa2/branches/2.2/README.txt
URL: http://svn.apache.org/viewvc/geronimo/plugins/openjpa2/branches/2.2/README.txt?rev=834696&r1=834695&r2=834696&view=diff
==============================================================================
--- geronimo/plugins/openjpa2/branches/2.2/README.txt (original)
+++ geronimo/plugins/openjpa2/branches/2.2/README.txt Tue Nov 10 22:05:53 2009
@@ -28,7 +28,8 @@
 
 Installing -
 ------------
-Note:  Installing the OpenJPA2 plugins will replace the existing OpenJPA plugin. 
+Note:  Installing the OpenJPA2 plugins will replace the existing OpenJPA plugin.
+
 Using the Admin Console -
 1) Start the server and log into the Admin Console -
     http://localhost:8080/console/
@@ -45,19 +46,31 @@
     b) Press Install
     c) On the confirmation panel, press Install
     d) Once the plugins are installed, press Done
-5) Start the JPA Deployer -
+5) Start the following modules if they are not running -
     a) Navigate to Applications -> System Modules
-    b) Select the "Start" link for -
+    b) Verify the following are started and press the "Start" link if not -
        org.apache.geronimo.configs/persistence-jpa20-deployer/<version>/car
-6) Restart the OpenEJB Deployer, which has a dependency on OpenJPA -
-    a) Navigate to Applications -> System Modules
-    b) Select the "Start" link for -
+       org.apache.geronimo.configs/openjpa2/<version>/car
        org.apache.geronimo.configs/openejb-deployer/<version>/car
+       org.apache.geronimo.configs/openejb/<version>/car
+6) Restart the Server, so the loaded JPA 1.0 modules can be replaced with the
+    new JPA 2.0 modules.
+
+Note:  If you need to use the Offline Deployer, then perform the following
+manual steps first -
+1) Edit the following file -
+    var/config/offline-deployer-config.xml
+2) Remove the module entry for the old JPA10 deployer
+    <module name="org.apache.geronimo.configs/persistence-jpa10-deployer//car">
 
-Note:  If you want to reinstall the OpenJPA2 plugins (say upgrading to a newer
-level or for maintenance udpates) you may need to repeat the Installing steps
-above twice, as sometimes the first installation try will only uninstall the
-existing plugins.
+Note:  If you want to reinstall the same level of the OpenJPA2 plugins, you
+will need to uninstall the existing OpenJPA2 plugins and then delete the
+following directories from the server repository before reinstalling -
+    org/apache/geronimo/configs/openjpa2
+    org/apache/geronimo/configs/persistence-jpa20-deployer
+    org/apache/geronimo/modules/geronimo-openjpa2
+    org/apache/geronimo/modules/geronimo-persistence-jpa20
+    org/apache/geronimo/modules/geronimo-persistence-jpa20-builder
 
 
 Uninstalling -
@@ -73,4 +86,5 @@
        above, but by selecting the following plugins to install instead -
         Geronimo Plugins, OpenJPA :: CAR
         Geronimo Plugins, OpenJPA :: Deployer
+    c) Restart the Server
 

Modified: geronimo/plugins/openjpa2/branches/2.2/openjpa2/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/plugins/openjpa2/branches/2.2/openjpa2/pom.xml?rev=834696&r1=834695&r2=834696&view=diff
==============================================================================
--- geronimo/plugins/openjpa2/branches/2.2/openjpa2/pom.xml (original)
+++ geronimo/plugins/openjpa2/branches/2.2/openjpa2/pom.xml Tue Nov 10 22:05:53 2009
@@ -115,16 +115,25 @@
                             <!-- handle openjpa to openjpa2 CAR alias -->
                             <artifact-alias key="org.apache.geronimo.configs/openjpa//car">org.apache.geronimo.configs/openjpa2/${version}/car</artifact-alias>
                             <artifact-alias key="org.apache.geronimo.configs/openjpa/${geronimoVersion}/car">org.apache.geronimo.configs/openjpa2/${version}/car</artifact-alias>
+                            <artifact-alias server="client" key="org.apache.geronimo.configs/openjpa//car">org.apache.geronimo.configs/openjpa2/${version}/car</artifact-alias>
+                            <artifact-alias server="client" key="org.apache.geronimo.configs/openjpa/${geronimoVersion}/car">org.apache.geronimo.configs/openjpa2/${version}/car</artifact-alias>
                             <!-- handle geronimo-jpa_3.0 to 2.0 JAR alias -->
                             <artifact-alias key="org.apache.geronimo.specs/geronimo-jpa_3.0_spec//jar">org.apache.geronimo.specs/geronimo-jpa_2.0_spec/${jpa2specVersion}/jar</artifact-alias>
                             <artifact-alias key="org.apache.geronimo.specs/geronimo-jpa_3.0_spec/1.1.1/jar">org.apache.geronimo.specs/geronimo-jpa_2.0_spec/${jpa2specVersion}/jar</artifact-alias>
+                            <artifact-alias server="client" key="org.apache.geronimo.specs/geronimo-jpa_3.0_spec//jar">org.apache.geronimo.specs/geronimo-jpa_2.0_spec/${jpa2specVersion}/jar</artifact-alias>
+                            <artifact-alias server="client" key="org.apache.geronimo.specs/geronimo-jpa_3.0_spec/1.1.1/jar">org.apache.geronimo.specs/geronimo-jpa_2.0_spec/${jpa2specVersion}/jar</artifact-alias>
                             <!-- handle geronimo-jpa_1.0 to 2.0 JAR alias -->
                             <artifact-alias key="org.apache.geronimo.specs/geronimo-jpa_1.0_spec//jar">org.apache.geronimo.specs/geronimo-jpa_2.0_spec/${jpa2specVersion}/jar</artifact-alias>
                             <artifact-alias key="org.apache.geronimo.specs/geronimo-jpa_1.0_spec/1.1.2/jar">org.apache.geronimo.specs/geronimo-jpa_2.0_spec/${jpa2specVersion}/jar</artifact-alias>
+                            <artifact-alias server="client" key="org.apache.geronimo.specs/geronimo-jpa_1.0_spec//jar">org.apache.geronimo.specs/geronimo-jpa_2.0_spec/${jpa2specVersion}/jar</artifact-alias>
+                            <artifact-alias server="client" key="org.apache.geronimo.specs/geronimo-jpa_1.0_spec/1.1.2/jar">org.apache.geronimo.specs/geronimo-jpa_2.0_spec/${jpa2specVersion}/jar</artifact-alias>
                             <!-- handle openjpa-1.x to 2.x JAR alias -->
                             <artifact-alias key="org.apache.openjpa/openjpa//jar">org.apache.openjpa/openjpa/${openjpa2Version}/jar</artifact-alias>
                             <artifact-alias key="org.apache.openjpa/openjpa/1.0.3/jar">org.apache.openjpa/openjpa/${openjpa2Version}/jar</artifact-alias>
                             <artifact-alias key="org.apache.openjpa/openjpa/1.2.1/jar">org.apache.openjpa/openjpa/${openjpa2Version}/jar</artifact-alias>
+                            <artifact-alias server="client" key="org.apache.openjpa/openjpa//jar">org.apache.openjpa/openjpa/${openjpa2Version}/jar</artifact-alias>
+                            <artifact-alias server="client" key="org.apache.openjpa/openjpa/1.0.3/jar">org.apache.openjpa/openjpa/${openjpa2Version}/jar</artifact-alias>
+                            <artifact-alias server="client" key="org.apache.openjpa/openjpa/1.2.1/jar">org.apache.openjpa/openjpa/${openjpa2Version}/jar</artifact-alias>
                         </plugin-artifact>
                     </instance>
                 </configuration>

Modified: geronimo/plugins/openjpa2/branches/2.2/persistence-jpa20-deployer/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/plugins/openjpa2/branches/2.2/persistence-jpa20-deployer/pom.xml?rev=834696&r1=834695&r2=834696&view=diff
==============================================================================
--- geronimo/plugins/openjpa2/branches/2.2/persistence-jpa20-deployer/pom.xml (original)
+++ geronimo/plugins/openjpa2/branches/2.2/persistence-jpa20-deployer/pom.xml Tue Nov 10 22:05:53
2009
@@ -139,9 +139,13 @@
                             <!-- handle persistence-jpa10-deployer to jpa20 -->
                             <artifact-alias key="org.apache.geronimo.configs/persistence-jpa10-deployer//car">org.apache.geronimo.configs/persistence-jpa20-deployer/${version}/car</artifact-alias>
                             <artifact-alias key="org.apache.geronimo.configs/persistence-jpa10-deployer/${geronimoVersion}/car">org.apache.geronimo.configs/persistence-jpa20-deployer/${version}/car</artifact-alias>
+                            <artifact-alias server="client" key="org.apache.geronimo.configs/persistence-jpa10-deployer//car">org.apache.geronimo.configs/persistence-jpa20-deployer/${version}/car</artifact-alias>
+                            <artifact-alias server="client" key="org.apache.geronimo.configs/persistence-jpa10-deployer/${geronimoVersion}/car">org.apache.geronimo.configs/persistence-jpa20-deployer/${version}/car</artifact-alias>
                             <!-- handle geronimo-persistence-jpa10 to jpa20 -->
                             <artifact-alias key="org.apache.geronimo.modules/geronimo-persistence-jpa10//jar">org.apache.geronimo.modules/geronimo-persistence-jpa20/${version}/jar</artifact-alias>
                             <artifact-alias key="org.apache.geronimo.modules/geronimo-persistence-jpa10/${geronimoVersion}/jar">org.apache.geronimo.modules/geronimo-persistence-jpa20/${version}/jar</artifact-alias>
+                            <artifact-alias server="client" key="org.apache.geronimo.modules/geronimo-persistence-jpa10//jar">org.apache.geronimo.modules/geronimo-persistence-jpa20/${version}/jar</artifact-alias>
+                            <artifact-alias server="client" key="org.apache.geronimo.modules/geronimo-persistence-jpa10/${geronimoVersion}/jar">org.apache.geronimo.modules/geronimo-persistence-jpa20/${version}/jar</artifact-alias>
                         </plugin-artifact>
                     </instance>
                 </configuration>



Mime
View raw message