> Could anyone who has successfully deployed Turbine on Tomcat
> suggest how to pass the servlet server the path to the properties
> file?

I submitted a patch/diff for installing.xml on how to do this, but no one
has committed it yet.

>
> I've placed:
>
> <init-param>
>   <param-name>
>      properties
>   </param-name>
>   <param-value>
>      /usr/junk/TurbineResources.properties
>   </param-value>
> </init-param>
>
> in the web.xml file, but this doesn't seem to do the trick.

<web-app>
    <servlet>
        <servlet-name>
            org.apache.cocoon.Cocoon
        </servlet-name>
        <servlet-class>
            org.apache.cocoon.Cocoon
        </servlet-class>
        <init-param>
            <param-name>
                properties
            </param-name>
            <param-value>
                e:\java\servlet\tomcat\xml\WEB-INF\conf\cocoon.properties
            </param-value>
        </init-param>
    </servlet>
    <servlet-mapping>
        <servlet-name>
            org.apache.cocoon.Cocoon
        </servlet-name>
        <url-pattern>
            *.xml
        </url-pattern>
    </servlet-mapping>
</web-app>


That's mine (obviously on NT), and it works fine.

-Brett

>
> Thanks in advance.
>
> Sean
>
>
>
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]
>
>



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to