[jboss-jira] [JBoss JIRA] Updated: (JBAS-4736) -P circumvents the additional processing needed for some props
Raja (JIRA)
jira-events at lists.jboss.org
Tue Sep 25 02:00:41 EDT 2007
[ http://jira.jboss.com/jira/browse/JBAS-4736?page=all ]
Raja updated JBAS-4736:
-----------------------
Attachment: 4736.patch
Patch that removes the local scoped variable -- Patched against jboss_4_2_1_GA Tag.
> -P circumvents the additional processing needed for some props
> --------------------------------------------------------------
>
> Key: JBAS-4736
> URL: http://jira.jboss.com/jira/browse/JBAS-4736
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: JBossAS-4.2.0.GA
> Reporter: John Mazzitelli
> Attachments: 4736.patch
>
>
> org.jboss.Main does some special handling for some specific system properties (see JBAS-4181 for example).
> So, when -b is passed in for example, it does some special things for UDP/JGroups stuff.
> However, if I start JBossAS using the -P option (a properties file that sets things like jboss.bind.address and a bunch of other things), none of this special processing is done. From Main.java:
> case 'P':
> {
> // Set system properties from url/file
> URL url = makeURL(getopt.getOptarg());
> Properties props = System.getProperties();
> props.load(url.openConnection().getInputStream());
> break;
> }
> I think that case statement needs to do the things that the case '-b' does and that case 'u' does - based on what properties were loaded from that file.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list