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
ValidationException with SQL query plugin
BC_hyperic
Feb 14, 2008 12:00 AM
Hi We have a simple plugin <plugin> <service name="Costars Availability"> ...
excowboy
Feb 14, 2008 06:23 AM
Hi Bob, maybe you run into this bug ? http://communities.vmware.com/message/1923938#1923938 ...
BC_hyperic
Feb 14, 2008 07:23 PM
Thanks Mirko, that fixed the problem. Everything is working. Bob
1.
ValidationException with SQL query plugin
0
Recommend
BC_hyperic
Posted Feb 14, 2008 12:00 AM
Reply
Reply Privately
Options Dropdown
Hi
We have a simple plugin
<plugin>
<service name="Costars Availability">
<!-- "sql:" domain required to proxy through sqlquery-plugin -->
<filter name="template" value="sql:${query}:${name}"/>
<!-- config defined by the sqlquery-plugin -->
<config include="sql"/>
<metric name="Costars"
query="SELECT dummy from dual"
indicator="true"/>
<metric name="Availability"
query="SELECT COUNT(*) FROM county"
indicator="true"/>
</service>
</plugin>
I have installed the plugin on both the HQ server and the agent. The agent has been stopped and started several times. The agent log shows that it loaded the plugin okay. We tried deleting the data directory and restarting the agent. I click on the platform in HQ, and then select “New Platform Service.” I see “Costars Availability” listed in the service type. I enter a name, and then click okay. I then see a stack trace.
org.hyperic.hq.appdef.shared.ValidationException: ServiceType: Costars Availability not supported by ServerType: NetworkServer at org.hyperic.hq.appdef.server.session.Server.validateNewService(Server.java:260) at org.hyperic.hq.dao.ServiceDAO.createService(ServiceDAO.java:98) at org.hyperic.hq.appdef.server.session.ServiceManagerEJBImpl.createService(ServiceManagerEJBImpl.java:138) at sun.reflect.GeneratedMethodAccessor48633.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.invocation.Invocation.performCall(Invocation.java:345) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:149) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:154) at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:54) at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335) at
Any ideas what is wrong??
HQ version 3.1.0
Bob
2.
RE: ValidationException with SQL query plugin
0
Recommend
excowboy
Posted Feb 14, 2008 06:23 AM
Reply
Reply Privately
Options Dropdown
Hi Bob,
maybe you run into this bug ?
http://communities.vmware.com/message/1923938#1923938
So did you try to restart your HQ Server ?
Mirko
3.
RE: ValidationException with SQL query plugin
0
Recommend
BC_hyperic
Posted Feb 14, 2008 07:23 PM
Reply
Reply Privately
Options Dropdown
Thanks Mirko, that fixed the problem. Everything is working.
Bob
×
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