Bug 778271 (SOA-770) - load_generator quickstart displays WARNINGs
Summary: load_generator quickstart displays WARNINGs
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-770
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: JBossESB, Examples
Version: 4.3 IR4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.3 CR1
Assignee: Mark Little
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-10 16:10 UTC by Len DiMaggio
Modified: 2008-10-15 14:59 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
SOA-P IR4
Last Closed: 2008-10-15 14:59:15 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-770 0 None None None Never

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



Note You need to log in before you can comment on or make changes to this bug.