This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am facing an error I am trying to configure Microsoft Access as DataSource Therefore I copied msaccess-ds.xml to E:\jboss-3.2.3\server\default\deploy with some changes I have made a DSN named CSO which points to cso.mdb in my Windows 2000 System The Whole code is copied into I am new to JBoss Sp Please convey my shortcomings or if u need more information please convey it it me msaccess-ds.xml
You probably need to lookup java:/MSAccessDB, as that is probably where your datasource is bound. To be sure, check the JNDI view.
Joined: Dec 03, 2003
Still another error When I looked at JMX Console and saw the JNDI tree it is something like this
So I came to the conclusion that I have to use
Afterwards I tried what you suggested After trying ur suggestion the same error came But After trying the above line an extra line appeared in the error on the server side
OutPut at the Client Side
Thanks Norman that link was really usefool to make me understand the JBoss JNDI tree though i am not able to solve my problem I mean i did not knew before this as I am new to JBOSS Thanks in advance
Joined: Feb 02, 2004
Norman is quite right, should be context.lookup("java:/MSAccessDS"); Been using ServiceLocator for so long, I forgot. However, try removing resource refs from ejb-jar.xml and jboss.xml. They are not needed for what you are trying to do.