Author: tcunning
Date: Wed Mar  9 16:50:19 2011
New Revision: 1079879

URL: http://svn.apache.org/viewvc?rev=1079879&view=rev
Log:
JUDDI-381
Replace the jboss-5.1.0.GA instructions with jboss-6.0.0.GA instructions, which 
are a lot easier
(they don't require install of jbossws-cxf 3.2) and seem to work more reliably.

Added:
    juddi/trunk/docs/userguide/en-US/JBoss6Deploy.xml
    juddi/trunk/docs/userguide/en-US/extras/jboss-web6.xmlt
Modified:
    juddi/trunk/docs/userguide/en-US/jUDDI_User_Guide.xml

Added: juddi/trunk/docs/userguide/en-US/JBoss6Deploy.xml
URL: 
http://svn.apache.org/viewvc/juddi/trunk/docs/userguide/en-US/JBoss6Deploy.xml?rev=1079879&view=auto
==============================================================================
--- juddi/trunk/docs/userguide/en-US/JBoss6Deploy.xml (added)
+++ juddi/trunk/docs/userguide/en-US/JBoss6Deploy.xml Wed Mar  9 16:50:19 2011
@@ -0,0 +1,69 @@
+<?xml version='1.0'?>
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"; [
+<!ENTITY % BOOK_ENTITIES SYSTEM "jUDDI_User_Guide.ent">
+%BOOK_ENTITIES;
+]>
+
+<!-- chapter: Subscription -->
+<chapter id="chap-deployjboss">
+    <title>Deploying to JBoss 6.0.0.GA</title>
+    
+    <!-- section: Introduction -->
+    <section id="sect-deployjboss">
+        <title>Introduction</title>
+        <para>
+       This section describes how to deploy juddi to JBoss 6.0.0.GA.     
+        </para>
+
+        <para>
+       First, download jboss-6.0.0.GA - the zip or tar.gz bundle may be found 
+at http://www.jboss.org/jbossas/downloads/.      Download the bundle and 
uncompress it.
+        </para>
+   
+    </section>
+   
+    <section id="sect-juddi-war">
+       <title>Add juddiv3.war</title>
+       <para>
+       Copy juddiv3.war to server/default/deploy and unpack it.
+       </para>
+       
+       <para>
+       Insert <filename>jboss-web.xml</filename> into the juddiv3.war/WEB-INF 
directory , should look like the following :
+       <programlisting><xi:include href="extras/jboss-web6.xmlt" parse="text" 
xmlns:xi="http://www.w3.org/2001/XInclude"; /></programlisting>   
+       </para>
+    </section> 
+
+    <section id="sect-web.xml">
+       <title>Change web.xml</title>
+        <para>
+       Replace the WEB-INF/web.xml with the jbossws-native-web.xml within 
docs/examples/appserver.
+        </para>
+    </section>
+
+    <section id="sect-datasource">
+        <title>Configure Datasource</title>
+        <para>
+       The first step for configuring a datasource is to copy your JDBC driver 
into the classpath.    Copy your JDBC driver into 
<filename>${jboss.home.dir}/server/${configuration}/lib</filename>, where 
configuration is the profile you wish to start with (default, all, etc.). 
+
+       Example : 
+       <programlisting>cp mysql-connector-java-5.0.8-bin.jar 
/opt/jboss-5.1.0.GA/server/default/lib</programlisting> 
+        </para>
+
+        <para>
+       Next, configure a JBoss datasource file for your db.   Listed below is 
an example datasource for MySQL :        
+        </para>
+        <programlisting><xi:include href="extras/juddiv3-ds.xmlt" parse="text" 
xmlns:xi="http://www.w3.org/2001/XInclude"; /></programlisting>
+
+        <para>
+       Next, make a few changes to the 
<filename>juddiv3.war/classes/META-INF/persistence.xml</filename>. 
+       
+       Change the "hibernate.dialect" property to match the database you have 
chosen for persistence.      For MySQL, change the value of hibernate.dialect 
to "org.hibernate.dialect.MySQLDialect".     A full list of dialects available 
can be found in the hibernate documentation 
(https://www.hibernate.org/hib_docs/v3/api/org/hibernate/dialect/package-summary.html).
  
+
+       Next, change the &lt;jta-data-source&gt; tags so that it reads 
&lt;non-jta-data-source&gt;, and change the value from 
java:comp/env/jdbc/JuddiDS to java:/JuddiDS.
+        </para>
+
+    </section>
+    
+</chapter>

Added: juddi/trunk/docs/userguide/en-US/extras/jboss-web6.xmlt
URL: 
http://svn.apache.org/viewvc/juddi/trunk/docs/userguide/en-US/extras/jboss-web6.xmlt?rev=1079879&view=auto
==============================================================================
--- juddi/trunk/docs/userguide/en-US/extras/jboss-web6.xmlt (added)
+++ juddi/trunk/docs/userguide/en-US/extras/jboss-web6.xmlt Wed Mar  9 16:50:19 
2011
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!DOCTYPE jboss-web PUBLIC 
+       "-//JBoss//DTD Web Application 2.3V2//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd";>
+
+<jboss-web>
+
+    <resource-ref>
+        <res-ref-name>jdbc/JuddiDS</res-ref-name>
+        <jndi-name>java:JuddiDS</jndi-name>
+    </resource-ref>
+    <depends>jboss.jdbc:datasource=JuddiDS,service=metadata</depends>
+
+</jboss-web>

Modified: juddi/trunk/docs/userguide/en-US/jUDDI_User_Guide.xml
URL: 
http://svn.apache.org/viewvc/juddi/trunk/docs/userguide/en-US/jUDDI_User_Guide.xml?rev=1079879&r1=1079878&r2=1079879&view=diff
==============================================================================
--- juddi/trunk/docs/userguide/en-US/jUDDI_User_Guide.xml (original)
+++ juddi/trunk/docs/userguide/en-US/jUDDI_User_Guide.xml Wed Mar  9 16:50:19 
2011
@@ -24,8 +24,8 @@
        <xi:include href="Subscription.xml" 
xmlns:xi="http://www.w3.org/2001/XInclude"; />
        <xi:include href="Administration.xml" 
xmlns:xi="http://www.w3.org/2001/XInclude"; />
        
-        <xi:include href="JBossDeploy.xml" 
xmlns:xi="http://www.w3.org/2001/XInclude"/>
-       
+        <!--<xi:include href="JBossDeploy.xml" 
xmlns:xi="http://www.w3.org/2001/XInclude"/>-->
+        <xi:include href="JBoss6Deploy.xml" 
xmlns:xi="http://www.w3.org/2001/Xinclude"/>       
        <xi:include href="GlassfishDeploy.xml" 
xmlns:xi="http://www.w3.org/2001/XInclude"/>
 
        <xi:include href="Revision_History.xml" 
xmlns:xi="http://www.w3.org/2001/XInclude"; />



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to