Hide Forgot
Date of First Response: 2008-09-17 07:48:43 project_key: SOA When I run this QS for the first time I see folowing ERROR messages: 12:51:48,313 INFO [STDOUT] Message before transformation: 12:51:48,313 INFO [STDOUT] [<Policy type="COMPREHENSIVE" > <Driver name="Bill Smith" age="30" priorClaims="0" locationRiskProfile="LOW" /> </Policy> ]. 12:51:48,353 INFO [ContentDeliveryConfigBuilder] All configured XML Element Content Handler resource configurations can be applied using the SAX or DOM Stream Filter. Defaulting to DOM Filter. Set 'global-parameters:stream.filter.type'. Turn on debug logging for more info. 12:51:48,359 INFO [SetupMessage] Moved the transformed driver and policy 12:51:48,373 ERROR [STDERR] RuleAgent(insuranceconfig) INFO (Wed Sep 17 12:51:48 CEST 2008): Configuring with newInstance=true, secondsToRefresh=30 12:51:48,374 ERROR [STDERR] RuleAgent(insuranceconfig) INFO (Wed Sep 17 12:51:48 CEST 2008): Configuring package provider : FileScanner scanning: /home/jarek/Desktop/SOA-P-4.3.GA/soa-ir4/jboss-soa-p.4.3.0/jboss-as/samples/quickstarts/business_ruleservice_ruleAgent/ruleAgent/package/org.jboss.soa.esb.services.rules.pkg 12:51:48,451 ERROR [STDERR] RuleAgent(insuranceconfig) INFO (Wed Sep 17 12:51:48 CEST 2008): Applying changes to the rulebase. 12:51:48,452 ERROR [STDERR] RuleAgent(insuranceconfig) INFO (Wed Sep 17 12:51:48 CEST 2008): Creating a new rulebase as per settings. 12:51:48,452 ERROR [STDERR] RuleAgent(insuranceconfig) INFO (Wed Sep 17 12:51:48 CEST 2008): Adding package called org.jboss.soa.esb.services.rules 12:51:48,478 INFO [STDOUT] Safe adult - pay 120 12:51:48,478 INFO [STDOUT] { ================ Sent notification: 12:51:48,479 INFO [STDOUT] Name: Bill Smith 12:51:48,479 INFO [STDOUT] Policy Price: 120 12:51:48,479 INFO [STDOUT] } ================ Sent notification: This happens on SOA-P IR4 embedded.
Link: Added: This issue depends JBESB-2048
Moreover there is an unused empty directory "processDefinition"
This is probably due to that ruleAgent/brmsdeployedrules-unfiltered.properties is not getting filtered when 'ant run' is executed. Adding : <target name="config" depends="dependencies,quickstart-specific-assemblies"/> will make the filtering be performed for the 'run' target as well.
I'm afraid this won't help. Filtering happens when deploying the esb archive. These ERROR messages go away when running the test again. They are there just for the first time.
Link: Removed: This issue depends JBESB-2048
I believe Daniel has address SOA-799 and not this one. JBESB-2048 is not related to this issue and I have removed it from the links.
Yeah sorry, my comment was not related to this issue actually. So is the issue here these statements: 12:51:48,373 ERROR [STDERR] RuleAgent(insuranceconfig) INFO (Wed Sep 17 12:51:48 CEST 2008): Configuring with newInstance=true, secondsToRefresh=30 12:51:48,374 ERROR [STDERR] RuleAgent(insuranceconfig) INFO (Wed Sep 17 12:51:48 CEST 2008): Configuring package provider : FileScanner scanning: /home/jarek/Desktop/SOA-P-4.3.GA/soa-ir4/jboss-soa-p.4.3.0/jboss-as/samples/quickstarts/business_ruleservice_ruleAgent/ruleAgent/package/org.jboss.soa.esb.services.rules.pkg 12:51:48,451 ERROR [STDERR] RuleAgent(insuranceconfig) INFO (Wed Sep 17 12:51:48 CEST 2008): Applying changes to the rulebase. 12:51:48,452 ERROR [STDERR] RuleAgent(insuranceconfig) INFO (Wed Sep 17 12:51:48 CEST 2008): Creating a new rulebase as per settings. 12:51:48,452 ERROR [STDERR] RuleAgent(insuranceconfig) INFO (Wed Sep 17 12:51:48 CEST 2008): Adding package called org.jboss.soa.esb.services.rules This is logged from RuleAgent class in Drools as we are not specifying a AgentEventListener, and default that will be used prints to System.err. We can fix this by adding AgentEventListener that delegates to log4j. This might be configurable in Drools though but I'm not sure if it is.
Link: Added: This issue is a dependency of JBESB-2050
Let me to add that there is one more problem 12:19:37,061 WARN [BeanInstanceCreator] The setOn parameter is deprecated. It is possible that it will be removed in the next major release. It is better to use the bean binding method (bean binding = binding with a ${beanId} selector notation). This warning is only given once. The example uses obsolete Smooks configuration
Link: Added: This issue is a dependency of JBESB-2402
added to 4.3.CP02 release notes as resolved: JBESB-2402 - The RuleAgent class now uses log4j for its messages instead of sending them to System.err.
The errors are resolved - I'll open a new JIRA for the warning: 2009-08-27 16:08:42,533 INFO [org.jboss.soa.esb.listeners.config.JBoss4ESBDeployer] create esb service, Quickstart_business_ruleservice_ruleAgent.esb 2009-08-27 16:08:42,542 INFO [org.jboss.jms.server.destination.QueueService] Queue[/queue/quickstart_Business_Rules_RuleAgent_Request_GW] started, fullSize=200000, pageSize=2000, downCacheSize=2000 2009-08-27 16:08:42,544 INFO [org.jboss.jms.server.destination.QueueService] Queue[/queue/quickstart_Business_Rules_RuleAgent_Request_ESB] started, fullSize=200000, pageSize=2000, downCacheSize=2000 2009-08-27 16:08:42,546 INFO [org.jboss.jms.server.destination.QueueService] Queue[/queue/quickstart_Business_Rules_RuleAgent_Notify] started, fullSize=200000, pageSize=2000, downCacheSize=2000 2009-08-27 16:08:42,588 INFO [org.milyn.util.ClassUtil] Loaded 4 classes from 2 URLs through class list file META-INF/content-handlers.inf. Process took 2ms. Turn on debug logging for more info. 2009-08-27 16:09:12,968 INFO [STDOUT] Message before transformation: 2009-08-27 16:09:12,968 INFO [STDOUT] [<Policy type="COMPREHENSIVE" > <Driver name="Bill Smith" age="30" priorClaims="0" locationRiskProfile="LOW" /> </Policy> ]. 2009-08-27 16:09:12,994 WARN [org.milyn.javabean.BeanInstanceCreator] The setOn parameter is deprecated. It is possible that it will be removed in the next major release. It is better to use the bean binding method (bean binding = binding with a ${beanId} selector notation). This warning is only given once. 2009-08-27 16:09:13,002 INFO [org.milyn.delivery.ContentDeliveryConfigBuilder] All configured XML Element Content Handler resource configurations can be applied using the SAX or DOM Stream Filter. Defaulting to DOM Filter. Set 'global-parameters:stream.filter.type'. Turn on debug logging for more info. 2009-08-27 16:09:13,015 INFO [org.jboss.soa.esb.samples.quickstart.ruleagent.businessrules.SetupMessage] Moved the transformed driver and policy 2009-08-27 16:09:13,038 INFO [org.jboss.internal.soa.esb.services.rules.LogAgentEventListener] AgentName = 'insuranceconfig' Configuring with newInstance=true, secondsToRefresh=30 2009-08-27 16:09:13,038 INFO [org.jboss.internal.soa.esb.services.rules.LogAgentEventListener] AgentName = 'insuranceconfig' Configuring package provider : FileScanner scanning: /jboss/local/43_CP02_CR2/jboss-soa-p.4.3.0/jboss-as/samples/quickstarts/business_ruleservice_ruleAgent/ruleAgent/package/org.jboss.soa.esb.services.rules.pkg 2009-08-27 16:09:13,085 INFO [org.jboss.internal.soa.esb.services.rules.LogAgentEventListener] AgentName = 'insuranceconfig' Applying changes to the rulebase. 2009-08-27 16:09:13,085 INFO [org.jboss.internal.soa.esb.services.rules.LogAgentEventListener] AgentName = 'insuranceconfig' Creating a new rulebase as per settings. 2009-08-27 16:09:13,085 INFO [org.jboss.internal.soa.esb.services.rules.LogAgentEventListener] AgentName = 'insuranceconfig' Adding package called org.jboss.soa.esb.services.rules 2009-08-27 16:09:13,102 INFO [STDOUT] Safe adult - pay 120 2009-08-27 16:09:13,102 INFO [STDOUT] { ================ Sent notification: 2009-08-27 16:09:13,102 INFO [STDOUT] Name: Bill Smith 2009-08-27 16:09:13,102 INFO [STDOUT] Policy Price: 120 2009-08-27 16:09:13,102 INFO [STDOUT] } ================ Sent notification: [ldimaggi@ldimaggi log]$
Link: Added: This issue related SOA-1468