Bug 778271 (SOA-770)

Summary: load_generator quickstart displays WARNINGs
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Len DiMaggio <ldimaggi>
Component: JBossESB, ExamplesAssignee: Mark Little <mark.little>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.3 IR4   
Target Milestone: ---   
Target Release: 4.3 CR1   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-770
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
SOA-P IR4
Last Closed: 2008-10-15 14:59:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Len DiMaggio 2008-09-10 16:10:03 UTC
project_key: SOA

Julian mentioned this during the SOA-729/730 discussion.

The load_generator quickstart displays these WARNING messages:

     [java] log4j:WARN No appenders could be found for logger (org.jboss.security.SecurityAssociation).
     [java] log4j:WARN Please initialize the log4j system properly.
     [java] log4j:WARN No appenders could be found for logger (org.jboss.remoting.transport.socket.MicroSocketClientInvoker).
     [java] log4j:WARN Please initialize the log4j system properly.

There's no functional impact - but they are distracting - the problem is that the log4j.xml file is not in the classpath.

Comment 1 Len DiMaggio 2008-09-10 16:11:28 UTC
Link: Added: This issue is a dependency of JBESB-2016


Comment 2 Len DiMaggio 2008-09-15 01:36:52 UTC
Proposed resolution - add this to the build.xml file - to copy log4j.xml to load_generator_classes dir:

37a38,40
>                         <fileset dir="${basedir}">
>                                 <include name="log4j.xml" />
>                         </fileset>



Comment 3 Len DiMaggio 2008-10-15 14:59:15 UTC
Verified fixed in CR1

compile-churn:
    [mkdir] Created dir: /opt/43_CR1/jboss-soa-p-standalone.4.3.0/jboss-esb/samples/quickstarts/load_generator/load_generator_classes
     [copy] Copying 4 files to /opt/43_CR1/jboss-soa-p-standalone.4.3.0/jboss-esb/samples/quickstarts/load_generator/load_generator_classes
  [groovyc] Compiling 3 source files to /opt/43_CR1/jboss-soa-p-standalone.4.3.0/jboss-esb/samples/quickstarts/load_generator/load_generator_classes

load-agent:
     [java] Starting JMS Load Agent as a daemon thread

load-report-secure:
     [java] USER=admin PASSWORD=admin
     [java] ######Service Stats######
     [java] Svc: DummyJMSLoad, TPS: 18.0, AVG TPS: 18.0, Duration: 0.1107833333
     [java] Svc: DummyJMSLoad2, TPS: 16.0, AVG TPS: 16.0, Duration: 0.1309333333
     [java] ######Queue Stats######
     [java] Queue: jboss.esb.quickstart.destination:service=Queue,name=quickstart_load_generator_Request_esb, Factor: 0.0, Factor AVG: 0.0, Duration: 0.0645166667
     [java] Queue: jboss.esb.quickstart.destination:service=Queue,name=quickstart_load_generator_Request_esb2, Factor: 0.0, Factor AVG: 0.0, Duration: 0.0876333333

runtest-secure:

BUILD SUCCESSFUL
Total time: 22 seconds