-
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
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