-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey,

On 23/05/13 16:55, Benjamin Reed wrote:
> On 5/23/13 10:52 AM, Simon Walter wrote:
>> Hey there,
>> 
>> will looking at NMS-5874 a stacktrace showed the following
>> class: org.opennms.protocols.rt.RequestTracker
>> 
>> After some digging (yes a searchengine for t3h internet was
>> involved ...) we stumbled on the following repo containing this
>> class: https://github.com/OpenNMS/org-opennms
>> 
>> Is there a reason this sourcecode is not part of the main onms
>> repo?
> 
> That is part of an aborted attempt to pull some core modules out of
> the OpenNMS codebase.  The latest version of that class is actually
> back in the main OpenNMS source tree, in features/request-tracker.

Ah, nope. That doesn't look right to me.

org.opennms.netmgt.rt.RequestTracker looks like a class to
create/monitor tickets/issues in ticketsystems using http. (no javadoc
here)

org.opennms.protocols.rt.RequestTracker on the other hand is some kind
of asynchronos, threaded request mechanism and it's used to ping hosts.

here is the stacktrace:

2013-05-11 19:44:14,252 INFO [JNI-ICMP-57-Timeout-Processor]
SinglePingResponseCallback: an error occurred pinging /192.168.30.149
java.lang.ArrayIndexOutOfBoundsException: 8
org.opennms.protocols.icmp.ICMPEchoPacket.storeToBuffer(ICMPEchoPacket.java:419)
org.opennms.protocols.icmp.ICMPEchoPacket.toBytes(ICMPEchoPacket.java:432)
org.opennms.netmgt.icmp.jni.JniPingRequest.send(JniPingRequest.java:255)
org.opennms.netmgt.icmp.jni.JniIcmpMessenger.sendRequest(JniIcmpMessenger.java:95)
org.opennms.netmgt.icmp.jni.JniIcmpMessenger.sendRequest(JniIcmpMessenger.java:46)
org.opennms.protocols.rt.RequestTracker.sendRequest(RequestTracker.java:203)
org.opennms.protocols.rt.RequestTracker.processNextTimeout(RequestTracker.java:273)
org.opennms.protocols.rt.RequestTracker.processTimeouts(RequestTracker.java:249)
org.opennms.protocols.rt.RequestTracker.access$3(RequestTracker.java:245)
org.opennms.protocols.rt.RequestTracker$2.run(RequestTracker.java:163)

icmp jni has a dependency on org.opennms.lib.tracker.
here is the dependency tree:

[INFO] org.opennms:opennms-icmp-jni:bundle:1.13.0-SNAPSHOT
[INFO] +- org.opennms:opennms-icmp-api:jar:1.13.0-SNAPSHOT:compile
[INFO] |  \-
org.opennms.dependencies:tracker-dependencies:pom:1.13.0-SNAPSHOT:compile
[INFO] |     \- org.opennms.lib:org.opennms.lib.tracker:jar:0.6:compile

sometimes maven is a bitch ;)

- --
Regards
Simon

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRnp5ZAAoJEL8uhqS1MuWQUNMIAMLbpJw6CxmrZzzSN7bA9z40
sy7DYjYY1uQUCQqj6BXF5dGdIFymJyiHz9wCK/Rj7n6SrG4vEuCeT0SuVygsp2MO
H1dwrDN6pBaJZrSJ8uS1/WlFolCX9UY5uK+MrrIG726LY4ESvUgh3Zid372wLy0c
BWhq500i88ysjKpAMDTj60DpJc83MTBK5M7zxRD+8IwFZh1jm4+ThJuBJ9Q6zg26
sjA1ez/2eq4qN97A5k70qabdjw36XhO13gMACYlAjc72ZMAKwmzQU9ZsCwbSBaku
65UIGnQhSoGHy1BxN6IWP3VO8ggRsOoeJV11QC68dg2KqpweSsTt/eOFXs0YgS4=
=nEJC
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to