You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by ks...@apache.org on 2013/10/20 22:30:48 UTC
svn commit: r1533969 - /juddi/trunk/juddiv3-war/README.txt
Author: kstam
Date: Sun Oct 20 20:30:48 2013
New Revision: 1533969
URL: http://svn.apache.org/r1533969
Log:
JUDDI-660 adding eap profile.
Modified:
juddi/trunk/juddiv3-war/README.txt
Modified: juddi/trunk/juddiv3-war/README.txt
URL: http://svn.apache.org/viewvc/juddi/trunk/juddiv3-war/README.txt?rev=1533969&r1=1533968&r2=1533969&view=diff
==============================================================================
--- juddi/trunk/juddiv3-war/README.txt (original)
+++ juddi/trunk/juddiv3-war/README.txt Sun Oct 20 20:30:48 2013
@@ -68,3 +68,75 @@ for which there is the following workaro
http\://www.w3.org/2000/09/xmldsig#=schema/xmldsig-core-schema.xsd
+6. Target platform JBoss 7,8,EAP-6.x running OpenJPA and CXF
+
+JBoss-7.x ships with the org.jboss.as.jpa.openjpa module. If you are running EAP-6.x you
+will have to copy this module from a JBoss-AS7.x server.
+
+a) Your modules/system/layers/base/org/jboss/as/jpa/openjpa/main directory should look
+contain: jboss-as-jpa-openjpa-7.1.1.Final.jar, module.xml with the module.xml
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- contains the JPA integration classes for OpenJPA 2.x -->
+<module xmlns="urn:jboss:module:1.1" name="org.jboss.as.jpa.openjpa">
+ <properties>
+ <property name="jboss.api" value="private"/>
+ </properties>
+
+ <resources>
+ <resource-root path="jboss-as-jpa-openjpa-7.1.1.Final.jar"/>
+ <!-- Insert resources here -->
+ </resources>
+
+ <dependencies>
+ <module name="javax.annotation.api"/>
+ <module name="javax.persistence.api"/>
+ <module name="javax.transaction.api"/>
+
+ <module name="org.jboss.as.jpa.spi"/>
+ <module name="org.jboss.logging"/>
+ <module name="org.jboss.jandex"/>
+
+ <module name="org.apache.openjpa" optional="true"/> <!-- org.apache.openjpa:main must be created manually with OpenJPA jars -->
+ </dependencies>
+</module>
+
+b) Your
+modules/system/layers/base/org/apache/openjpa/main directory should contain the following
+files: module.xml, openjpa-2.2.1.jar, serp-1.13.1.jar, with the module.xml looking
+like
+
+<module xmlns="urn:jboss:module:1.1" name="org.apache.openjpa">
+ <resources>
+ <resource-root path="openjpa-2.2.1.jar"/>
+ <resource-root path="serp-1.13.1.jar"/>
+ </resources>
+ <dependencies>
+ <module name="javax.persistence.api"/>
+ <module name="javax.transaction.api"/>
+ <module name="javax.validation.api"/>
+ <module name="org.apache.commons.lang"/>
+ <module name="org.apache.commons.collections"/>
+ <module name="org.apache.log4j"/>
+ </dependencies>
+</module>
+
+Note that the openjpa and serp versions depend on the versions jUDDI is referencing,
+which will like be upgraded in the future.
+
+c) Now run
+
+mvn clean package -Popenjpa-jboss7up
+
+and extract the juddiv3.war to standalone/deployments/juddiv3.war. Note that by
+default jUDDI is configured to use the 'ExampleDS' H2 datasource, as configured in the
+web.xml and persistence.xml. Update these files and add your database driver for your
+database of chioce.
+
+
+
+
+
+
+
+
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org