Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

I know how to add datasource, but ...  RSS feed

Hussein Baghdadi
clojure forum advocate
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all.
I know how to create a datasource in JBoss but I have a question...
my jbosscmp-jdbc.xml file contains :
and mysql-ds.xml file contains :
my deploy dir contains more than one EJB application, and each application requires a datasource.
all I need to do is :
create an XML file called : app1-ds.xml for the first application
app2-ds.xml for the second application ......
and ofcourse setting <connection-url> element correctly.
and I don't need to change defaults element of jbosscmp-jdbc.xml file, neither <jndi-element>
am I right ???
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!