-
1. Re: Monitoring Oracle with Jop
mazz Nov 9, 2009 1:28 PM (in response to joaoantunes87)There are licensing issues that are attached to the Oracle JDBC driver that prohibit us from packaging it in the oracle plugin. You have to get the Oracle JDBC driver yourself and deploy it in the agent yourself. We talk about this here:
http://jopr.org/display/RHQ/Advanced+Build+Notes#AdvancedBuildNotes-BuildingWithOracle
and here:
http://jopr.org/display/RHQ/Maven+Profiles+and+Properties#MavenProfilesandProperties-{{ojdbcdriver}}Profile
(By the way, your english isn't too bad :) -
2. Re: Monitoring Oracle with Jop
joaoantunes87 Nov 11, 2009 9:54 AM (in response to joaoantunes87)Thanks!
Problem solved :)!
Another little question. To configure notifications by e-mail: What i have to do?
I simply edit the file rhq-server.properties, but when jopr want make a notification i get this error:
ERROR [AlertManagerBean] One or more notifications for Alert[id=10293] failed: Unknown SMTP host: smtp...
This is very strange because i tested the connection with this smtp and it's all ok. Apparently!
Escaped me something?
Thanks,
Joao -
3. Re: Monitoring Oracle with Jop
ips Nov 11, 2009 3:34 PM (in response to joaoantunes87)Another little question. To configure notifications by e-mail: What i have to do?
I simply edit the file rhq-server.properties, but when jopr want make a notification i get this error:
ERROR [AlertManagerBean] One or more notifications for Alert[id=10293] failed: Unknown SMTP host: smtp...
This is very strange because i tested the connection with this smtp and it's all ok. Apparently!
Escaped me something?
One possibility - make sure the smtp host line in rhq-server.properties does not have any trailing whitespace or any other typos. -
4. Re: Monitoring Oracle with Jop
joaoantunes87 Nov 25, 2009 7:45 AM (in response to joaoantunes87)Hi!
My mistake! I had the smtp server name wrong.
Now, it's ok...
Thanks,
João -
5. Re: Monitoring Oracle with Jop
rplenz Jan 6, 2010 8:32 AM (in response to joaoantunes87)Hi Joao,
how did you solve the problem with the jdbc-driver?
When I try to add manually the oracle-inventory i get the following error on the server:
An unexpected error occurred in the Agent. Cause: java.lang.Exception:Discovery component invocation failed. -> java.lang.NoClassDefFoundError:oracle/dms/instrument/ExecutionContextForJDBC
Ralf Lenz
-
6. Re: Monitoring Oracle with Jop
joaoantunes87 Jan 6, 2010 8:32 AM (in response to rplenz)Hi,
is necessary add the ojdbc.jar in the oracle plugin of Jopr. To this you should create a folder lib/ with ojdbc.jar (make download in oracle site) and add this folder to the corresponding .jar of oracle plugin in rhq/jopr.
To update the .jar file this link maybe is useful:
http://www.iam.ubc.ca/guides/javatut99/jar/basics/update.html
I hope I have helped you.
Joao
-
7. Re: Monitoring Oracle with Jop
rplenz Jan 7, 2010 3:12 AM (in response to joaoantunes87)Hi Joao,
thank you for the answer.
I have updated the jar-file this way:
jar um rhq-oracle-plugin-1.3.1.jar lib/ojdbc14.jar
and now I get this error on the server:
An unexpected error occurred in the Agent. Cause: java.lang.Exception:Discovery component invocation failed. -> java.lang.NoClassDefFoundError:org/rhq/plugins/oracle/OracleServerComponent
Did I forget anything?
Ralf