logo       

database configuration with Resin 3.0.6: msg#00027

text.xml.resin.user

Subject: database configuration with Resin 3.0.6

I am trying to configure AS/400 DB2 database driver (available via JTOPEN v4.2)
for Resin 3.0.6:

I added following entries for setting up datasource to be used by Servlets and
EJBs in web.xml:

<database>
<jndi-name>jdbc/AS400DB</jndi-name>
<driver>

<type>com.ibm.as400.access.AS400JDBCConnectionPoolDataSource</type>
<init-param serverName=".."/>
<init-param naming="system"/>
<init-param user="..."/>
<init-param password="..."/>
</driver>
</database>

But I don't think resin/jtopen driver likes this entry - I am still prompted to
manually enter System, User and Password information when the application tries
to connect with the database.

I was wondering if any one has done this before.. I used resource-ref tag
successfully with Resin 2.1.8 for specifying data source, but seems things have
changed in Resin 3.0.

TIA,







<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise