• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

MS Access in JBoss 3.0.8

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
You don't like waffles? Well, do you like this tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic