You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by fu...@apache.org on 2006/06/20 13:12:31 UTC
svn commit: r415610 -
/tomcat/tc6.0.x/trunk/java/org/apache/catalina/startup/Bootstrap.java
Author: funkman
Date: Tue Jun 20 04:12:30 2006
New Revision: 415610
URL: http://svn.apache.org/viewvc?rev=415610&view=rev
Log:
Remove JMX warning message since java5 is required
Modified:
tomcat/tc6.0.x/trunk/java/org/apache/catalina/startup/Bootstrap.java
Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/startup/Bootstrap.java
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/startup/Bootstrap.java?rev=415610&r1=415609&r2=415610&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/java/org/apache/catalina/startup/Bootstrap.java (original)
+++ tomcat/tc6.0.x/trunk/java/org/apache/catalina/startup/Bootstrap.java Tue Jun 20 04:12:30 2006
@@ -62,13 +62,6 @@
// ------------------------------------------------------- Static Variables
- private static final String JMX_ERROR_MESSAGE =
- "This release of Apache Tomcat was packaged to run on J2SE 5.0 \n"
- + "or later. It can be run on earlier JVMs by downloading and \n"
- + "installing a compatibility package from the Apache Tomcat \n"
- + "binary download page.";
-
-
/**
* Daemon object used by main.
*/
@@ -389,19 +382,6 @@
* @param args Command line arguments to be processed
*/
public static void main(String args[]) {
-
- try {
- // Attempt to load JMX class
- new ObjectName("test:foo=bar");
- } catch (Throwable t) {
- System.out.println(JMX_ERROR_MESSAGE);
- try {
- // Give users some time to read the message before exiting
- Thread.sleep(5000);
- } catch (Exception ex) {
- }
- return;
- }
if (daemon == null) {
daemon = new Bootstrap();
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org