You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/10/03 14:42:45 UTC
DO NOT REPLY [Bug 50027] NullPointerException if context.xml is
present with
https://issues.apache.org/bugzilla/show_bug.cgi?id=50027
--- Comment #1 from Flávio Henrique <se...@ig.com.br> 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: 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org