You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2013/01/24 16:47:13 UTC
[jira] [Resolved] (QPID-4281) Java tests logging broken because
log4j.configuration is not a valid URL
[ https://issues.apache.org/jira/browse/QPID-4281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Rudyy resolved QPID-4281.
------------------------------
Resolution: Fixed
Phil,
I committed a modified version of your original patch in revision https://svn.apache.org/repos/asf/qpid/trunk@1438053.
I had to add a synchronized block into code starting the external broker in order to avoid adding into QPID_OPTS of JVM properties "test.virtualhosts" and "test.config" set by a concurrent start-up process. Otherwise, test HAClusterTwoNodeTest#testClusterRestartWithoutDesignatedPrimary was failing.
> Java tests logging broken because log4j.configuration is not a valid URL
> ------------------------------------------------------------------------
>
> Key: QPID-4281
> URL: https://issues.apache.org/jira/browse/QPID-4281
> Project: Qpid
> Issue Type: Bug
> Components: Java Tests
> Affects Versions: 0.18
> Reporter: Philip Harvey
> Assignee: Alex Rudyy
> Priority: Minor
> Fix For: 0.21
>
> Attachments: 0001-QPID-4281-Fix-setting-of-log4j-configuration-in-syst.patch, 0001-QPID-4281-Fix-setting-of-log4j-configuration-in-syst.patch
>
>
> A change was made to the log4j configuration used by our unit tests in QPID-4109, such that the log4j.configuration system property that is effective in our unit tests is "test-profiles/log4j-test.xml" rather than "file:///path/to/log4j-test.xml".
> This breaks our unit test logging configuration because Log4J requires that this system property is a valid URL.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org