New Peanut Shell +tomcat released Javaweb project "pro-Test effective"

Source: Internet
Author: User

First, new peanut Shell 1.0

On the Peanut Shell official website (http://www.oray.com) Download "New Peanut Shell 1.0" installation software, software installation completed, need to register, after the successful registration of Peanut Shell website will assign us a domain name, the style is probably: xxx.gicp.net.

1. After installation and landing will show 1:

Figure 1

2. Right-click for domain name diagnostics after 2

Figure 2

3. Right click on the domain name in Figure 1--click "New Peanut Shell Management" appears 3

4. Click "Add Map"--click "Current Host" (the fastest configuration can be customized)

Show Figure 4 Click on "Open extranet HTTP80 port" in Figure 4

Figure 4

5. Click "OK" in Figure 4 to display Figure 5, right-click on the image of the Chinese-Foreign network address replication to get access to the address

Second, tomcat6.0 configuration

After confirming that jdk,tomcat6.0 is installed on the server and configuring the environment, you are ready to configure the server, first add the project to the Tomcat WebApp directory, and modify the Server.xml file (red is the modified content in 3 steps below)

1. Modify the port number to 80

   <port= "protocol"= "http/1.1"               connectiontimeout  = "20000"               redirectport= "8443"/>

2. Change the HOST name to your dynamic domain name, as below,

<name= "Healthmanage.gicp.net"  appBase= "WebApps"             Unpackwars = "true" Autodeploy = "true"             xmlvalidation= "false"xmlnamespaceaware= "false"  (These two lines in my original file did not, I see the tutorial has added)>


3. Change the value of engine defaulthost to your dynamic domain name as follows:

< enginename = "Catalina" Defaulthost = "Healthmanage.gicp.net" >

Note: After modifying the Server.xml file, the direct save is OK, do not need to restart Tomcat, otherwise you will not be able to access

After 3 steps, tomcat6.0 configuration complete enter "http://xxx.gicp.net/project name" on the browser.

New Peanut Shell +tomcat released Javaweb project "pro-Test effective"

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.