[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Urgent: JNDI name syntax
do-not-reply at jboss.com
Wed May 2 15:10:56 EDT 2007
Well, If you are using MySQL then follow the above steps, but i see you have specified the Derby database. If you are using the Derby database then you need to copy derby-ds.xml, (location is [jboss-location]/ docs/examples/jca/derby-ds.xml) into [jboss-location]/server/default/deploy/
If i am not wrong you will get derby-ds.xml in JBoss4.x versions.
Also, your <jndi-name> in [derby-ds.xml] would be as "DerbyDS" and in it will be "java:/DerbyDS".
Hope this helps!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042571#4042571
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042571
More information about the jboss-user