You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Henning Schmiedehausen <hp...@intermeta.de> on 2004/11/29 12:33:08 UTC

Re: Turbine 2.3.1 init using war

Try removing the leading / from
/WEB-INF/conf/TurbineResources.properties in web.xml 

Please ask these questions on turbine-user@jakarta.apache.org, which
allows archiving of a thread and possible solutions.

	Regards
		Henning


On Thu, 2004-11-25 at 14:37, Alain Kettaneh wrote:
> Hi,
> I noticed your email in the Turbineclass developpers ' list.
>  
> I encounter an init problem with turbine accessing WEB-INF/conf
> directory when the web application is deployed under ".war" form using
> weblogic server.
> Weblogic normally doesn't expand war files, which keeps conf files
> inside an archive.
> Hence any attemp to access those files as regular Files, not as
> ressource stream fails. TurbineRessources.properties file cannot be
> read.
>  
> I could copy the "conf" directory by hand on install, and change the
> web.xml  accordingly but it doesn't seem to be the right thing to do
> according to ".war" deployment  philosophy.
>  
> Is there a clean way to work around that bug or a corrected version
> using ressourcesStream instead of File stream?
>  
> Thank you
-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/
 
RedHat Certified Engineer -- Jakarta Turbine Development  -- hero for hire
   Linux, Java, perl, Solaris -- Consulting, Training, Development

"Fighting for one's political stand is an honorable action, but re-
 fusing to acknowledge that there might be weaknesses in one's
 position - in order to identify them so that they can be remedied -
 is a large enough problem with the Open Source movement that it
 deserves to be on this list of the top five problems."
                       --Michelle Levesque, "Fundamental Issues with
                                    Open Source Software Development"


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org