错误信息:
This release of Apache Tomcat was packaged to run on J2SE 5.0 or later. It can be run on earlier JVMs by downloading and installing a compatibility package from the Apache Tomcat binary download page
——本ApacheTomcat需要在J2SE5.0或者更高的版本上运行。通过在从ApacheTomcat的二进制下载页面下载和安装兼容包它也可以运行在早期的JVM上!
———自己翻译的,如果有翻译的不好的地方,请留言指正.....以免让俺在学习过程中在歧途上越走越远!
出现此情况的原因:
Tomcat 5 使用JMX 作为管理和监控机制,但是J2SE 1.4 本身并不支持JMX ,像ObjectName 这些JMX 类 并不包括J2SE 1.4 的API 中。因此,Tomcat 5 不能直接运行 在J2SE 1.4 及之前版本上。 但是Tomcat 5 的设计目标是支持运行在J2SE 1.4 上的。因此,要达到这个目标,Tomcat 5 须 将JMX 类作为兼容包(compatibility package )额外添加到Tomcat 启动类路径中。
我们有两种方法获得兼容包:
1、从Tomcat的官方下载页面下载兼容包
参见http://tomcat.apache.org/download-55.cgi
2、从Tomcat 的源代码构建兼容包
参见http://jarfield.iteye.com/blog/604198
不管怎样,Tomcat5不能保证用户安装了兼容包,因此在启动时,它首先检查能够加载ObjectName类,以此判断兼容包是否安装。如果没有安装,则向标准 输出打印一条错误信息:
This release of Apache Tomcat was packaged to run on J2SE 5.0 or later. It can be run on earlier JVMs by downloading and installing a compatibility package from the Apache Tomcat binary download page.
分享到:
相关推荐
Apache Tomcat 7.0.90 发布了...Update the packaged version of the Tomcat Native Library to 1.2.17 to pick up the latest Windows binaries built with APR 1.6.3 and OpenSSL 1.0.2o. 绿色版,免安装,放心使用
We recommend that users of 3.0, 3.1, 3.2 or 3.3.0 upgrade to this release. his release of Hudson is built against Java 7 and no longer supports running Hudson itself on Java 5 or 6. You can of ...
With the simultaneous release of Apache 2.2-stable and Apache 2.3-development, the Apache HTTP Server project is moving towards a more predictable stable release cycle, while allowing forward progress...
The Applet API in JDK9 has been deprecated and all modern browsers either have discontinued or will discontinue the support for the Java plug-in, which is needed to run applets. I consider the Applet...
will run out of battery sooner or later, the use of renewable energy sources such as solar power or gravitation may extend the lifetime of a sensor network. We propose to utilize solar power in ...
The release was packaged with CPack which is included as part of the release. The .sh files are self extracting gziped tar files. To install a .sh file, run it with /bin/sh and follow the directions. ...
On Mac OS X you will need to be either root or use sudo to run the scripts. This is really only needed if you want to use client versions of Mac OS X. You may need to ensure the OS X scripts have ...
The release was packaged with CPack which is included as part of the release. The .sh files are self extracting gziped tar files. To install a .sh file, run it with /bin/sh and follow the directions. ...
The release was packaged with CPack which is included as part of the release. The .sh files are self extracting gziped tar files. To install a .sh file, run it with /bin/sh and follow the directions. ...
The release was packaged with CPack which is included as part of the release. The .sh files are self extracting gziped tar files. To install a .sh file, run it with /bin/sh and follow the directions. ...
The release was packaged with CPack which is included as part of the release. The .sh files are self extracting gziped tar files. To install a .sh file, run it with /bin/sh and follow the directions. ...
The release was packaged with CPack which is included as part of the release. The .sh files are self extracting gziped tar files. To install a .sh file, run it with /bin/sh and follow the directions. ...
The 2.8.0 release was packaged with CPack which is included as part of the 2.8.0 release. The .sh files are self extracting gziped tar files. To install a .sh file, run it with /bin/sh and follow the ...
This was open source at its best, empowering us to take on a challenge using our spare time, overcoming technical debt, and learning lessons daily. Lessons not only about Docker, but about continuous ...
To run the install script point your browser to the base URL of your website (e.g., http://www.example.com). You will be guided through several screens to set up the database, create tables, add ...
On Mac OS X you will need to be either root or use sudo to run the scripts. This is really only needed if you want to use client versions of Mac OS X. You may need to ensure the OS X scripts have ...
Grapes Grapes is a Spring Boot Vue.js ...Depending on your system, you can install Node either from source or as a pre-packaged bundle. Yarn: We use Yarn to manage Node dependencies. Depending on your s
This guide accompanies the release of version 6 of the Open Source Field Operation and Manipulation (OpenFOAM) C++ libraries. It provides a description of the basic operation of OpenFOAM, first ...
;;;;;;;;... configuring many of the aspects of PHP's behavior. ... Valid values for this option are 'off', 'on', or a specific buffer size ; to be used for compression (default is 4KB) ; Note:...