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 2009/07/08 11:20:48 UTC
DO NOT REPLY [Bug 47495] New: provide meaningful error message also
to stdout if server.xml is not readable
https://issues.apache.org/bugzilla/show_bug.cgi?id=47495
Summary: provide meaningful error message also to stdout if
server.xml is not readable
Product: Tomcat 6
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: hauser@acm.org
<<java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: java.lang.NullPointerException
at org.apache.catalina.startup.Catalina.await(Catalina.java:647)
at org.apache.catalina.startup.Catalina.start(Catalina.java:576)
... 6 more>>
is not a particularly meaningful way to tell the user that tomcat cannot read
the server.xml
another issue with insufficient reporting on server.xml user-editing-mishaps is
bug 44017
--
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
DO NOT REPLY [Bug 47495] provide meaningful error message also to
stdout if server.xml is not readable
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47495
--- Comment #1 from Ralf Hauser <ha...@acm.org> 2009-07-08 02:30:33 PST ---
Created an attachment (id=23940)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=23940)
tc_bug_47495_patch.txt
some basic ideas to make the problem easier solvable
--
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
DO NOT REPLY [Bug 47495] provide meaningful error message also to
stdout if server.xml is not readable
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47495
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Mark Thomas <ma...@apache.org> 2009-12-16 08:50:58 GMT ---
Konstantin's additional patch has also been applied to 6.0.x and will be
included in 6.0.21 onwards.
--
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
DO NOT REPLY [Bug 47495] provide meaningful error message also to
stdout if server.xml is not readable
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47495
--- Comment #3 from Mark Thomas <ma...@apache.org> 2009-11-18 05:20:12 GMT ---
Tim's patch has been applied to 6.0.x and will be in 6.0.21 onwards.
Konstantin has also proposed an additional patch.
--
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
DO NOT REPLY [Bug 47495] provide meaningful error message also to
stdout if server.xml is not readable
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47495
--- Comment #2 from Tim Funk <fu...@apache.org> 2009-11-05 10:47:34 UTC ---
made a more explicit check instead
change applied in trunk with 833121
--
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