[JBoss JIRA] Resolved: (JBAS-1955) XMBean Interceptor for InvokerAdaptorService to deal with NonSerializableExceptions
by Magesh Kumar B (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-1955?page=all ]
Magesh Kumar B resolved JBAS-1955.
----------------------------------
Fix Version/s: JBossAS-4.2.0.GA
JBossAS-4.0.5.SP1
(was: JBossAS-4.2.0.CR1)
Resolution: Done
Fixed and available in their respective branches
Branch_4_0
Branch_4_2
trunk
> XMBean Interceptor for InvokerAdaptorService to deal with NonSerializableExceptions
> -----------------------------------------------------------------------------------
>
> Key: JBAS-1955
> URL: http://jira.jboss.com/jira/browse/JBAS-1955
> Project: JBoss Application Server
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Management services
> Affects Versions: JBossAS-4.0.2 Final
> Environment: jmx, twiddle
> Reporter: Fabiano C. de Oliveira
> Assigned To: Magesh Kumar B
> Fix For: JBossAS-5.0.0.Beta2, JBossAS-4.2.0.GA, JBossAS-4.0.5.SP1
>
> Attachments: JBAS-1955a.zip
>
> Time Spent: 3 days, 3 hours
> Remaining Estimate: 0 minutes
>
> This patch add a Interceptor to org.jboss.jmx.connector.invoker.InvokerAdaptorService besides AuthenticationInterceptor that is responsable for prevent remote clients to launch NonSerializable exception.
> The interception have 3 types of action: Invisible, Null and Wrapper.
> In the Invisible mode all NonSerializable fields are ignored so if you call getMBeanInfo all NonSerializable will be remove and returned to your remote client(twiddle, MC4J, etc). This mode is more tested so it is recommended.
> In the null mode NonSerializable fields are visible but always return Null.
> The wraper mode is not implemented, but the idea is replace the NonSerializable Class for another
> The interceptor is only a class. The tests are in the patch too. Only test for invisible mode. I´m still doing tests for the other modes.
> Any idea is very appreciated. I dont have sufficient time to work more in this code. But I hope to do soon.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months
[JBoss JIRA] Commented: (JBAS-1955) XMBean Interceptor for InvokerAdaptorService to deal with NonSerializableExceptions
by Magesh Kumar B (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-1955?page=comments#action_12358653 ]
Magesh Kumar B commented on JBAS-1955:
--------------------------------------
Most of Fabiano C. de Oliveira's code helped again. Kudos for his work and our bad that we did not implement his complete works!
> XMBean Interceptor for InvokerAdaptorService to deal with NonSerializableExceptions
> -----------------------------------------------------------------------------------
>
> Key: JBAS-1955
> URL: http://jira.jboss.com/jira/browse/JBAS-1955
> Project: JBoss Application Server
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Management services
> Affects Versions: JBossAS-4.0.2 Final
> Environment: jmx, twiddle
> Reporter: Fabiano C. de Oliveira
> Assigned To: Magesh Kumar B
> Fix For: JBossAS-4.2.0.CR1, JBossAS-5.0.0.Beta2
>
> Attachments: JBAS-1955a.zip
>
> Time Spent: 3 days
> Remaining Estimate: 0 minutes
>
> This patch add a Interceptor to org.jboss.jmx.connector.invoker.InvokerAdaptorService besides AuthenticationInterceptor that is responsable for prevent remote clients to launch NonSerializable exception.
> The interception have 3 types of action: Invisible, Null and Wrapper.
> In the Invisible mode all NonSerializable fields are ignored so if you call getMBeanInfo all NonSerializable will be remove and returned to your remote client(twiddle, MC4J, etc). This mode is more tested so it is recommended.
> In the null mode NonSerializable fields are visible but always return Null.
> The wraper mode is not implemented, but the idea is replace the NonSerializable Class for another
> The interceptor is only a class. The tests are in the patch too. Only test for invisible mode. I´m still doing tests for the other modes.
> Any idea is very appreciated. I dont have sufficient time to work more in this code. But I hope to do soon.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months
[JBoss JIRA] Reopened: (JBAS-1955) XMBean Interceptor for InvokerAdaptorService to deal with NonSerializableExceptions
by Magesh Kumar B (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-1955?page=all ]
Magesh Kumar B reopened JBAS-1955:
----------------------------------
Assignee: Magesh Kumar B (was: Dimitris Andreadis)
It seems that when you run twiddle, the getAttributes method is called and the NotSerializableException still exists.
> XMBean Interceptor for InvokerAdaptorService to deal with NonSerializableExceptions
> -----------------------------------------------------------------------------------
>
> Key: JBAS-1955
> URL: http://jira.jboss.com/jira/browse/JBAS-1955
> Project: JBoss Application Server
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Management services
> Affects Versions: JBossAS-4.0.2 Final
> Environment: jmx, twiddle
> Reporter: Fabiano C. de Oliveira
> Assigned To: Magesh Kumar B
> Fix For: JBossAS-4.2.0.CR1, JBossAS-5.0.0.Beta2
>
> Attachments: JBAS-1955a.zip
>
>
> This patch add a Interceptor to org.jboss.jmx.connector.invoker.InvokerAdaptorService besides AuthenticationInterceptor that is responsable for prevent remote clients to launch NonSerializable exception.
> The interception have 3 types of action: Invisible, Null and Wrapper.
> In the Invisible mode all NonSerializable fields are ignored so if you call getMBeanInfo all NonSerializable will be remove and returned to your remote client(twiddle, MC4J, etc). This mode is more tested so it is recommended.
> In the null mode NonSerializable fields are visible but always return Null.
> The wraper mode is not implemented, but the idea is replace the NonSerializable Class for another
> The interceptor is only a class. The tests are in the patch too. Only test for invisible mode. I´m still doing tests for the other modes.
> Any idea is very appreciated. I dont have sufficient time to work more in this code. But I hope to do soon.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months
[JBoss JIRA] Created: (JBRULES-780) no-loop results in NullPointer in RuleTerminalNode.retractTuple
by Mark Proctor (JIRA)
no-loop results in NullPointer in RuleTerminalNode.retractTuple
---------------------------------------------------------------
Key: JBRULES-780
URL: http://jira.jboss.com/jira/browse/JBRULES-780
Project: JBoss Rules
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Reteoo
Affects Versions: 3.1-m1
Reporter: Mark Proctor
Assigned To: Mark Proctor
Fix For: 3.1-m2
no-loop is currently trapped with:
// if the current Rule is no-loop and the origin rule is the same then return
if ( this.rule.getNoLoop() && this.rule.equals( context.getRuleOrigin() ) ) {
return;
}
That means we have a tuple that reached the terminal node, but is not added to the memory or an activation created and attached. Thus on a modify or a retract the Tuple reaches the RuleTerminalNode and causes a Null pointer. The Q is, do we just do a null check and return, or do we do another no-loop check, my worry with just a null check is that it may mask other bugs.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months