tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50027] NullPointerException if context.xml is present with <Resource>
Date Sun, 03 Oct 2010 12:42:45 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50027

--- Comment #1 from Flávio Henrique <servlet@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


Mime
View raw message