• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MS Access in JBoss 3.0.8

 
Bhaskar Chaganti
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody!!
I want to configure my MS ACCESS JDBC Driver to work with JBoss 3.0.8 on running on Win'98. I've modified msaccess-service.xml file accordingly and stuck with creating jdbc-cmp.xml file.
What entry should I fill in for <datasource-mapping> in the xml file? Is it compulsory? If so could any one pls. help me about this. I've been around this problem since last one day.
 
Jason Stull
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bhaskar,
As long as the MS Access DataSource is bound to JNDI, this example should get you going:
 
Bhaskar Chaganti
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!!
Thanx for your peice of information. But my JBoss App server refuses to recognize the data source and persistently saying that <datasource-mapping> field is necessary and it could not find it. I am using the complete setup feature of JBoss and the error I get is in msaccess-service.xml file.
If you can provide me any valuable info regarding this I will be thankful.
Bye .Expecting a +ve reply
 
Jason Stull
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Expecting a +ve reply", whahuh???
Could you be more specific about what you are trying to accomplish? MBean configuration from msaccess-service.xml should look like:
 
Bhaskar Chaganti
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanx.
Could you forward me the format for jbosscmp-jdbc.xml file for this? If all goes well my application should start running.
Bye
 
Jason Stull
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ejb-jar.xml

jboss-cmpjdbc.xml

jboss.xml

add to standardjbosscmp-jdbc.xml (Not pretty, but actually works):

[ April 13, 2004: Message edited by: Jason Stull ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic