You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by ji...@apache.org on 2004/04/17 19:07:34 UTC
[jira] Updated: (CACTUS-99) System Property not set when passed in as
The following issue has been updated:
Updater: Vincent Massol (mailto:vmassol@apache.org)
Date: Sat, 17 Apr 2004 10:07 AM
Changes:
Fix Version changed to 1.7
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/CACTUS-99?page=history
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/CACTUS-99
Here is an overview of the issue:
---------------------------------------------------------------------
Key: CACTUS-99
Summary: System Property not set when passed in as <jvmarg>
Type: Bug
Status: Open
Project: Cactus
Components:
Framework
Fix Fors:
1.7
Versions:
1.5
Assignee: Cactus Developers Mailing List
Reporter: Aaron
Created: Wed, 17 Mar 2004 6:04 AM
Updated: Sat, 17 Apr 2004 10:07 AM
Environment: Operating System: Windows XP
Platform: PC
Description:
Passing in a jvmarg as a nested element inside the cactus ant task i.e.:
<cactus warfile= ...>
<jvmarg value="-Dfoo=bar"/>
....
</cactus>
The Ant task passes it to the runtime:
[cactus] Executing 'C:\j2sdk1.4.1_01\jre\bin\java.exe' with arguments:
[cactus] '-Dfoo=bar'
[cactus] '-Dcactus.filterRedirectorName=FilterRedirector'
[cactus] '-Dcactus.servletRedirectorName=ServletRedirector'
[cactus] '-Dcactus.contextURL=http://localhost:8081/prototype-test'
But, a System.getProperty(foo); in a test that extends ServletTestCase returns
null. I also notice that when enumerating through the system properties in my
test case, both cactus.filterRedirectorName and cactus.servletRedirectorName
no longer are set.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org