Hi all!
I need help with JBoss 6.0.0 Final and PropertyPlaceholderConfigurer.
On JBoss 4.2.2 I'm using this bean to load a spring's props from file....but the same doesn't work on JBoss 6.0.0Code:<!-- PROPERTIES BEAN FROM FILE --> <bean id="goWebPropertiesFromFile" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="ignoreUnresolvablePlaceholders" value="true"/> <property name="location" value="classpath:${GOWEB_HOME}/GOWeb.properties"/> </bean>
GOWEB_HOME Config on JBoss:
This is the exception:Code:<attribute name="Properties"> GOWEB_HOME=D:\\Development\\GOWeb_2.0\\GOWEB_HOME </attribute>
Code:12:06:23,948 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/GOWeb]] Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener: org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: class path resource [D:/Development/GOWeb_2.0/GOWEB_HOME/GOWeb.properties] cannot be opened because it does not existI'm speechless and desperate
Thanks in advance for suggestions!
Cheers, Vale


I'm speechless and desperate
Reply With Quote
...
Null path!
