I'm trying to deploy the addressbook example
[http://www.orionserver.com/tutorials/orion-cmp-primer/] on my
server. My data-sources.xml contains this entry:
<data-source
class="com.evermind.sql.DriverManagerDataSource"
name="OracleDS"
location="jdbc/OracleDS"
pooled-location="jdbc/pooled/OracleDS"
xa-location="jdbc/xa/OracleDS"
ejb-location="jdbc/ejb/OracleDS"
connection-driver="oracle.jdbc.driver.OracleDriver"
min-connections="5"
max-connections="25"
username="myuser"
password="mypass"
url="jdbc:oracle:thin:@192.168.1.68:1521:orclcat"
/>
Everything else is fine (I've followed all the steps mentioned
in that cmp-primer) but at the time of deployment the server
gives me the following error message:
Auto-deploying addressbook-ejb.jar (No previous deployment
found)... Error compiling
/home/oc4j/tutorial/addressbook/build/addressbook/addressbook-ejb.jar:
jdbc/OracleDS did not contain a
cmt-dataSource/ejb-datasource
... and I have no clue what that means! I need to get my app
running on orion ASAP. Any help towards this would be highly
appreciated.
Thanks a lot.
Manish