JBoss ON install fails with "No suitable driver found for jdbc:oracle"

Solution Verified - Updated -

Issue

  • Installing JBoss ON and receive below error:
11:47:53,245 WARN  [org.rhq.enterprise.server.installer.ServerInstallUtil] Installer failed to test connection: java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:server.domain.com:1526:orcl
        at java.sql.DriverManager.getConnection(DriverManager.java:596) [rt.jar:1.7.0_51]
        at java.sql.DriverManager.getConnection(DriverManager.java:215) [rt.jar:1.7.0_51]
        at org.rhq.core.db.DbUtil.getConnection(DbUtil.java:60) [rhq-core-dbutils-4.12.0.JON330GA.jar:4.12.0.JON330GA]
        at org.rhq.enterprise.server.installer.ServerInstallUtil.getDatabaseConnection(ServerInstallUtil.java:994) [rhq-installer-util-4.12.0.JON330GA.jar:4.12.0.JON330GA]
        at org.rhq.enterprise.server.installer.ServerInstallUtil.ensureDatabaseIsSupported(ServerInstallUtil.java:954) [rhq-installer-util-4.12.0.JON330GA.jar:4.12.0.JON330GA]
        at org.rhq.enterprise.server.installer.ServerInstallUtil.testConnection(ServerInstallUtil.java:931) [rhq-installer-util-4.12.0.JON330GA.jar:4.12.0.JON330GA]
        at org.rhq.enterprise.server.installer.InstallerServiceImpl.testConnection(InstallerServiceImpl.java:839) [rhq-installer-util-4.12.0.JON330GA.jar:4.12.0.JON330GA]
        at org.rhq.enterprise.server.installer.InstallerServiceImpl.test(InstallerServiceImpl.java:255) [rhq-installer-util-4.12.0.JON330GA.jar:4.12.0.JON330GA]
        at org.rhq.enterprise.server.installer.Installer.doInstall(Installer.java:96) [rhq-installer-util-4.12.0.JON330GA.jar:4.12.0.JON330GA]
        at org.rhq.enterprise.server.installer.Installer.main(Installer.java:59) [rhq-installer-util-4.12.0.JON330GA.jar:4.12.0.JON330GA]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_51]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_51]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_51]
        at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_51]
        at org.jboss.modules.Module.run(Module.java:312) [jboss-modules.jar:1.3.3.Final-redhat-1]
        at org.jboss.modules.Main.main(Main.java:460) [jboss-modules.jar:1.3.3.Final-redhat-1]

Environment

  • Red Hat JBoss Operations Network (ON) 3.3
  • Oracle Relational Database 11g

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content