Hi,
we are currently working with Struts and a single database (mysql). Now, we
wanted to use a second database pooling for a oracle database.
We updated our struts-config to contain a second data-source tag.
<data-sources>
<data-source>
<set-property property="key" value="mysql"/>
<set-property property="autoCommit" value="true"/>
<set-property property="description" value="MySQL Data Source
Configuration"/>
<set-property property="maxCount" value="4"/>
<set-property property="minCount" value="2"/>
<set-property property="password" value="mysql"/>
<set-property property="url"
value="jdbc:mysql://localhost:3306/dbjava"/>
<set-property property="user" value="root"/>
</data-source>
<data-source
autoCommit="true"
description="Oracle Data Source Configuration"
driverClass="oracle.jdbc.driver.OracleDriver"
maxCount="4"
minCount="2"
password="xxx"
url="jdbc:oracle:thin:@141.28.xxx.xxx:1521:FHF"
user="Schippmann"
key="oracle"
/>
</data-sources-->
</data-sources>
We tested the connection to the oracle db with a thin Driver, it worked
perfectly.
"Cannot find ActionMappings or FormBeans Declarations" is the error we get, I
know that it has absolutely nothing to do with datasources, but this is the
error we get if we add the second datasource!
We also tried to use the set-property tag inside the data-sources, but the
same error occured.
We really appreciate any kind of help we can get,
thanx,
Sven Haiges
--
Sven Haiges
mailto:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>