Hello,
I am trying to test an XML-based SQL Query plugin that I wrote and am having problems getting it to run from the command line. I get the below jdbcDriver-related error message when running the plugin. I have downloaded the Microsoft JDBC driver v.3.0 and placed it in \pdk\lib\jdbc but that didn't help. I even renamed it to mssqlserver.jar, but that didn't make a difference either. Am I just putting this driver in the wrong place or am I doing something else wrong?
I've also attached my plugin in case that is of any help in troubleshooting this particular issue.
Here is the error:
PluginException: Failed to load jdbcDriver=com.microsoft.jdbc.sqlserver.SQLServerDriver (missing mssqlserver.jar,msbase.jar,msutil.jar?)
org.hyperic.hq.product.PluginException: Failed to load jdbcDriver=com.microsoft.
jdbc.sqlserver.SQLServerDriver (missing mssqlserver.jar,msbase.jar,msutil.jar?)
Here is the command line that I am using:
D:\Program Files\Hyperic HQ>java -jar pdk/lib/hq-product.jar -Dplugins.include=hq-omsstatsf -DjdbcDriver=com.microsoft.jdbc.sqlserver.SQLServerDriver -DjdbcUrl=jdbc:sqlserver://sqldbserver:1433;databasename=central -DjdbcUser=hyper
icHQ -DjdbcPassword=xxxxx -m metric -p hq-omsstatsf -t "OMS" -Dlog=debug
Thanks,
Brian