Uploaded image for project: 'appNG'
  1. appNG
  2. APPNG-2187

appNGizer can't resolve location for AppNGizerConfigurer

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.18.0
    • Component/s: appng-appngizer
    • Labels:
      None
    • Environment:

      Windows

      Description

      fails with
      org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.net.UnknownHostException: C

      when ${APPNG_HOME} is a path like C:/path/to/appng

      Therefore, appNGizer-servlet.xml should use

      	<bean id="configurer" class="org.appng.appngizer.controller.AppNGizerConfigurer">
      		<property name="location" value="file:/${APPNG_HOME}/WEB-INF/conf/appNG.properties" />
      	</bean>

      which will lead to working paths under both, Windows and *nix

        Attachments

          Activity

            People

            • Assignee:
              mueller.matthias Matthias Müller
              Reporter:
              mueller.matthias Matthias Müller
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: