3 Replies Latest reply on Feb 22, 2010 6:37 AM by manuel fernandez panzuela

    JBoss ON error with Oracle plugin

    manuel fernandez panzuela Newbie
      Hello,

      I'm trying to monitor my Oracle application. The agent is working  perfectly, but my Oracle application is not monitoring correctly.

      I've added the plugin from  Oracle (RHQ-oracle-plugin-1.2.0.GA.jar) which is need it to  monitor  this application, but when it's run for the first time I get an error,  the
      error message is:

      An  unexpected error occurred in the Agent. Cause:  java.lang.Exception:Discovery  component invocation failed. ->  org.rhq.core.pluginapi.
      inventory.InvalidPluginConfigurationException:Unable  to  connect to Oracle ->  org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationException:Specified   JDBC driver class (oracle.jdbc.driver.OracleDriver) not found.

      i  believe the  error says "can not load the driver" because ojdbc is not into  plugin-oracle-plugin-1.2.0.GA.jar. Looking  for information I came to this link:
      http://jopr.org/display/RHQ/Advanced+Build+Notes # AdvancedBuildNotes-BuildingWithOracle

      I've  added the library ojdbc14.jar within the plugin, as explained in  the link, creating a lib in the root directory of the plugin and  entering into this ojdbc14.jar driver (downloaded from Oracle's  website).

      I replaced the plugin  and restarted the agent,  to reload, but I keep getting the same error.

      The plugin is updated into server's  too

      Thank you in advance.