`
659的典藏
  • 浏览: 48270 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

Tomcat的This release of Apache Tomcat was packaged to run on J2SE 5.0 or later问题

阅读更多

错误信息:

        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 发布,开源 Web 应用服务器

    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. 绿色版,免安装,放心使用

    hudson-3.3.1.war

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

    httpd2.2.12.tar

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

    Java APIs, Extensions and Libraries-Apress(2018).pdf

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

    基于omnet++的LEACH协议仿真

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

    cmake-3.5.2.zip Windows Source (has \r\n line feeds)

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

    vmware unlocker 2.0.6最新版(vm虚拟机破解安装Mac OS)

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

    cmake-3.10.0-rc4-win64-x64.zip

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

    cmake-3.7.0-win64-x64.zip

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

    cmake-3.17.2.zip

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

    cmake-3.9.2.tar.gz

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

    cmake-3.17.0-rc1-win64-x64.zip

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

    cmake-2.8.0-win32-x86.exe安装程序

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

    Docker-in-Practice.pdf

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

    drupal 6.12

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

    vmware unlocker 2.0.3

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

    Android代码-grapes

    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

    OpenFOAM 6 user guide

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

    php.ini-development

    ;;;;;;;;... 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:...

Global site tag (gtag.js) - Google Analytics