I tried to apply the Configuration Howto without any success. If my web.xml contains
<init-param>
<param-name>properties</param-name>
<param-value>
/WEB-INF/conf/TurbineResources.properties
</param-value> </init-param>
Everything works fine. But if my web.xml contains
<init-param>
<param-name>configuration</param-name>
<param-value>
/WEB-INF/conf/TurbineConfiguration.xml
</param-value> </init-param>
I get a null pointer exception.
My TurbineConfiguration.xml is written as said in the Howto.
Digging further in the Tomcat logs, I see that Turbine claims tat it has been initialized twice. I suspect that Turbine is actually not initialized twice so the intialization code is not executed. Why?
Because the null pointer exception occurs in line 692 of Turbine.java:
data = rundataService.getRunData(req, res, getServletConfig());
From the initialisation code, I can check that rundataService has already been checked for not being null.
However, I do not have any clue on how to solve the problem.
Any help?
Thank you
Fr�d�ric
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
