Hello,
I'm trying to setup different datasource locations for different
applications, but can't get it to work for some reason. Can someone give me
a clue?
Orio does not complain when deploying. As far as I can understand the
datasources.xml file in /config is ok (contains a tag for TestDS).
Regards,
Frank
Here is my orion-application.xml file, which is generated by Orion. I only
added the - default-data-source="jdbc/TestDS" - tag:
<?xml version="1.0"?>
<!DOCTYPE orion-application PUBLIC "-//Evermind//DTD J2EE Application
runtime 1.2//EN" "http://www.orionserver.com/dtds/orion-application.dtd">
<orion-application deployment-version="1.2.9"
default-data-source="jdbc/TestDS">
<ejb-module remote="false" path="usermanager" />
<ejb-module remote="false" path="cart" />
<client-module path="cart" deployment-time="e1c157d340" auto-start="false"
/>
<persistence path="persistence" />
<principals path="principals.xml" />
<log>
<file path="application.log" />
</log>
<namespace-access>
<read-access>
<namespace-resource root="">
<security-role-mapping>
<group name="administrators" />
</security-role-mapping>
</namespace-resource>
</read-access>
<write-access>
<namespace-resource root="">
<security-role-mapping>
<group name="administrators" />
</security-role-mapping>
</namespace-resource>
</write-access>
</namespace-access>
</orion-application>