<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>ERMA - new forum posts</title>
		<link>http://erma.wikidot.com/forum/start</link>
		<description>Posts in forums of the site &quot;ERMA&quot; - The Extremely Reusable Monitoring API</description>
				<copyright></copyright>
		<lastBuildDate></lastBuildDate>
		
					<item>
				<guid>http://erma.wikidot.com/forum/t-93774#post-272947</guid>
				<title>Re: Using Spring, dependency missing</title>
				<link>http://erma.wikidot.com/forum/t-93774/using-spring-dependency-missing#post-272947</link>
				<description></description>
				<pubDate>Wed, 01 Oct 2008 18:31:58 +0000</pubDate>
				<wikidot:authorName>Matthew Kemp</wikidot:authorName>				<wikidot:authorUserId>137749</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>The reason we rely on the edu.emory.mathcs.backport is because of Java 1.4 support. I know that 1.4 is near end-of-life, but at the time we release erma we still required 1.4 support.</p> <br/>Forum category: <a href="http://erma.wikidot.com/forum/c-51581">General / Help Requests</a><br/>Forum thread: <a href="http://erma.wikidot.com/forum/t-93774/using-spring-dependency-missing">Using Spring, dependency missing</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://erma.wikidot.com/forum/t-93774#post-272508</guid>
				<title>Using Spring, dependency missing</title>
				<link>http://erma.wikidot.com/forum/t-93774/using-spring-dependency-missing#post-272508</link>
				<description></description>
				<pubDate>Wed, 01 Oct 2008 06:31:26 +0000</pubDate>
				<wikidot:authorName>epchris</wikidot:authorName>				<wikidot:authorUserId>212654</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I just tried integrating in ERMA using your example for spring integration and got a NoClassDefFoundError for the class<br /> edu/emory/mathcs/backport/java/util/concurrent/ScheduledExecutorService<br /> Is there a reason why ERMA relies on edu.emory.mathcs.backport? Why not just the ScheduleExecutorService in java 1.5? is it just too late and my brain isn't working?</p> <br/>Forum category: <a href="http://erma.wikidot.com/forum/c-51581">General / Help Requests</a><br/>Forum thread: <a href="http://erma.wikidot.com/forum/t-93774/using-spring-dependency-missing">Using Spring, dependency missing</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://erma.wikidot.com/forum/t-79686#post-238699</guid>
				<title>Re: Problem running application alongwith ERMA monitors</title>
				<link>http://erma.wikidot.com/forum/t-79686/problem-running-application-alongwith-erma-monitors#post-238699</link>
				<description></description>
				<pubDate>Tue, 12 Aug 2008 15:28:19 +0000</pubDate>
				<wikidot:authorName>mokeefe</wikidot:authorName>				<wikidot:authorUserId>128761</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>If you have configured ERMA using Spring wiring, including the MonitoringEngineManager bean, then you shouldn't need to call MonitoringEngine.getInstance().startup() within your application.</p> <p>Could you post your xml here and we'll review it?</p> <br/>Forum category: <a href="http://erma.wikidot.com/forum/c-51581">General / Help Requests</a><br/>Forum thread: <a href="http://erma.wikidot.com/forum/t-79686/problem-running-application-alongwith-erma-monitors">Problem running application alongwith ERMA monitors</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://erma.wikidot.com/forum/t-79686#post-235537</guid>
				<title>Re: Problem running application alongwith ERMA monitors</title>
				<link>http://erma.wikidot.com/forum/t-79686/problem-running-application-alongwith-erma-monitors#post-235537</link>
				<description></description>
				<pubDate>Wed, 06 Aug 2008 21:35:39 +0000</pubDate>
				<wikidot:authorName>ab777</wikidot:authorName>				<wikidot:authorUserId>179739</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I am getting your idea now. Can you please help me out.</p> <p>I am trying the following:</p> <p>. I have configured the ERMA in a xml file using the steps given on the link: <a href="http://erma.wikidot.com/configuring-erma-using-spring">http://erma.wikidot.com/configuring-erma-using-spring</a><br /> . I have a simple Java application in the same project that uses the ERMA monitor APIs. But when I called MonitoringEngine.getInstance().startup() in my application, it was giving the error: processorFactory is null. Is there anything else that I need to do in my application?</p> <p>Do I need to run the MonitorProcessor in a separate project.</p> <p>Do let me know if you need any other information related to my code. I will appreciate that.</p> <p>Thanks</p> <br/>Forum category: <a href="http://erma.wikidot.com/forum/c-51581">General / Help Requests</a><br/>Forum thread: <a href="http://erma.wikidot.com/forum/t-79686/problem-running-application-alongwith-erma-monitors">Problem running application alongwith ERMA monitors</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://erma.wikidot.com/forum/t-79686#post-235530</guid>
				<title>Re: Problem running application alongwith ERMA monitors</title>
				<link>http://erma.wikidot.com/forum/t-79686/problem-running-application-alongwith-erma-monitors#post-235530</link>
				<description></description>
				<pubDate>Wed, 06 Aug 2008 21:12:08 +0000</pubDate>
				<wikidot:authorName>smullins</wikidot:authorName>				<wikidot:authorUserId>150508</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Typically, we configure ERMA via Spring wiring. That's where we create our ProcessGroups and MonitorProcessors. How have you configured ERMA for your project?</p> <p>The above code was an example of how to configure the processor factory programatically, if you don't use Spring for dependency injection.</p> <p>MonitorProcessors are passed into the ProcessGroups and are designed to consume Monitors and process them in some way. An example would be the LoggingMonitorProcessor which as it receives Monitors from the MonitoringEngine it will log them out.</p> <br/>Forum category: <a href="http://erma.wikidot.com/forum/c-51581">General / Help Requests</a><br/>Forum thread: <a href="http://erma.wikidot.com/forum/t-79686/problem-running-application-alongwith-erma-monitors">Problem running application alongwith ERMA monitors</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://erma.wikidot.com/forum/t-79686#post-235513</guid>
				<title>Re: Problem running application alongwith ERMA monitors</title>
				<link>http://erma.wikidot.com/forum/t-79686/problem-running-application-alongwith-erma-monitors#post-235513</link>
				<description></description>
				<pubDate>Wed, 06 Aug 2008 20:55:55 +0000</pubDate>
				<wikidot:authorName>ab777</wikidot:authorName>				<wikidot:authorUserId>179739</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks for the suggestion.</p> <p>Am I missing something on the documentation page, as I didn't find the above code. One more thing: how to initialize "someMonitorProcessor" above? Its an error when I create an instance of MonitorProcessor.</p> <p>What else do I need to do to observe the captured events? I have the following:<br /> 1) Test application alongwith monitors<br /> 2) In the same project, I have configured ERMA<br /> 3) I assume I need to run the MonitorProcessor in a different project right?</p> <p>Thank you very much</p> <br/>Forum category: <a href="http://erma.wikidot.com/forum/c-51581">General / Help Requests</a><br/>Forum thread: <a href="http://erma.wikidot.com/forum/t-79686/problem-running-application-alongwith-erma-monitors">Problem running application alongwith ERMA monitors</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://erma.wikidot.com/forum/t-79686#post-235401</guid>
				<title>Re: Problem running application alongwith ERMA monitors</title>
				<link>http://erma.wikidot.com/forum/t-79686/problem-running-application-alongwith-erma-monitors#post-235401</link>
				<description></description>
				<pubDate>Wed, 06 Aug 2008 18:17:48 +0000</pubDate>
				<wikidot:authorName>smullins</wikidot:authorName>				<wikidot:authorUserId>150508</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi ab777,<br /> You're getting that error because you haven't specified the processor factory for your MonitoringEngine. You need to do something like this:</p> <div class="code"> <pre> <code>ProcessGroup pg = new ProcessGroup(someMonitorProcessor); SimpleMonitorProcessorFactory factory = new SimpleMonitorProcessorFactory(new ProcessGroup[] {pg}); MonitoringEngine.getInstance().setProcessorFactory(factory);</code> </pre></div> <p>If it helps, you may want to look at the unit tests for these classes to get a clearer picture for how they work together. Think of a ProcessGroup as a way to route Monitors to a set of MonitorProcessors.</p> <br/>Forum category: <a href="http://erma.wikidot.com/forum/c-51581">General / Help Requests</a><br/>Forum thread: <a href="http://erma.wikidot.com/forum/t-79686/problem-running-application-alongwith-erma-monitors">Problem running application alongwith ERMA monitors</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://erma.wikidot.com/forum/t-79686#post-235333</guid>
				<title>Problem running application alongwith ERMA monitors</title>
				<link>http://erma.wikidot.com/forum/t-79686/problem-running-application-alongwith-erma-monitors#post-235333</link>
				<description></description>
				<pubDate>Wed, 06 Aug 2008 16:34:08 +0000</pubDate>
				<wikidot:authorName>ab777</wikidot:authorName>				<wikidot:authorUserId>179739</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I want to use the functionality provided by ERMA monitors. I created a sample Java application and hooked the erma monitor APIs into it. Also, I configured ERMA using the steps provided by you.</p> <p>But, I am not completely clear from the documentation. So, when I ran the application, I got this exception:</p> <p>Exception in thread "main" java.lang.IllegalStateException: processorFactory is null<br /> at com.orbitz.monitoring.api.MonitoringEngine.startup(MonitoringEngine.java:89)<br /> at ErmaTest.main(ErmaTest.java:24)<br /> ErmaTest.java: 24 has MonitoringEngine.getInstance().startup();</p> <p>Can you please help me in using the monitor functionality and viewing the captured events at the processor side. Do I need to hook some additional code in the application besides calling the monitoringEngine startup/shutdown and monitor APIs.</p> <p>Thanks</p> <br/>Forum category: <a href="http://erma.wikidot.com/forum/c-51581">General / Help Requests</a><br/>Forum thread: <a href="http://erma.wikidot.com/forum/t-79686/problem-running-application-alongwith-erma-monitors">Problem running application alongwith ERMA monitors</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://erma.wikidot.com/forum/t-78087#post-235310</guid>
				<title>Re: Removal of Classes</title>
				<link>http://erma.wikidot.com/forum/t-78087/removal-of-classes#post-235310</link>
				<description></description>
				<pubDate>Wed, 06 Aug 2008 15:54:26 +0000</pubDate>
				<wikidot:authorName>smullins</wikidot:authorName>				<wikidot:authorUserId>150508</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Ok, I'm going to remove the EventPatternMonitorProcessor only. I'll refactor the xmlMonitorRenderer to not have hardcoded attribute names so its more flexible. Once that's done, I think we're good to release the first binary.</p> <br/>Forum category: <a href="http://erma.wikidot.com/forum/c-51582">General / Release</a><br/>Forum thread: <a href="http://erma.wikidot.com/forum/t-78087/removal-of-classes">Removal of Classes</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://erma.wikidot.com/forum/t-78087#post-234562</guid>
				<title>Re: Removal of Classes</title>
				<link>http://erma.wikidot.com/forum/t-78087/removal-of-classes#post-234562</link>
				<description></description>
				<pubDate>Tue, 05 Aug 2008 14:52:15 +0000</pubDate>
				<wikidot:authorName>dougbarth</wikidot:authorName>				<wikidot:authorUserId>127861</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I can buy that argument. Obviously, this MP would be a lot more useful if we had an open source EPM system. Since we don't, we might as well remove it.</p> <br/>Forum category: <a href="http://erma.wikidot.com/forum/c-51582">General / Release</a><br/>Forum thread: <a href="http://erma.wikidot.com/forum/t-78087/removal-of-classes">Removal of Classes</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://erma.wikidot.com/forum/t-78087#post-232651</guid>
				<title>Re: Removal of Classes</title>
				<link>http://erma.wikidot.com/forum/t-78087/removal-of-classes#post-232651</link>
				<description></description>
				<pubDate>Fri, 01 Aug 2008 19:17:28 +0000</pubDate>
				<wikidot:authorName>gopaczewski</wikidot:authorName>				<wikidot:authorUserId>150628</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>OK, can we compromise here by removing just the EventPatternMonitorProcessor? Even if we were to refactor this I don't see anyone else getting much value out of a processor that renders a monitor to xml and sticks it in a separate attribute of the same monitor. Orbitz can then extend the XmlMonitorRenderer internally with EPM app specific stuff.</p> <p>I think the general issue here isn't just whether code is "generic" enough, but whether we expect others to perceive value in something vs. it just having the appearance of cruft.</p> <br/>Forum category: <a href="http://erma.wikidot.com/forum/c-51582">General / Release</a><br/>Forum thread: <a href="http://erma.wikidot.com/forum/t-78087/removal-of-classes">Removal of Classes</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://erma.wikidot.com/forum/t-78087#post-232476</guid>
				<title>Re: Removal of Classes</title>
				<link>http://erma.wikidot.com/forum/t-78087/removal-of-classes#post-232476</link>
				<description></description>
				<pubDate>Fri, 01 Aug 2008 15:49:45 +0000</pubDate>
				<wikidot:authorName>dougbarth</wikidot:authorName>				<wikidot:authorUserId>127861</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Assuming those two attributes are always there is fine IMO. However, what they are initialized to, should change.</p> <p><em>hostname</em> can be initialized correctly in the MonitoringEngine so we might as well keep it. <em>vmid</em> should be defaulted to something sensical like "not set" and we should drop the initialization from Orbitz specific environment properties. That code initialization code can live in your codebase.</p> <p>I don't see any harm in keeping those attributes. The only case were they wouldn't be applicable would be in a non-distributed environment. But then, there's a lot of stuff in ERMA that could go away if we assumed we aren't distributed.</p> <br/>Forum category: <a href="http://erma.wikidot.com/forum/c-51582">General / Release</a><br/>Forum thread: <a href="http://erma.wikidot.com/forum/t-78087/removal-of-classes">Removal of Classes</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://erma.wikidot.com/forum/t-78087#post-232265</guid>
				<title>Re: Removal of Classes</title>
				<link>http://erma.wikidot.com/forum/t-78087/removal-of-classes#post-232265</link>
				<description></description>
				<pubDate>Fri, 01 Aug 2008 14:26:11 +0000</pubDate>
				<wikidot:authorName>smullins</wikidot:authorName>				<wikidot:authorUserId>150508</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>but should those be mandatory? I removed setting those attributes from the MonitoringEngine, so can we guarantee that everyone who uses erma would always use those attributes?</p> <br/>Forum category: <a href="http://erma.wikidot.com/forum/c-51582">General / Release</a><br/>Forum thread: <a href="http://erma.wikidot.com/forum/t-78087/removal-of-classes">Removal of Classes</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://erma.wikidot.com/forum/t-78087#post-231782</guid>
				<title>Re: Removal of Classes</title>
				<link>http://erma.wikidot.com/forum/t-78087/removal-of-classes#post-231782</link>
				<description></description>
				<pubDate>Fri, 01 Aug 2008 01:08:55 +0000</pubDate>
				<wikidot:authorName>mokeefe</wikidot:authorName>				<wikidot:authorUserId>128761</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>The "vmid" attribute is simply a name for the application, and "hostname" is the name of the machine that it is running on. How are those not generic? In the case where you are monitoring a distributed system, it is certainly always the case where you'd want to record those attributes in your events.</p> <br/>Forum category: <a href="http://erma.wikidot.com/forum/c-51582">General / Release</a><br/>Forum thread: <a href="http://erma.wikidot.com/forum/t-78087/removal-of-classes">Removal of Classes</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://erma.wikidot.com/forum/t-78087#post-231669</guid>
				<title>Re: Removal of Classes</title>
				<link>http://erma.wikidot.com/forum/t-78087/removal-of-classes#post-231669</link>
				<description></description>
				<pubDate>Thu, 31 Jul 2008 20:50:18 +0000</pubDate>
				<wikidot:authorName>Matthew Kemp</wikidot:authorName>				<wikidot:authorUserId>137749</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Relying on attributes like vmid and hostname is not very generic. The mandatory use of these is being removed from the MonitoringEngine.</p> <br/>Forum category: <a href="http://erma.wikidot.com/forum/c-51582">General / Release</a><br/>Forum thread: <a href="http://erma.wikidot.com/forum/t-78087/removal-of-classes">Removal of Classes</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://erma.wikidot.com/forum/t-78087#post-231628</guid>
				<title>Re: Removal of Classes</title>
				<link>http://erma.wikidot.com/forum/t-78087/removal-of-classes#post-231628</link>
				<description></description>
				<pubDate>Thu, 31 Jul 2008 19:54:34 +0000</pubDate>
				<wikidot:authorName>dougbarth</wikidot:authorName>				<wikidot:authorUserId>127861</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Am I missing something? These classes seem pretty generic to me.</p> <br/>Forum category: <a href="http://erma.wikidot.com/forum/c-51582">General / Release</a><br/>Forum thread: <a href="http://erma.wikidot.com/forum/t-78087/removal-of-classes">Removal of Classes</a>
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://erma.wikidot.com/forum/t-78087#post-231618</guid>
				<title>Removal of Classes</title>
				<link>http://erma.wikidot.com/forum/t-78087/removal-of-classes#post-231618</link>
				<description></description>
				<pubDate>Thu, 31 Jul 2008 19:45:53 +0000</pubDate>
				<wikidot:authorName>smullins</wikidot:authorName>				<wikidot:authorUserId>150508</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Here is the list Greg and I are proposing:</p> <ol> <li>EventPatternMonitorProcessor</li> <li>EventPatternMonitorRenderer</li> <li>EventPatternLoggingMonitorProcessor</li> <li>XmlMonitorRenderer</li> </ol> <p>These classes rely heavily on specific attributes that Orbitz uses.</p> <br/>Forum category: <a href="http://erma.wikidot.com/forum/c-51582">General / Release</a><br/>Forum thread: <a href="http://erma.wikidot.com/forum/t-78087/removal-of-classes">Removal of Classes</a>
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>