You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org> on 2008/05/26 20:01:55 UTC
[jira] Assigned: (QPID-968) runSamples script uses incorrect
log4j.xml file location
[ https://issues.apache.org/jira/browse/QPID-968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rajith Attapattu reassigned QPID-968:
-------------------------------------
Assignee: Rajith Attapattu
> runSamples script uses incorrect log4j.xml file location
> --------------------------------------------------------
>
> Key: QPID-968
> URL: https://issues.apache.org/jira/browse/QPID-968
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Environment: Ubuntu 7.10, JDK 1.5.0_09
> Reporter: Suran Jayathilaka
> Assignee: Rajith Attapattu
> Priority: Minor
> Attachments: runSample.patch.txt, runSample_README.patch.txt
>
>
> The runSamples.sh script in the $QPID_SRC_HOME/java/client/example/src/main/java folder uses a default value of
> "/usr/share/doc/rhm-0.2"
> for the QPID_SAMPLE variable. Also, VM parameter for log4j config file is set as
> QPID_PARAM="$QPID_PARAM -Dlog4j.configuration=file://$QPID_SAMPLE/java/log4j.xml". (line 46)
> This causes the sample classes to throw an exception
> log4j:ERROR Could not parse url [file:/usr/share/doc/rhm-0.2/java/log4j.xml].
> java.io.FileNotFoundException: /usr/share/doc/rhm-0.2/java/log4j.xml (No such file or directory)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
> at java.io.FileInputStream.<init>(FileInputStream.java:66)
> at...........
> This log4j config file should be set to be read from the same folder as runSample.sh or $QPID_HOME/etc IMHO.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.