tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Difference in behavior between Tomcat 6.0.18 and 6.0.20
Date Thu, 04 Nov 2010 21:49:11 GMT
2010/11/5 Nagulapalli, Srinivas <Srinivas.Nagulapalli@starwoodvo.com>:
> Many thanks for the tip. Didn't realize how much context file changed. Changed context.xml
like below and it deploys fine now in 6.0.20.
> Going to check and test more. Please tell if I am missing out on limb still.
>
> Changed contents of MYPROJECT.xml that deploys fine:
> ==================================================
> <Context debug="2" reloadable="true" crossContext="true">

"debug" attribute is not used anymore

>        <Logger className="org.apache.catalina.logger.FileLogger"
>                prefix="MYPROJECT_log." suffix=".txt"
>                timestamp="true"/>

Logger element is not supported.

>        <Resource name="jdbc/MYPROJECT" auth="Container"
>                type="javax.sql.DataSource"
>                description="MYPROJECT Application Database"/>

OK, but you will want to add other properties (such as driver,
connection url, username, password), see docs.

You may add back the AccessLogValve. It was OK.

> </Context>
>

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message