Hi Andrew,
I am not sure why it doesn't work for you using the CLI. I did: 'deploy
ojdbc6-11.2.0.4.jar' and it deployed correctly. Perhaps the jar version?
14:27:11,742 INFO [org.jboss.as.server.deployment] (MSC service thread
1-4) WFLYSRV0027: Starting deployment of "ojdbc6-11.2.0.4.jar"
(runtime-name: "ojdbc6-11.2.0.4.jar")
14:27:12,420 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service
thread 1-5) WFLYJCA0004: Deploying JDBC-compliant driver class
oracle.jdbc.OracleDriver (version 11.2)
14:27:12,432 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service
thread 1-8) WFLYJCA0018: Started Driver service with driver-name =
ojdbc6-11.2.0.4.jar
For manual edit, you need to add a module.xml in
JBOSS_HOME/modules/com/oracle/ojdbc/main, something like:
https://github.com/wildfly-extras/wildfly-datasources-galleon-pack/blob/m...
Then add to the standalone-full.xml config:
<driver name="oracle" module="com.oracle.ojdbc">
<xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
</driver>
On 9/2/21 1:14 PM, Andrew Marlow wrote:
Hello everyone,
I've been trying to add the oracle ojdbc6.jar to wildfly-23 using the
jboss-cli but with luck. So I am now trying a different approach - I'm
going back to what I did with earlier versions of wildfly, editing the
config by hand. But I'm having no luck with that either. Still, I
think I stand a better chance with that if I can get some help please.
Has anyone else managed to add Oracle to a wildfly config?
--
Regards,
Andrew Marlow
http://www.andrewpetermarlow.co.uk <
http://www.andrewpetermarlow.co.uk>
_______________________________________________
wildfly-dev mailing list -- wildfly-dev(a)lists.jboss.org
To unsubscribe send an email to wildfly-dev-leave(a)lists.jboss.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s