-
1. Re: Oracle XE not autodiscovered
tsegismont Mar 6, 2013 4:11 AM (in response to simas_ch)1 of 1 people found this helpfulHi Simon,
The Oracle plugin descriptor declares this query for process scan:
process|basename|match=^ORACLE.*
I don't know if Oracle Express Edition executable name begins with "ORACLE". We would welcome a contribution to expand the types of supported Oracle databases
You can still manually add an Oracle server resource at the platform level using the Import button in the 'Inventory > Child resources' tab
Regards,
Thomas
-
2. Re: Oracle XE not autodiscovered
simas_ch Mar 6, 2013 4:20 AM (in response to tsegismont)Hi Thomas,
Ah I see.
1) the process name is oracleXE where can I add this descriptor?
2) when i add oracle manually i get an exception:
java.lang.RuntimeException:[1362561491164] org.rhq.core.clientapi.agent.PluginContainerException:Failed to add resource with type [Oracle Server] and parent resource id [10271] -> org.rhq.core.util.exception.WrappedRemotingException:null -> org.rhq.core.util.exception.WrappedRemotingException:Discovery component invocation failed. -> org.rhq.core.util.exception.WrappedRemotingException:Unable to connect to Oracle -> org.rhq.core.util.exception.WrappedRemotingException:Specified JDBC driver class (oracle.jdbc.driver.OracleDriver) not found.
Where do I have to put the jdbc driver on the server? It's 4.6
Thanks,
Simon
-
3. Re: Oracle XE not autodiscovered
mazz Mar 6, 2013 8:29 AM (in response to simas_ch)> Where do I have to put the jdbc driver on the server? It's 4.6
If you are just monitoring Oracle DB with the agent (and NOT using Oracle as RHQ's own database backend) you don't put the Oracle JDBC driver anywhere in the server. Its not needed.
Rather, you need to put it in the proper place inside the Oracle plugin. It should go in the oracle plugin jar's /lib directory. Do a Google search on "rhq oracle plugin" and you'll get a few hits. For example, this talks about a similiar issue: https://community.jboss.org/thread/164396
-
4. Re: Oracle XE not autodiscovered
simas_ch Mar 7, 2013 4:29 AM (in response to mazz)1 of 1 people found this helpfulI had to add lib\ojdbc5.jar in the rhq-oracle-plugin-4.6.0.jar
With lib\ojdbc6.jar it didnt work. So ojdbc5.jar seams to be referenced anywhere.
Thanks for you help!