This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes MS Access in JBoss 3.0.8 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "MS Access in JBoss 3.0.8" Watch "MS Access in JBoss 3.0.8" New topic
Author

MS Access in JBoss 3.0.8

Bhaskar Chaganti
Greenhorn

Joined: Apr 10, 2004
Posts: 4
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.


Thanx for your effort. Keep smiling and enjoy life.
Jason Stull
Ranch Hand

Joined: Feb 02, 2004
Posts: 47
Hi Bhaskar,
As long as the MS Access DataSource is bound to JNDI, this example should get you going:


"I believe in coyotes and time as an abstract Explain the change the difference between What you want and what you need there's the key"
Bhaskar Chaganti
Greenhorn

Joined: Apr 10, 2004
Posts: 4
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

Joined: Feb 02, 2004
Posts: 47
"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

Joined: Apr 10, 2004
Posts: 4
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

Joined: Feb 02, 2004
Posts: 47
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MS Access in JBoss 3.0.8