https://issues.apache.org/bugzilla/show_bug.cgi?id=50835

--- Comment #2 from based <ba...@free.fr> 2011-02-26 11:41:40 EST ---
I cannot reproduce it.

In what circumstances this was observed? Are there other errors and warnings or
interesting messages in the logs? Did tomcat start successfully?

> I tried to deployed a new apllication with H2 database inside.
I had problem with 
reloadable="true"and 
a catalina defined context for the same application:

aa.xml
<Context path="aa" reloadable="true" docBase="M/webapp" workDir="M/work" >
    <Logger className="org.apache.catalina.logger.SystemOutLogger"
verbosity="4" timestamp="true"/>
    <Loader className="org.apache.catalina.loader.DevLoader" reloadable="true"
debug="1" useSystemClassLoaderAsParent="false" />
</Context>


>From the source, it can happen only of AccessLogValve#timezone is null, but
that field is initialized in AccessLogValve#start().

Is it possible that the AccessLogValve#log() call happened before #start() was
called? Maybe context itself failed to start and thus initialization did not
complete?



(BTW, there should be at least one WARNING there, because there is no "debug"
attribute in a Context.)

> Sorry, it was a configuration issue with the aa.xml in catalina/localhost 
> folder, it is now working as expected.

You can close the issue, if you want.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

Reply via email to