tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 50027] NullPointerException if context.xml is present with <Resource>
Date Sun, 03 Oct 2010 12:42:45 GMT

--- Comment #1 from Flávio Henrique <> 2010-10-03 08:42:40 EDT ---
I Solved the problem (but I still thing that this is a bug in tomcat), let me
explain with more detail, because I was to anxious do report the bug.

The problem happens when you have context <Resource> tag in SERVER.XML. The
problem doesn´t happens with you have a new <Realm> inside SERVER.XML.

How I solved the problem:

1 - instead of inserting context information in SERVER.XML, I created
myApplication.xml in conf\Catalina\localhost\myApplication.xml.

The first approach work on tomcat 6, but not in tomcat 7.
By the way, I solved the problem, I am afraid that the presence of additional
context information in SERVER.XML crashes tomcat 7.

Can anyone confirm if it´s a bug?

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message