Hi,

If you want to use Derby as the default DS you will need to do some more config 
(i have done this for EJBTimerService and for JMS/MDB)

For EJBTimerService, you will need to edit the ejb-timer-service.xml file 
located in the deploy directory and change the following line
<depends 
optional-attribute-name="DataSource">jboss.jca:service=DataSourceBinding,name=DefaultDS</depends>
btw, you will only need to do this if your Derby datasource is called something 
else other than DefaultDS, but seems as you get the error i am assuming yourts 
is not called DefaultDS.

For the JMS/MDB i would suggest copying the "derby-jdbc2-service.xml" from 
$JBOSS_HOME/doc/examples/jms/ into deploy/jms/ and edit the datsource name as 
needed.  Remove the hsqldb-jdbc2-service.xml and rename 
hsqldb-jdbc-state-service.xml to derby-jdbc-state-service.xml, and edit the 
datasource name if needed.

Cheers,

Andy 




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998963#3998963

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998963
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to