mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

al_xipe
07.29.2007 33d5216d9278652dba6cfa036b42c2ea23087c3b
fix for issue 1208. Specify jvm arg org.opends.server.scriptName to avoid throwing exception access control when writing configuration file
1 files modified
15 ■■■■■ changed files
opendj-sdk/opends/tests/installer.xml 15 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/tests/installer.xml
@@ -106,12 +106,14 @@
    <!-- end of uninstall related targets -->
    
    <!-- configuration -->
  <target name="configure.do"
          description="configures product to listen on the right port number"
                    if="product.installed" >
    <echo message="basedir=[${basedir}]" />
        <echo message="configuring ${product.name} ${product.version}..." />
    <java classname="org.opends.server.tools.ConfigureDS">
    <java fork="true" classname="org.opends.server.tools.ConfigureDS">
      <!-- building the classpath to run the configurator -->
      <classpath>
        <fileset dir="${full.install.dir}/lib">
@@ -120,11 +122,12 @@
      </classpath>
      
      <!-- provide the arguments here -->
      <arg value="--configClass" />
      <arg value="org.opends.server.extensions.ConfigFileHandler"  />
      <arg value="--configFile" />
      <arg value="${full.install.dir}/config/config.ldif"       />
      <arg line="-p ${port.ldap}" />
      <jvmarg value="-Dorg.opends.server.scriptName=configure-ds"/>
      <arg value="--configClass"/>
      <arg value="org.opends.server.extensions.ConfigFileHandler"/>
      <arg value="--configFile"/>
      <arg value="${full.install.dir}/config/config.ldif"/>
      <arg line="-p ${port.ldap}"/>
      <arg value="-D"/>
      <arg value="${bind.dn}"/>
      <arg value="-w"/>