Hyperic to support Oracle Application Server and OC4J
April 30th, 2008 Gerardo Viedma
Today, Hyperic is sharing an exciting new plugin as part of our ongoing preview of Hyperic HQ 4.0. The beauty of this plugin is it actually supports TWO products:
As a relative new-comer to the Hyperic Engineering team, I would like to use this opportunity to introduce myself to the community. I spent the previous two years as a platform engineer working on the Oracle Communication and Mobility Server. At Oracle, I helped integrate the J2EE and SIP application servers, exposing management and configuration features via Java Management Extensions (JMX).
So, as you can imagine, I was very excited to take on the project of developing a Hyperic plugin for the Oracle application server, a product I am so intimately familiar with. So, for you Oracle users out there - please check out the HyperFORGE and take the new management plugins for a spin. I’ll be watching for feedback in the community as we prepare to make this part of the standard distribution in 4.0.
Entry Filed under: Community, HQ, HQ Beta, IT Industry













2 Comments Add your own
1. Tom Miller | May 19th, 2008 at 7:31 pm
The new plugin has a bug. Gerardo Viedma please take a look at this.
Steps to reproduce:
install oracle application server plugin.
login to hyperic server dashboard, click on configuration, it says “This resource is turned off or has not been configured properly.
The problem is: Invalid configuration: Plugin error: Malformed URL: [service:jmx:rmi://localhost:23791]”
agent.log::
2008-05-12 19:52:44,047 INFO [Thread-52201] [org.hyperic.hq.autoinventory.server.session.RuntimeReportProcessor] Merging server reports into appdef (server count=0)
2008-05-12 19:52:44,047 INFO [Thread-52201] [org.hyperic.hq.autoinventory.server.session.RuntimeReportProcessor] Completed processing Runtime AI report in: 0 seconds.
2008-05-12 19:53:04,006 WARN [MeasurementEnabler1] [org.hyperic.hq.measurement.server.session.DerivedMeasurementManagerEJBImpl] Error turning on default metrics, configuration ({platform.id=10003, platform.log_track.level=Warn, jmx.provider.pkgs=oracle.oc4j.admin.jmx.remote, platform.log_track.enable=true, server.config_track.enable=false, installpath=/oracle/product/disco, server.config_track.files=j2ee/home/config/server.xml,j2ee/home/config/j2ee-logging.xml,j2ee/home/config/java2.policy,j2ee/home/config/system-jazn-data.xml, platform.name=DC4200APP30.it2.fdca.census2010.gov, platform.ip=10.43.38.28, platform.config_track.enable=true, platform.fqdn=DC4200APP30.it2.fdca.census2010.gov, platform.type=Linux, jmx.url=service:jmx:rmi://localhost:23791, jmx.username=oc4jadmin}) couldn’t be validated
org.hyperic.hq.appdef.shared.InvalidConfigException: Invalid configuration: Plugin error: Malformed URL: [service:jmx:rmi://localhost:23791]
at org.hyperic.hq.measurement.server.session.RawMeasurementManagerEJBImpl.checkConfiguration(RawMeasurementManagerEJBImpl.java:218)
at sun.reflect.GeneratedMethodAccessor1479.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.hyperic.hq.application.HQApp$Snatcher.invokeNextBoth(HQApp.java:408)
at org.hyperic.hq.application.HQApp$Snatcher.invokeNext(HQApp.java:460)
at org.hyperic.txsnatch.TxSnatch.invoke(TxSnatch.java:71)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
at org.hyperic.hq.application.HQApp$Snatcher.invokeNextBoth(HQApp.java:408)
at org.hyperic.hq.application.HQApp$Snatcher.invokeNext(HQApp.java:460)
at org.hyperic.txsnatch.TxSnatch.invoke(TxSnatch.java:71)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
at org.jboss.ejb.Container.invoke(Container.java:873)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)
at $Proxy315.checkConfiguration(Unknown Source)
at org.hyperic.hq.measurement.server.session.DerivedMeasurementManagerEJBImpl.enableDefaultMetrics(DerivedMeasurementManagerEJBImpl.java:1634)
at org.hyperic.hq.measurement.server.session.DerivedMeasurementManagerEJBImpl.handleCreateRefreshEvents(DerivedMeasurementManagerEJBImpl.java:1567)
at sun.reflect.GeneratedMethodAccessor1576.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.hyperic.hq.application.HQApp$Snatcher.invokeNextBoth(HQApp.java:408)
at org.hyperic.hq.application.HQApp$Snatcher.invokeNext(HQApp.java:460)
at org.hyperic.txsnatch.TxSnatch.invoke(TxSnatch.java:71)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
at org.hyperic.hq.application.HQApp$Snatcher.invokeNextBoth(HQApp.java:408)
at org.hyperic.hq.application.HQApp$Snatcher.invokeNext(HQApp.java:460)
at org.hyperic.txsnatch.TxSnatch.invoke(TxSnatch.java:71)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
at org.jboss.ejb.Container.invoke(Container.java:873)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)
at $Proxy312.handleCreateRefreshEvents(Unknown Source)
at org.hyperic.hq.measurement.server.session.MeasurementEnabler.processEvents(MeasurementEnabler.java:36)
at org.hyperic.hq.zevents.TimingListenerWrapper.processEvents(TimingListenerWrapper.java:44)
at org.hyperic.hq.zevents.BufferedListener$BufferedEventRunnable.run(BufferedListener.java:64)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Unknown Source)
Caused by: org.hyperic.hq.measurement.monitor.LiveMeasurementException: Plugin error: Malformed URL: [service:jmx:rmi://localhost:23791]
at org.hyperic.hq.measurement.agent.client.AgentMonitor.getLiveValues(AgentMonitor.java:224)
at org.hyperic.hq.measurement.server.session.RawMeasurementManagerEJBImpl.getLiveMeasurementValues(RawMeasurementManagerEJBImpl.java:248)
at org.hyperic.hq.measurement.server.session.RawMeasurementManagerEJBImpl.checkConfiguration(RawMeasurementManagerEJBImpl.java:216)
… 60 more
2008-05-12 19:53:04,125 INFO [Thread-52234] [org.hyperic.hq.autoinventory.server.session.RuntimeReportProcessor] Processing Runtime AI Report: [CompositeRRR
]
2008-05-12 19:53:04,125 INFO [Thread-52234] [org.hyperic.hq.autoinventory.server.session.RuntimeReportProcessor] Merging server reports into appdef (server count=0)
2008-05-12 19:53:04,125 INFO [Thread-52234] [org.hyperic.hq.autoinventory.server.session.RuntimeReportProcessor] Completed processing Runtime AI report in: 0 seconds.
2008-05-12 19:53:56,633 DEBUG [JMS SessionPool Worker-5044] [org.hyperic.hq.events.ext.AbstractTrigger.Fired] Firing actions for trigger with id=10023; alert def [Server Availability] with id=10013
2. Stan Quinn | June 30th, 2008 at 2:58 pm
This has been entered into Jira as a bug for 4.0. http://jira.hyperic.com/browse/HHQ-2031
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed