|Duplicate JDBC driver issue for 3.7 viewer on JBoss AS 7 [message #717062]
||Fri, 19 August 2011 07:38
| Nicklas Karlsson
Registered: July 2009
When I add an oracle driver jar in the WEB-INF\lib I end up with a |
10:23:19,090 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) Deploying JDBC-compliant driver class org.apache.derby.jdbc.AutoloadedDriver (version 10.5)
10:23:19,120 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) Deploying JDBC-compliant driver class oracle.jdbc.OracleDriver (version 11.2)
10:23:19,121 WARN [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) Unable to instantiate driver class "oracle.jdbc.OracleDriver": org.jboss.msc.service.DuplicateServiceException: Service jboss.jdbc-driver.birt_war is already registered
since the drivers are auto-deployed (JDBC-compliant) and both assume the same name. Is there any known workaround for this? I could remove the Derby driver since I don't need it but other uses might require multiple drivers.
Or should I just install the oracle driver as an AS7 module and make a dependency in META-INF MANIFEST.MF?
Thanks in advance,
Powered by FUDForum
. Page generated in 0.01721 seconds