geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Katia Aresti Gonzalez" <kaare...@hotmail.com>
Subject Re: Location of Database driver
Date Sat, 11 Jun 2005 22:23:10 GMT
<html><div style='background-color:'><DIV class=RTE>
<P><BR>Thank you about what you have said. Well, english translation no, because
I did finish the documentation 15th may more or less. Aaron´s book its very good, it has
help me a lot in some things, but well, its more for people very used to aplication servers,
and i did understand things on the end xD I most looked at the wiki, irc and some articles
on the net, for example in <A href="http://www.javaworld.net">www.javaworld.net</A>
</P>
<P><FONT size=2><SPAN lang=EN style="FONT-FAMILY: 'Courier New'; mso-ansi-language:
EN">If you want your database pool to be visible on all the server, you deploy just the
oracle-plan.xml. If you want the pool to be visible just in you application (EAR), then deploy
all togheter packed on the EAR, and if you want just to use it on a web application scope,
i mean, just visible to a WAR single module, then need to put the connector on the geronimo-jetty.xml</SPAN></FONT></P><FONT
size=2><SPAN lang=EN style="FONT-FAMILY: 'Courier New'; mso-ansi-language: EN">
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align:
none" align=left><B><SPAN lang=EN style="FONT-FAMILY: 'Courier New'; mso-ansi-language:
EN">WEB-INF/geronimo-jetty.xml<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office"
/><o:p></o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align:
none" align=left><SPAN lang=EN style="FONT-SIZE: 8pt; FONT-FAMILY: Courier; mso-ansi-language:
EN; mso-bidi-font-size: 10.0pt">&lt;web-app xmlns="http://geronimo.apache.org/xml/ns/web/jetty"<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align:
none" align=left><SPAN lang=EN style="FONT-SIZE: 8pt; FONT-FAMILY: Courier; mso-ansi-language:
EN; mso-bidi-font-size: 10.0pt">xmlns:naming="http://geronimo.apache.org/xml/ns/naming"<o:p></o:p></SPAN></P>
<P style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><SPAN lang=EN style="FONT-FAMILY:
Courier; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt">...&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align:
none" align=left><SPAN lang=EN style="FONT-SIZE: 8pt; FONT-FAMILY: Courier; mso-ansi-language:
EN; mso-bidi-font-size: 10.0pt">...<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align:
none" align=left><SPAN lang=EN style="FONT-SIZE: 8pt; FONT-FAMILY: Courier; mso-ansi-language:
EN; mso-bidi-font-size: 10.0pt">&lt;resource&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 35.4pt; TEXT-ALIGN: left; mso-layout-grid-align:
none" align=left><SPAN lang=EN style="FONT-SIZE: 8pt; FONT-FAMILY: Courier; mso-ansi-language:
EN; mso-bidi-font-size: 10.0pt">&lt;external-rar&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 35.4pt; TEXT-INDENT: 35.4pt; TEXT-ALIGN:
left; mso-layout-grid-align: none" align=left><SPAN lang=EN style="FONT-SIZE: 8pt; FONT-FAMILY:
Courier; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt">tranql/rars/tranql-connector-1.0-SNAPSHOT.rar<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 35.4pt; TEXT-ALIGN: left; mso-layout-grid-align:
none" align=left><SPAN lang=EN style="FONT-SIZE: 8pt; FONT-FAMILY: Courier; mso-ansi-language:
EN; mso-bidi-font-size: 10.0pt">&lt;/external-rar&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 35.4pt; TEXT-ALIGN: left; mso-layout-grid-align:
none" align=left><SPAN lang=EN style="FONT-SIZE: 8pt; FONT-FAMILY: Courier; mso-ansi-language:
EN; mso-bidi-font-size: 10.0pt">&lt;connector&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align:
none" align=left><B><SPAN lang=EN style="FONT-SIZE: 8pt; FONT-FAMILY: Courier;
mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;here
the things of the mysql.plan&gt;</SPAN></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align:
none" align=left><B><SPAN lang=EN style="FONT-SIZE: 8pt; FONT-FAMILY: Courier;
mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN style="mso-tab-count: 1"></SPAN></SPAN></B><SPAN
lang=EN style="FONT-SIZE: 8pt; FONT-FAMILY: Courier; mso-ansi-language: EN; mso-bidi-font-size:
10.0pt">&lt;/connector&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align:
none" align=left><SPAN lang=EN style="FONT-SIZE: 8pt; FONT-FAMILY: Courier; mso-ansi-language:
EN; mso-bidi-font-size: 10.0pt">&lt;/resource&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align:
none" align=left><SPAN lang=EN style="FONT-SIZE: 8pt; FONT-FAMILY: Courier; mso-ansi-language:
EN; mso-bidi-font-size: 10.0pt">&lt;/web-app&gt;</SPAN><SPAN lang=EN style="FONT-FAMILY:
Courier; mso-ansi-language: EN"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="mso-ansi-language:
EN"><FONT face=Arial>&nbsp;<o:p></o:p></FONT></SPAN></P>
<P>This is the one you use if you deploy the resource, the oracle pool to all the server.
Is the easyest way to start. Have you tryed to do it with MySQL?? Try first, and then see
if works. And later try with oracle... I don know :-) David Jencks can help you more than
me probably, I know just few things... They are developers hehe Just try to follow the steps
of my documentation...</P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align:
none" align=left><SPAN lang=EN style="FONT-SIZE: 9pt; FONT-FAMILY: Courier; mso-ansi-language:
EN; mso-bidi-font-size: 10.0pt">...<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align:
none" align=left><SPAN lang=EN style="FONT-SIZE: 9pt; FONT-FAMILY: Courier; mso-ansi-language:
EN; mso-bidi-font-size: 10.0pt">InitialContext ctx = new InitialContext();<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align:
none" align=left><SPAN lang=EN style="FONT-SIZE: 9pt; FONT-FAMILY: Courier; mso-ansi-language:
EN; mso-bidi-font-size: 10.0pt">DataSource ds = (DataSource)ctx.lookup("java:comp/env/MysqlDataSource");<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align:
none" align=left><SPAN lang=EN style="FONT-SIZE: 9pt; FONT-FAMILY: Courier; mso-ansi-language:
EN; mso-bidi-font-size: 10.0pt">Connection con = ds.getConnection();<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align:
none" align=left><SPAN lang=EN style="FONT-SIZE: 9pt; FONT-FAMILY: Courier; mso-ansi-language:
EN; mso-bidi-font-size: 10.0pt">Statement stmt = con.createStatement();<o:p></o:p></SPAN></P>
<P><SPAN lang=ES-TRAD style="FONT-SIZE: 9pt; FONT-FAMILY: Courier; mso-ansi-language:
ES-TRAD; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman';
mso-bidi-font-size: 10.0pt; mso-fareast-language: ES; mso-bidi-language: AR-SA">... </SPAN></SPAN></FONT></P>
<P><FONT size=2><B><SPAN lang=EN style="FONT-FAMILY: 'Courier New'; mso-ansi-language:
EN">mysql-plan.xml</SPAN></B></FONT></P>
<P><FONT size=2><B><SPAN lang=EN style="FONT-FAMILY: 'Courier New'; mso-ansi-language:
EN"></SPAN></B></FONT><SPAN lang=EN style="FONT-SIZE: 8pt; FONT-FAMILY:
'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt">&nbsp;</SPAN><SPAN
lang=EN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size:
10.0pt">&lt;?xml version="1.0"?&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt">&lt;connector
xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector"<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>version="1.5" <B>configId</B>="MySQLPool"
<B>parentId</B>="org/apache/geronimo/Server"&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt">&nbsp;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp; </SPAN>&lt;dependency&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN><B>&lt;uri&gt;</B>mysql/jars/mysql-connector-java-3.0.9-stable-bin.jar<B>&lt;/uri&gt;</B><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp; </SPAN>&lt;/dependency&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt">&nbsp;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt">&lt;resourceadapter&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>&lt;outbound-resourceadapter&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>&lt;connection-definition&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN>&lt;connectionfactory-interface&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN>javax.sql.DataSource<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN>&lt;/connectionfactory-interface&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 35.4pt"><SPAN lang=EN
style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size:
10.0pt">&lt;connectiondefinition-instance&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN>&lt;name&gt;MysqlDataSource&lt;/name&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN>&lt;config-property-setting name="UserName"&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN>root<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN>&lt;/config-property-setting&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN>&lt;config-property-setting name="Password"&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN><B>contraseña<o:p></o:p></B></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN>&lt;/config-property-setting&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN>&lt;config-property-setting name="Driver"&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN>org.gjt.mm.mysql.Driver<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN>&lt;/config-property-setting&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN>&lt;config-property-setting name="ConnectionURL"&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN>jdbc:mysql://localhost:3306/test?autoReconnect=true<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>&lt;/config-property-setting&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN>&lt;connectionmanager&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN>&lt;single-pool&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN>&lt;max-size&gt;10&lt;/max-size&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN>&lt;min-size&gt;2&lt;/min-size&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN>&lt;match-one/&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN>&lt;/single-pool&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN>&lt;/connectionmanager&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>&lt;global-jndi-name&gt;MySQLPool&lt;/global-jndi-name&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</SPAN>&lt;/connectiondefinition-instance&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>&lt;/connection-definition&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>&lt;/outbound-resourceadapter&gt;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 8pt;
FONT-FAMILY: 'Courier New'; mso-ansi-language: EN; mso-bidi-font-size: 10.0pt"><SPAN
style="mso-spacerun: yes">&nbsp; </SPAN>&lt;/resourceadapter&gt;<o:p></o:p></SPAN></P>
<P><SPAN lang=ES-TRAD style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'; mso-ansi-language:
ES-TRAD; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-size: 10.0pt; mso-fareast-language:
ES; mso-bidi-language: AR-SA">&lt;/connector&gt;</SPAN><BR></P><BR><BR><BR>&gt;From:
waimun &lt;waimun@dev.java.net&gt;<BR>&gt;Reply-To: user@geronimo.apache.org<BR>&gt;To:
user@geronimo.apache.org<BR>&gt;Subject: Re: Location of Database driver<BR>&gt;Date:
Sat, 11 Jun 2005 18:01:16 -0400 (EDT)<BR>&gt;<BR>&gt;I did that too. I
copied the plan definition to a file named oracle-database-plan.xml,<BR>&gt;and
deploy it using the deploytool. But still unable to get a connection using jdbc.<BR>&gt;What
do you mean by "select the proper scope"? You mentioned writing a new plan<BR>&gt;for
the new service: do you refer to the db plan or web app plan. Can you<BR>&gt;copy/paste
a portion of the web plan 
that you think would work for this case.<BR>&gt;<BR>&gt;&lt;connector
xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector"<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;
version="1.5"<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; configId="org/apache/geronimo/DefaultDatabase"<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;
parentId="org/apache/geronimo/Server"&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;dependency&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;uri&gt;oracle10g/jars/ojdbc14.jar&lt;/uri&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/dependency&gt;<BR>&gt;&lt;/connector&gt;<BR>&gt;<BR>&gt;I
hope I can understand your spanish manual that you have published. At least it would have
help me in understanding<BR>&gt;more about geronimo. You did so well. I am impressed
by the content and its verbosity. (I only took two spanish classes in college, but it is not
enough for me to understand it entirely.)<BR>&gt;Is 
there an english translation or its equivlent?<BR>&gt;<BR>&gt;On 6/11/05,
Katia Aresti Gonzalez &lt;kaaresti@hotmail.com&gt; wrote:<BR>&gt; &gt;<BR>&gt;
&gt;<BR>&gt; &gt;<BR>&gt; &gt; I think that you need a external
plan. You need to write a plan for the new<BR>&gt; &gt; service, and select
the proper scope, because you are adding a new service<BR>&gt; &gt; to Geronimo,
y new configuration... This is what i have always do. If you<BR>&gt; &gt; use
the default plan, if its possible to do it like that, you should<BR>&gt; &gt;
undeploy and deploy again the xml file (I have done this but with the<BR>&gt; &gt;
system-jms-plan, adding a new resource to the jms server)<BR>&gt; &gt;<BR>&gt;
&gt; hope this helps :-)<BR>&gt; &gt;<BR>&gt; &gt; Katia<BR>&gt;
&gt;<BR>&gt; &gt;<BR>&gt;<BR></DIV></div><br
clear=all><hr>Acepta el reto MSN Premium: incluye Antivirus y Firewall de McAffee.
<a 
href="http://g.msn.com/8HMBESES/2731??PS=47575" target="_top">Descárgalo y pruébalo 2
meses gratis.</a> </html>


Mime
View raw message