> On Mar 11, 2022, at 6:50 AM, Mark H. Wood <mw...@iupui.edu> wrote:
> 
> On Thu, Mar 10, 2022 at 09:40:48AM -0700, Rob Sargent wrote:
>> About context/context/value:  I have this context.xml. Is the value 
>> correctly inside the outer Context?
>> 
>>    <Context reloadable="true">
>> 
>>       <Resource
>>           name="jdbc/sgsdb/tbar"
>>           url="jdbc:postgresql://localhost:5432:/tbar"
>>           driverClassName="org.postgresql.Driver"
>>           type="javax.sql.DataSource"
>>           factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
>>           testWhileIdle="false"
>>           testOnBorrow="true"
>>           testOnReturn="false"
>>           validationInterval="30000"
>>           validationQuery="select 1"
>>           timeBetweenEvictionRunsMillis="30000"
>>           maxActive="50"
>>           initialSize="3"
>>           maxWait="10000"
>>           removeAbandonedTimeout="3600"
>>           removeAbandoned="true"
>>           minEvictableIdleTimeMillis="30000"
>>           minIdle="1"
>>           maxIdle="5"
>>           logAbandoned="true"
>>           username="shoc"
>>           password="password"
>>           />
>> 
>>       <Context>
>>         <Valve
>>         className="org.apache.catalina.valves.AccessLogValve"
>>         prefix="sgs_access"
>>         directory="${SGSSRVR_AccessLogDir}"
>>         maxDays="7">
>>         </Valve>
>>       </Context>
>>    </Context>
> 
> I don't think you can nest <Context>s that way, and I'm not sure what
> it would mean.  I would remove the inner <Context></Context> pair.
> 
> -- 
> Mark H. Wood
> Lead Technology Analyst

Thanks. I’ll take a look at that. I don’t see any related error messages but 
I’ll check my logging. 
Thanks 


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

Reply via email to