Products
Applications
Support
Company
How To Buy
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Register
Skip main navigation (Press Enter).
Toggle navigation
Search Options
Home
Communities
All Communities
Application Networking and Security
Enterprise Software
Mainframe Software
Software Defined Edge
Symantec Enterprise
Tanzu
VMware {code}
VMware Cloud Foundation
Blogs
All Blogs
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Events
All Events
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Water Cooler
Betas
Flings
Education
Groups
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Members
vCenter
Cloud & SDDC
View Only
Community Home
Threads
Library
Events
Members
Back to discussions
Expand all
|
Collapse all
sort by most recent
sort by thread
Error during config of custom plugin
hannad
Sep 21, 2009 09:20 PM
Hello all! I'm writing a custom plug-in to pull and monitor response times as generated by scripts ...
hannad
Sep 22, 2009 05:28 PM
After a ton of experimentation my only guess is that maybe I am missing some sort of autodiscovery feature. ...
hannad
Sep 23, 2009 10:53 PM
Ok... so this is a RTFM moment but here is the final reason why my plugin wasn't being properly loaded ...
1.
Error during config of custom plugin
0
Recommend
hannad
Posted Sep 21, 2009 09:20 PM
Reply
Reply Privately
Options Dropdown
Hello all!
I'm writing a custom plug-in to pull and monitor response times as generated by scripts running on LoadRunner. The idea is that we use LoadRunner to generate synthetic transactions on our applications.
My approach so far is to create a server that knows how to connect to the database where the measurements are stored. Then a specific service for each application instance. Each service will have separate metrics depending on the steps in the synthetic transactions. The server will have the JDBC params as config options and the services will each have the app and script name as options.
So far I have created a shell java class for the plug-in (LoadrunnerMeasurementPlugin.java) and a corresponding hq-plugin.xml. I am able to build and deploy the plug-in somewhat successfully. However, when I add the service and try to set its configuration properties I get an error in the server.log (see attached):
InvalidConfigException: Invalid configuration: Plugin not found: measurement plugin name=LoadRunner 1.0 Looking Glass QA not found
I'm really at a loss here because everything seem to be peachy up to this point. If someone could take a look and tell me where I have gone astray I would really appreciate it.
Thanks in advance
Dave
Message was edited by: hannad
2.
RE: Error during config of custom plugin
0
Recommend
hannad
Posted Sep 22, 2009 05:28 PM
Reply
Reply Privately
Options Dropdown
After a ton of experimentation my only guess is that maybe I am missing some sort of autodiscovery feature. Potentially I need to add the services to some list of services and then the error would be avoided. The name that it is looking for is a combination of the Server name (LoadRunner ), Server version (1.0), and Service name (Looking Glass QA):
Caused by: org.hyperic.hq.measurement.monitor.LiveMeasurementException: Plugin not found: measurement plugin name=LoadRunner 1.0 Looking Glass QA not found
Maybe if I implement the discoverServices method in a detector it will work?
Is this required?
3.
RE: Error during config of custom plugin
0
Recommend
hannad
Posted Sep 23, 2009 10:53 PM
Reply
Reply Privately
Options Dropdown
Ok... so this is a RTFM moment but here is the final reason why my plugin wasn't being properly loaded and launched.
1) I made the assumption that I could put my custom plugin into the standard directory where the server puts its plugins e.g. ./server-4.1.2-EE/hq-engine/server/default/deploy/hq.ear/hq-plugins/
--->>> YOU CAN'T <<<---
2) You
MUST
place your plugin in the directories as specified at this link:
LINK
You
MUST
follow the instructions in the section
"Where to Place Custom-Plugin Files"
Once I did that... bam... everything worked.
Message was edited by: hannad
×
New Best Answer
This thread already has a best answer. Would you like to mark this message as the new best answer?
Copyright 2024. All rights reserved.
Powered by Higher Logic