]
Kurt Stam commented on JBESB-704:
---------------------------------
It's gotten worse with drools 4.0.0. GA.
If I redeploy just the Quickstart_business_rules_service.esb I get
13:17:02,453 WARN [ActionProcessingPipeline] Unexpected exception caught while processing
the action pipeline
java.lang.ClassCastException: org.jboss.soa.esb.dvdstore.OrderHeaderShadowProxy
at
org.drools.base.org.jboss.soa.esb.dvdstore.OrderHeader$getTotalAmount.getDoubleValue(Unknown
Source)
at org.drools.base.ClassFieldExtractor.getDoubleValue(ClassFieldExtractor.java:140)
So Drools still sees the business classes from before the redeploy. Redeploying
jbrules.esb does not fix things. Reploying jbossesb.sar does.
I'm not sure yet if this is a class loader issue on our part, or if this is a drools
issue. I tried removing all the 'static' code in the jbossrulesrouter, and to make
the session stateless, but this does not change the situation.
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: Kurt Stam
Fix For: 4.2.1
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: