Hi all ...
I'm trying to install the roller application on a Oracle 10g application
server.
So far I have solved some minor problems.
But the big problem remains: I cannot connect to my oracle database.
In the installation guide the database is called rollerdb, but off course
my database has a different name.
For OC4J I have specified the needed information in the datasources.xml
file.
And I have also configured some things in the web.xml file.
But what I don't understand is how roller makes the link with the rollerdb
and my physical db ...
Datasources.xml
<data-source
class="com.evermind.sql.DriverManagerDataSource"
name="myDbName"
location="jdbc/roller_DS"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="username"
password="myPassword"
url="myUrl"
inactivity-timeout="30"
min-connections="2"
max-connections="5"
/>
</data-sources>
web.xml:
<resource-ref>
<res-ref-name>jdbc/roller_DS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
When I leave my configuration like this: I get the following errors:
Error instantiating application resource-ref 'jdbc/rollerdb' referenced
from resource-ref-mapping not found