geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Geronimo v3.0 > Import database pools from WebLogic 8.1
Date Fri, 28 Jan 2011 09:42:00 GMT
<html>
<head>
    <base href="https://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/2036/9/4/_/styles/combined.css?spaceKey=GMOxDOC30&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://cwiki.apache.org/confluence/display/GMOxDOC30/Import+database+pools+from+WebLogic+8.1">Import
database pools from WebLogic 8.1</a></h2>
    <h4>Page <b>edited</b> by             <a href="https://cwiki.apache.org/confluence/display/~maojia508">maojia</a>
    </h4>
        <br/>
                         <h4>Changes (4)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >(Note: Console screenshots are from
Geronimo 2.0. Current console varies slightly.) <br> <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">This
wizard offers two different alternatives for importing existing BEA WebLogic database pools:
<br></td></tr>
            <tr><td class="diff-changed-lines" ><span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">This
wizard offers two different alternatives for importing existing BEA WebLogic database pools.</span>
<span class="diff-added-words"style="background-color: #dfd;">*</span> The first
one is by providing a configuration file <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">(i.e.
config.xml).</span> <span class="diff-added-words"style="background-color: #dfd;">(fro
example, {{config.xml}}).</span> If you choose this option, the wizard will convert
as many fields as it can and then will ask you to manually enter those failed to be converted.
One of the values that you must manually input is the database password. <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">*
The second alternative is feasible if you have both Apache Geronimo and BEA WebLogic servers
installed on the same machine. You can directly specify the WebLogic installation path and
domain directories. This alternative has the advantage of being able to directly read the
database passwords. <br></td></tr>
            <tr><td class="diff-unchanged" > <br></td></tr>
            <tr><td class="diff-deleted-lines" style="color:#999;background-color:#fdd;text-decoration:line-through;">The
second alternative is feasible if you have both Apache Geronimo and BEA WebLogic servers installed
on the same machine. You can directly specify the WebLogic installation path and domain directories.
This alternative has the advantage of being able to directly read the database passwords.
<br> <br></td></tr>
            <tr><td class="diff-unchanged" >Apart from the alternative you choose,
you are still required to tell Geronimo where the database driver jars are. For this particular
example, we will use the *Repository* portlet to install the PointBase driver jar. <br>
<br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <style type='text/css'>/*<![CDATA[*/
table.ScrollbarTable  {border: none;padding: 3px;width: 100%;padding: 3px;margin: 0px;background-color:
#f0f0f0}
table.ScrollbarTable td.ScrollbarPrevIcon {text-align: center;width: 16px;border: none;}
table.ScrollbarTable td.ScrollbarPrevName {text-align: left;border: none;}
table.ScrollbarTable td.ScrollbarParent {text-align: center;border: none;}
table.ScrollbarTable td.ScrollbarNextName {text-align: right;border: none;}
table.ScrollbarTable td.ScrollbarNextIcon {text-align: center;width: 16px;border: none;}

/*]]>*/</style><div class="Scrollbar"><table class='ScrollbarTable'><tr><td
class='ScrollbarPrevIcon'><a href="/confluence/display/GMOxDOC30/Import+database+pools+from+JBoss+4"><img
border='0' align='middle' src='/confluence/images/icons/back_16.gif' width='16' height='16'></a></td><td
width='33%' class='ScrollbarPrevName'><a href="/confluence/display/GMOxDOC30/Import+database+pools+from+JBoss+4">Import
database pools from JBoss 4</a>&nbsp;</td><td width='33%' class='ScrollbarParent'><sup><a
href="/confluence/display/GMOxDOC30/Configuring+datasource"><img border='0' align='middle'
src='/confluence/images/icons/up_16.gif' width='8' height='8'></a></sup><a
href="/confluence/display/GMOxDOC30/Configuring+datasource">Configuring datasource</a></td><td
width='33%' class='ScrollbarNextName'>&nbsp;<a href="/confluence/display/GMOxDOC30/Removing+database+pools">Removing
database pools</a></td><td class='ScrollbarNextIcon'><a href="/confluence/display/GMOxDOC30/Removing+database+pools"><img
border='0' align='middle' src='/confluence/images/icons/forwd_16.gif' width='16' height='16'></a></td></tr></table></div>

<p>(Note: Console screenshots are from Geronimo 2.0. Current console varies slightly.)</p>

<p>This wizard offers two different alternatives for importing existing BEA WebLogic
database pools:</p>
<ul>
	<li>The first one is by providing a configuration file (fro example, <tt>config.xml</tt>).
If you choose this option, the wizard will convert as many fields as it can and then will
ask you to manually enter those failed to be converted. One of the values that you must manually
input is the database password.</li>
	<li>The second alternative is feasible if you have both Apache Geronimo and BEA WebLogic
servers installed on the same machine. You can directly specify the WebLogic installation
path and domain directories. This alternative has the advantage of being able to directly
read the database passwords.</li>
</ul>


<p>Apart from the alternative you choose, you are still required to tell Geronimo where
the database driver jars are. For this particular example, we will use the <b>Repository</b>
portlet to install the PointBase driver jar.</p>

<p>Here are the steps of installing the PointBase database driver jar in Geronimo.</p>

<ol>
	<li>Locate the PointBase client driver jar <tt>pbclient44.jar</tt>. This
file is located in the <tt>&lt;bea_home&gt;weblogic81\common\eval\pointbase\lib</tt>
directory. Make a copy of this file and rename it <tt>pbclient-4.4.0.jar</tt>.</li>
	<li>Use the <b>Repository</b> portlet to install the PointBase driver jar.
From the Administration Console click <b>JAR Repository</b> to access the portlet,
click <b>Browse</b> and point to the database driver jar. Change the <b>Group:</b>
to <b>PointBase</b>, leave the remaining fields by default and click <b>Install</b>.
You will see <tt>PointBase/pbclient/4.4.0/jar</tt> listed near the top of the
repository entries list.</li>
</ol>


<p>From the Geronimo Administration Console click the <b>Database Pools</b>
link. From the <b>Database Pools</b> portlet click <b>Import from WebLogic
8.1</b>. The following figure illustrates the import wizard.</p>

<p><span class="image-wrap" style=""><img src="/confluence/download/attachments/20645325/bea_import1.jpg?version=1&amp;modificationDate=1203704845000"
style="border: 0px solid black" /></span></p>

<p>For this particular example, the focus is the second alternative. A default <b>example</b>
domain was created in the WebLogic server with all the sample applications also included by
default. This domain is located in the &lt;bea_home&gt;\user_projects\domains\examples
directory.</p>

<p>In the first screen of the import wizard (illustrated in the above figure) enter
<b>Domain directory path:</b> and <b>weblogic81/server/lib path:</b>
and click <b>Next</b>.</p>

<ul>
	<li>Domain directory path: <tt>&lt;bea_home&gt;\user_projects\domains\examples</tt></li>
</ul>


<ul>
	<li>weblogic81/server/lib path: <tt>&lt;bea_home&gt;\weblogic81\server\lib</tt></li>
</ul>


<p>The Step 2 illustrated in the following figure shows a list of recognized database
pools from the WebLogic domain you specified that can be imported to Apache Geronimo.</p>

<p><span class="image-wrap" style=""><img src="/confluence/download/attachments/20645325/bea_import2.jpg?version=1&amp;modificationDate=1203704845000"
style="border: 0px solid black" /></span></p>

<p>Note that the WebLogic domain you are trying to import the database pool from must
be running if you want to successfully test the connection. For this example click the second
<b>Confirm and Deploy</b> from the list, the one corresponding to <b>examples-dataSource-demoPool</b>.</p>

<p>In the following step select the <b>Driver JAR:</b> you just created
in the Geronimo repository.</p>

<p><span class="image-wrap" style=""><img src="/confluence/download/attachments/20645325/bea_import3.jpg?version=1&amp;modificationDate=1203704845000"
style="border: 0px solid black" /></span></p>

<p>Note that the database password has been recognized. Click <b>Test Connection</b>,
you will see a confirmation similar to the following figure. Click <b>Deploy</b>.</p>

<p><span class="image-wrap" style=""><img src="/confluence/download/attachments/20645325/bea_import4.jpg?version=1&amp;modificationDate=1203704845000"
style="border: 0px solid black" /></span></p>

<p>The following page goes back to the Step 2, this time it will display the remaining
database pools available for import and will also show the import status of the database pool
you just imported. At this point you can click <b>Skip Remaining Pools</b> to
leave the import wizard.</p>

<p><span class="image-wrap" style=""><img src="/confluence/download/attachments/20645325/bea_import5.jpg?version=1&amp;modificationDate=1203704845000"
style="border: 0px solid black" /></span></p>

<p>You now see the database pool you just imported listed in the database pool portlet.</p>

<p><span class="image-wrap" style=""><img src="/confluence/download/attachments/20645325/bea_import6.jpg?version=1&amp;modificationDate=1203704852000"
style="border: 0px solid black" /></span></p>
    </div>
        <div id="commentsSection" class="wiki-content pageSection">
        <div style="float: right;">
            <a href="https://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
        </div>
        <a href="https://cwiki.apache.org/confluence/display/GMOxDOC30/Import+database+pools+from+WebLogic+8.1">View
Online</a>
        |
        <a href="https://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=20645325&revisedVersion=2&originalVersion=1">View
Changes</a>
                |
        <a href="https://cwiki.apache.org/confluence/display/GMOxDOC30/Import+database+pools+from+WebLogic+8.1?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message