You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Kiran Ayyagari (JIRA)" <ji...@apache.org> on 2010/05/26 18:46:38 UTC

[jira] Resolved: (DIRSERVER-1411) Server is launched with default values while passing a folder to the UberJarMain class

     [ https://issues.apache.org/jira/browse/DIRSERVER-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kiran Ayyagari resolved DIRSERVER-1411.
---------------------------------------

    Resolution: Won't Fix

server.xml is no longer valid for the code after 1.5.7 version.
However now the real case behind this issue, i.e taking a different config based on the directory path passed on the command line
options has already been taken care of, please reopen if the same issue occurs in 2.0-RC1.

> Server is launched with default values while passing a folder to the UberJarMain class
> --------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1411
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1411
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.5, 1.5.4, 1.5.3
>            Reporter: Pierre-Arnaud Marcelot
>            Assignee: Pierre-Arnaud Marcelot
>            Priority: Blocker
>             Fix For: 2.0.0-RC1
>
>
> Server is launched with default values while passing a folder to the UberJarMain class.
> It should be using the server.xml in the 'conf' folder of the given location.
> This issue is due to this line:
> String confFile = layout.getConfigurationFile().toURI().toURL().toString();
> It should be replaced as:
> String confFile = layout.getConfigurationFile().getAbsolutePath();

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.