Isjava Intranet/Internet support

Source: Internet
Author: User

Problem: 12/29/2008,
10: 59 AM

1. One Nic, two IP addresses, one Intranet, one Internet, two applications, one application corresponds to the Intranet, and one application corresponds to the Internet. How can I bind the isjava service to two IP addresses,

A: mapserviceid must be different, that is, map names must be different for registration. In fact, map names must be used to search for corresponding services. Because the parameters submitted by the client to the server are only map names without mapserviceid, different map names are used to differentiate different mapservices.

 

Data preparation:

Modify the original workspace, copy and rename the map, for example, vehmap2. The original map remains unchanged.


You can consider the following deployment scheme:

  1. Copy and rename the entire bin directory. The copied structure is as follows. Here we use "bin1" as an example.


  1. Modify the supermapis. xml configuration file under bin1,

 

Change the IP address in the website to a public IP address. Change the mapservice1 attribute to another name, such as mapservice2.

  1. Start the map service again on the premise of the original map service, and then start the map service under bin1 again, please directly click the startserver. CMD file under the directory to start the map service. Manually add the-djava. RMI. server. hostname = "ip address" parameter to the file.
  2. Of course, you need to create a website under tomcat to work with this map service for Internet access. In this application, you need to modify the program or configuration file to specify different map names, such as vehmap2.

 

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.