Supermap iServer Java 6 War package is simplified

Source: Internet
Author: User

The Supermap iServer Java 6 package has three forms: War package, decompression package, and installation package. Generally, Supermap iServer Java 6 is integrated into a project or product in the form of a war package, while the decompression package and installation package are mostly used in the development environment.

 

Advantages of war package:

1. can be deployed on Linux and Windows (x86 and x64) regardless of the platform restrictions ).

2. It can be deployed to various middleware, such as JBoss, tomcat, websphere, and weblogic.

3. The package is relatively small. In the age of several Gbit/s, a few hundred Mbit/s are relatively small and fresh. Of course, if it is not enough, it can be simplified.

 

This article with http://support.supermap.com.cn/ProductCenter/DownloadCenter/DownloadPage.aspx? For example, we will introduce how to integrate Supermap iServer Java 6 into your own product.

1. Confirm the package to be deployed

Uncompress the smiserver_java_612_9515_31_chs_war.zip directory, as shown in-1.

Figure-1 directory after the war package is decompressed

As shown in figure-1, if the product is deployed to a Windows 7 64-bit system, only iServer is required. the war and support_win_x64.zip files can be added up to about 520. These two packages already provide all the dependent libraries for running Supermap iServer Java 6. If you add a middleware such as Tomcat, you can run them.

 

2. Streamline the iServer. War package

After iServer. War is decompressed, the directory is shown in figure 2.

Figure-2 decompress the iServer. War package directory

In this example, the data folder is actually changed to its own data when it is officially released. Then delete the iServer/WEB-INF/iserver-services-samples.xml file. Then package it into Warehouse, and then resize it to 33mto the right. Then, append support_win_x64.zip with a total size of about mb. After decompression, it will be around mb. As a GIS server, it is already quite small and fresh.

 

3、 support_win_x64.zip

Decompress the package directory-3. This package mainly contains three contents. The jre、permission configuration management tool (vcredist90_x64.exe) of the runtime environment library of object Java is a distribution package provided by the system. You can install it before installation)

A. The Environment library for object Java runtime must be provided with war

B. You can use the built-in JRE library or the system

The clicense license tool licensemanager.zip is required and must be configured in the environment

Figure-3 decompress the support_win_x64.zip directory

Support_win_x64.zip is about 100 m after decompression, and JRE is about M.

 

4. Assembly

After the previous steps, the war of Supermap iServer Java 6 has been analyzed. The specific combination directory can be combined according to the actual situation, and the environment variables can be set.

If the middleware is tomcat, the environment variables to be configured are jre_home/java_home, ugo_home, and path. You can modify the environment variables according to the help document.

 

Summary of common problems in deployment

1. There is one distribution package (x86 and x64) for VC 2008, which needs to be installed on different platforms and X11 for Linux.

2. The linux package comes with the license Configuration tool and command line configuration. Go to the bin directory of object Java to run Java-jar com. Supermap. License. jar-config.

3. Some character libraries are provided on the Linux package and installed based on the map configuration.

4. Simplified iServer. war package can be pre-modified by the configuration file to publish the service, and the release of the workspace path can be written as a relative path or database type (you can refer to the iserver-services-samples.xml writing ), this can be used directly after deployment. You do not need to modify the configuration file and release the data at the customer's site.

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.