You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org> on 2009/09/22 14:56:16 UTC

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

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.3, 1.5.4, 1.5.5
            Reporter: Pierre-Arnaud Marcelot
            Assignee: Pierre-Arnaud Marcelot
            Priority: Blocker


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.


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

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-1411:
-----------------------------------------

    Fix Version/s: 2.0.0-RC1

Let's fix that in 2.0.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.


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

Posted by "Kiran Ayyagari (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kiran Ayyagari reassigned DIRSERVER-1411:
-----------------------------------------

    Assignee: Kiran Ayyagari  (was: Pierre-Arnaud Marcelot)

> 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: Kiran Ayyagari
>            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.


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

Posted by "Kiran Ayyagari (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kiran Ayyagari closed DIRSERVER-1411.
-------------------------------------


> 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: Kiran Ayyagari
>            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.


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

Posted by "Kiran Ayyagari (JIRA)" <ji...@apache.org>.
     [ 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.