geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Song (JIRA)" <...@geronimo.apache.org>
Subject [jira] Created: (GERONIMO-1720) Update instructions for "Create Database Pool -- Show Deployment Plan"
Date Thu, 09 Mar 2006 02:40:54 GMT
Update instructions for "Create Database Pool -- Show Deployment Plan"
----------------------------------------------------------------------

         Key: GERONIMO-1720
         URL: http://issues.apache.org/jira/browse/GERONIMO-1720
     Project: Geronimo
        Type: Bug
  Components: console  
    Versions: 1.0    
    Reporter: Song


Following instructions has an error: "tranql-connector-1.1.rar" is located under <geronimo_home>/repository/tranql/rars,
not "<geronimo_home>/"

--------------------------------------------------------------------
Deploy Command:
	To deploy a database pool from the command line using this plan, copy and paste it to a file
(say, plan-file.xml) and save it. Then run a command like:

cd GERONIMO_HOME
java -jar bin/deployer.jar deploy plan-file.xml \
        tranql-connector-1.1.rar

Add to EAR:
	Instead of deploying as a top-level database pool, you can deploy this pool as part of an
EAR. To add a database pool to an EAR using this plan:

   1. Copy and paste the plan to a file
   2. Save the plan file to the top level of your EAR
   3. Copy the RAR file from GERONIMO_HOME/tranql-connector-1.1.rar to the top level of your
EAR
   4. Create a META-INF/geronimo-application.xml file in your EAR that has a module entry
like this (substituting the correct RAR file name and plan file name):

<application
   xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.0"
   configId="MyApplication">
  <module>
    <connector>rar-file-name.rar</connector>
    <alt-dd>plan-file-name.xml</alt-dd>
  </module>
</application>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message