-
1. Re: Problem: Configuration MS Access DataSource JDBC-ODBC driver (sun.jdbc.odbc.jdbcodbcdriver, AS7.1.1, windows)
wdfink May 14, 2012 7:54 AM (in response to maderhan)If I remember correct you have to use the JNDI name like 'java:/jboss/datasources/accessDb'
-
2. Re: Problem: Configuration MS Access DataSource JDBC-ODBC driver (sun.jdbc.odbc.jdbcodbcdriver, AS7.1.1, windows)
maderhan May 15, 2012 12:56 AM (in response to wdfink)Thanks for your post!
I changed the jndi name to java:/jboss/datasources/accessDb and restarted the server.
It still does not work.
06:52:23,381 INFO [org.jboss.as.controller] (management-handler-thread - 1) JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:
service jboss.jdbc-driver.jdbcodbc (missing) dependents: [service jboss.data-source.jboss/datasources/accessDb] -
3. Re: Problem: Configuration MS Access DataSource JDBC-ODBC driver (sun.jdbc.odbc.jdbcodbcdriver, AS7.1.1, windows)
wdfink May 15, 2012 3:59 AM (in response to maderhan)could you attach logfile and configuration and module-jars? Maybe I can get a better idea of it.
-
4. Re: Problem: Configuration MS Access DataSource JDBC-ODBC driver (sun.jdbc.odbc.jdbcodbcdriver, AS7.1.1, windows)
maderhan May 15, 2012 6:39 AM (in response to wdfink)I attached the server.log with loglevel DEBUG.
Here is the part from standalone.xml
<datasource
jta="false"
jndi-name="java:/jboss/datasources/accessDb"
enabled="true"
use-java-context="true"
use-ccm="true"
pool-name="accessDb_Pool">
<driver>jdbcodbc</driver>
<connection-url>"jdbc:odbc:Driver={Microsoft Access Driver (*.accdb)};DBQ=\\eur.mgrm.magnasteyr.com\data\GRZ\MF\L_Jeep\IT-Systeme\3-Arbeitsbereich\MAPS_MFA_ERG07.accdb"</connection-url>
<pool>
</pool>
<security>
</security>
</datasource>
And the driver specified also in from standalone.xml
<driver name="jdbcodbc" module="sun.jdk"/>
And the module.xml (original jboss installation)
-
server.log.zip 6.1 KB
-
module.xml 2.5 KB
-