[esb-issues] [JBoss JIRA] Reopened: (JBESB-704) business_rules_service QS does not function properly after redeployment

Kevin Conner (JIRA) jira-events at lists.jboss.org
Mon Sep 24 12:52:42 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBESB-704?page=all ]

Kevin Conner reopened JBESB-704:
--------------------------------

      Assignee: Kevin Conner  (was: Kurt Stam)
             
This issue still exists in the codebase.

The problem occurs because the JBossRulesRouter code has a global cache of the Rule Bases and these rule bases include generated code (ShadowProxy) which extend and reference the QS DTOs.

When the QS is redeployed the DTOs are reloaded with a different classloader and these classes are no longer assignable to the generated code.

> business_rules_service QS does not function properly after redeployment
> -----------------------------------------------------------------------
>
>                 Key: JBESB-704
>                 URL: http://jira.jboss.com/jira/browse/JBESB-704
>             Project: JBoss ESB
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Content Based Routing
>    Affects Versions: 4.2 Milestone Release 3
>            Reporter: Kevin Conner
>         Assigned To: Kevin Conner
>             Fix For: 4.2.1 IR1
>
>
> The business_rules_service does not function correctly after a redeployment.
> The first time the QS is executed you will receive output similar to the following
> 10:31:12,355 INFO  [STDOUT] Customer Status: 60
> 10:31:12,355 INFO  [STDOUT] Order Total: 44.92
> 10:31:12,355 INFO  [STDOUT] { ================ After Order Priority
> 10:31:12,356 INFO  [STDOUT] Customer: user1,Harry,Fletcher,SD,60
> 10:31:12,356 INFO  [STDOUT] Order Priority: 1
> 10:31:12,356 INFO  [STDOUT] Order Discount: 0.0
> 10:31:12,356 INFO  [STDOUT] Order Total: 44.92
> 10:31:12,356 INFO  [STDOUT] } ================ After Order Priority
> 10:31:12,357 INFO  [STDOUT] Customer Status: 60
> 10:31:12,358 INFO  [STDOUT] Order Total: 44.92
> 10:31:12,358 INFO  [STDOUT] { ================ After Order Discount
> 10:31:12,358 INFO  [STDOUT] Customer: user1,Harry,Fletcher,SD,60
> 10:31:12,358 INFO  [STDOUT] Order Priority: 1
> 10:31:12,358 INFO  [STDOUT] Order Discount: 0.0
> 10:31:12,358 INFO  [STDOUT] Order Total: 44.92
> 10:31:12,358 INFO  [STDOUT] } ================ After Order Discount
> 10:31:12,360 INFO  [STDOUT] Low Priority
> 10:31:12,426 INFO  [STDOUT] { ================ Shipping
> 10:31:12,426 INFO  [STDOUT] Customer: user1,Harry,Fletcher,SD,60
> 10:31:12,426 INFO  [STDOUT] Order Priority: 1
> 10:31:12,426 INFO  [STDOUT] Order Discount: 0.0
> 10:31:12,426 INFO  [STDOUT] Order Total: 44.92
> 10:31:12,427 INFO  [STDOUT] } ================ Shipping
> If you then redeploy the QS the output changes to the following
> 10:32:06,353 INFO  [STDOUT] { ================ After Order Priority
> 10:32:06,354 INFO  [STDOUT] Customer: user1,Harry,Fletcher,SD,60
> 10:32:06,354 INFO  [STDOUT] Order Priority: 1
> 10:32:06,354 INFO  [STDOUT] Order Discount: 0.0
> 10:32:06,354 INFO  [STDOUT] Order Total: 44.92
> 10:32:06,354 INFO  [STDOUT] } ================ After Order Priority
> 10:32:06,356 INFO  [STDOUT] { ================ After Order Discount
> 10:32:06,356 INFO  [STDOUT] Customer: user1,Harry,Fletcher,SD,60
> 10:32:06,356 INFO  [STDOUT] Order Priority: 1
> 10:32:06,356 INFO  [STDOUT] Order Discount: 0.0
> 10:32:06,357 INFO  [STDOUT] Order Total: 44.92
> 10:32:06,357 INFO  [STDOUT] } ================ After Order Discount
> This appears to be the output from the ReviewMessage actions.

-- 
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

        



More information about the esb-issues mailing list