You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ta...@apache.org on 2004/05/06 01:09:44 UTC

cvs commit: jakarta-jetspeed-2/site/xdocs database.xml

taylor      2004/05/05 16:09:44

  Modified:    site/xdocs database.xml
  Log:
  updated documentation for databases
  
  PR:
  Obtained from:
  Submitted by:	
  Reviewed by:	
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.2       +59 -5     jakarta-jetspeed-2/site/xdocs/database.xml
  
  Index: database.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/site/xdocs/database.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- database.xml	5 May 2004 21:11:53 -0000	1.1
  +++ database.xml	5 May 2004 23:09:44 -0000	1.2
  @@ -65,11 +65,7 @@
   
   <subsection name ='Known Issues'>
   <p>
  -The script 'populate-entities-for-default-psml.sql', fails to execute.
  -It will fail out, since My SQL doesn't support the SQL syntax in the statements there.
  -Until we get a solution for this, try running the populate-entities-for-default-psml-mysql.sql from My SQL directly.
  -<b>NOTE:</b> this script may fail, check your foreign keys values referencing the portlet definition table.
  -I hope to get this resolved soon.
  +None
   </p>
   </subsection>
   
  @@ -122,6 +118,64 @@
   maven dropdrops
   
   ]]></source>
  +</subsection>
  +
  +</section>
  +
  +<section name="Drivers">
  +<p>
  +JDBC drivers are configured to work with the Maven build by adding your specified JDBC driver jars to the 
  +Maven class path. Specify the jars with the <b>org.apache.jetspeed.test.jdbc.drivers.path</b> and
  +<b>org.apache.jetspeed.production.jdbc.drivers.path</b> properties in your $HOME/build.properties.
  +</p>
  +<p>
  +NOTE: The Hypersonic JDBC driver is distributed with Jetspeed and require no configuration.
  +</p>
  +<source test=""><![CDATA[
  +
  +# My SQL Driver Path Example, test and production
  +org.apache.jetspeed.test.jdbc.drivers.path=/Portal/lib/MySQL/mysql-connector-java-3.0.8-stable-bin.jar
  +org.apache.jetspeed.production.jdbc.drivers.path=/Portal/lib/MySQL/mysql-connector-java-3.0.8-stable-bin.jar
  +
  +# Oracle 9i Driver Path Example, test and production
  +org.apache.jetspeed.test.jdbc.drivers.path=/Portal/lib/oracle/ojdbc14.jar;/Portal/lib/oracle/nls_charset12.jar
  +org.apache.jetspeed.production.jdbc.drivers.path=/Portal/lib/oracle/ojdbc14.jar;/Portal/lib/oracle/nls_charset12.jar
  +
  +# Oracle 8i Driver Path Example, test and production
  +org.apache.jetspeed.test.jdbc.drivers.path=/Portal/lib/oracle/classes12.jar;
  +org.apache.jetspeed.production.jdbc.drivers.path=/Portal/lib/oracle/classes12.jar;
  +
  +]]></source>
  +
  +<subsection name ='Distributing Drivers'>
  +<p>
  +When Jetspeed is deployed to an application server using the maven deploy target, only the Hypersonic JDBC driver is copied into the web application.
  +To distribute a specific driver (i.e. Oracle, MySQL), you will need to copy the driver into the application server's common class path for shared code.
  +</p>
  +<table>
  +<tr>
  +<th>Application Server</th>
  +<th>Procedure</th>
  +</tr>
  +<tr>
  +<td>
  +Tomcat 4
  +</td>
  +<td>
  +copy driver(s) to ${TOMCAT_HOME}/shared/lib
  +</td>
  +</tr>
  +<tr>
  +<td>
  +Tomcat 5
  +</td>
  +<td>
  +copy driver(s) to ${TOMCAT_HOME}/shared/lib
  +</td>
  +</tr>
  +
  +</table>
  +
   </subsection>
   
   </section>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org