Help with Drools JON/RHQ plugin
Alan Santos
asantos at redhat.com
Fri Jul 15 11:58:31 UTC 2011
OOC - I assume EMS remains for historic reasons? Is there any reason it's still necessary with contemporary JDKs?
On Jul 14, 2011, at 3:31 PM, John Mazzitelli wrote:
> I don't have any clue why that would happen. Put a break point in your
> MBean code itself and see if you even get into your drools code. If you
> do, then I don't know.
>
> If you don't, the problem is probably in the EMS code that is used to
> invoke the operation of the JMX protocol. You might need to debug into
> the JMX plugin code or the EMS code if that is the case.
>
>
> On 07/14/2011 10:34 AM, Edson Tirelli wrote:
>>
>> John,
>>
>> Final problem with the Drools plugin for RHQ: operations. I added operations to the plugin descriptor as you can see here:
>>
>> https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/drools-rhq-plugin/src/main/resources/META-INF/rhq-plugin.xml
>>
>> Now, when I execute operations with parameters using jconsole, it works fine. See attached screenshot. When I try to execute the same operation with RHQ, with the same parameter, I get a NPException.
>>
>> The NPE seems to happen on the drools MBean code, but I don't see how calling an operation from jconsole is different from calling an operation from RHQ? Any pointers?
>>
>> Thanks
>> Edson
> _______________________________________________
> rhq-devel mailing list
> rhq-devel at lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/rhq-devel
Alan Santos
JBoss Product Manager
617.818.7735
alan.santos at redhat.com
More information about the rhq-devel
mailing list