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 2014/08/01 01:12:41 UTC

[Bug 56785] NullPointer in processAnnotationsFile during Application Startup

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

--- Comment #5 from Konstantin Kolinko <kn...@gmail.com> ---
(In reply to Christopher Schultz from comment #2)
(In reply to Juergen Sussner from comment #0)

1) -Duser.dir=/tmp is a wrong way to set that property. The correct way is to
perform "cd /tmp" when launching Tomcat.

2) I guess that the issue would happen when some directory in
$CATALINA_BASE/webapps/testapp/WEB-INF/classes  is not readable. The "user.dir"
property value is irrelevant.

Why would you have an unreadable directory in such a place among your classes?
Is there a valid reason for that?

What if skipped directory contains something important, e.g. a @WebFilter?
I think it is OK to fail fatally and refuse to start such a misconfigured
application.

-- 
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