On 03/11/2010 23:08, Tim Funk wrote:
> A possible nice to have is trying to "test" whether a new config will be
> OK or not.I have a patch which will allow a new arg for catalina.sh
> called "configtest".
>
> It will try to load the catalina config but log every
6:46 PM, Konstantin Kolinko wrote:
>>
>> Too many unneeded whitespace changes. It is hard to read. Try
>> svn diff -x -w
>>
>>
>> In essence, it is
>> +} else if (command.equals("configtest")) {
>> +daemon.load(ar
-x -w
In essence, it is
+} else if (command.equals("configtest")) {
+daemon.load(args);
+if (null==daemon.getServer()) {
+System.exit(1);
+}
+System.exit(0);
where load(args) processes co
2010/11/4 Tim Funk :
> A possible nice to have is trying to "test" whether a new config will be OK
> or not.I have a patch which will allow a new arg for catalina.sh called
> "configtest".
>
> It will try to load the catalina config but log everything to standard
A possible nice to have is trying to "test" whether a new config will be
OK or not.I have a patch which will allow a new arg for catalina.sh
called "configtest".
It will try to load the catalina config but log everything to standard
output. It will try to exit with a non
https://issues.apache.org/bugzilla/show_bug.cgi?id=48276
--- Comment #2 from Rainer Jung 2010-02-23 02:53:28
UTC ---
Will be part of 1.2.29.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assigne
https://issues.apache.org/bugzilla/show_bug.cgi?id=48276
Mladen Turk changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
https://issues.apache.org/bugzilla/show_bug.cgi?id=48276
Summary: If the tomcat server cannot be resolved, apachectl
configtest passes, but apachectl graceful fails
Product: Tomcat Connectors
Version: 1.2.28
Platform: PC
OS