You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by EP...@upstate.com on 2003/06/10 19:30:41 UTC

XML Configuration for Turbine Question

Hi all,

I wanted to check and see if anyone has actually been successful in setting
up a web.xml like this:

    <servlet>
        <servlet-name>fortius</servlet-name>
        <servlet-class>org.apache.turbine.Turbine</servlet-class>
        <init-param>

            <param-name>configuration</param-name>
            <param-value>
                    /WEB-INF/conf/TurbineConfiguration.xml
            </param-value>            

        </init-param>        
        <load-on-startup>1</load-on-startup>
    </servlet>

And having the ConfigurationFactory work?  The darn Junit testcases with
TurbineConfig and TurbineXmlConfig work great..  However, trying to start
Turbine up leads to constant double init errors..  I'm tearing my hair out
trying to understand the lifecycle of Turbine.init()...

I was able to get everything to work as a cactus test in the
Turbine/src/test-cactus tree as well...  

Mostly looking for a "yes, I tried it and it worked"...

Eric Pugh

Re: XML Configuration for Turbine Question

Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
EPugh@upstate.com writes:

>Mostly looking for a "yes, I tried it and it worked"...

"Yes, I tried it and got double init errors". :-)

I simply left it because of time constraints and was sure that you
would look into it. ;-)

	Regards
		Henning


-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services 
freelance consultant -- Jakarta Turbine Development  -- hero for hire

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