The "Go" Tomcat version is a 32-bit, 64-bit issue

Source: Internet
Author: User
Tags hex code

Reprint Address: http://www.cnblogs.com/greensleeves/p/3168541.html

Recently encountered a 32-bit or 64-bit issue with the version of the Tomcat Windows installation. For a number of reasons, it is impossible to know whether the program on the production system is 32-bit or 64-bit.

Later, after careful review of the information, we learned that:

1. Tomcat distinguishes between 32-bit and 64-bit version issues starting with 6.0.24

This can be viewed from the http://archive.apache.org/dist/tomcat/tomcat-6/.

2. To determine if an EXE is 32-bit or 64-bit, you can open it by UltraEdit

Here are excerpts from others:

If you had a hex editor program, just open your file with it and shortly after the standard header

Intro Stuff (like "This program cannot is run in DOS mode ...") you'll see either

"PE.. L "(hex code:504500004c) = + bit

Or

"PE.. d† "(hex code:504500006486) = a bit

3. Can be verified by tools (PESnoop.exe)

4. The stupidest Way

You can download the 32, 64-bit installation package from the official website by knowing the version number of Tomcat, and finally

Beyond compared such tools and local files one by one comparison to judge.

In the end, I still have a question:

1. What is the difference between Tomcat version 32 and 64 bit? Just 32 bits installed on a 32-bit operating system, 64-bit installed on a 64-bit operating system?

2. Through the 32, 64 installation packages downloaded from the Apache-tomcat-6.0.37-windows website, only one tomcat6.exe size is found to be inconsistent and the other files are the same. Why?

The "Go" Tomcat version is a 32-bit, 64-bit issue

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.