Customizing the Azure Site Java Runtime Environment (2)

Source: Internet
Author: User
Tags filezilla

publish Java Web Apps on Azure website

Publishing Java Web Apps on an azure site is easy, you can use Git to publish from source code, or you can use Ftp/ftps to publish directly, this section describes the FTP approach.

    1. Prepare your Java Web App's war package, in this case, using Eclipse's export feature, right-click on your project, select "Export", and export your project as a war package as prompted

650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/845013/201602/845013-20160219222534159-1639782857. PNG "style=" border:0px; "/>

650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/845013/201602/845013-20160219222541691-2081373373. PNG "style=" border:0px; "/>

650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/845013/201602/845013-20160219222543831-1832959320. PNG "style=" border:0px; "/>

2. Select an appropriate FTP tool, in this example, using the free open Source Tool filezilla, download and install: https://filezilla-project.org/

3. Login to the admin homepage of Azure, in the "dashboard" screen of your website, you can find the FTP address, username and password that you need to upload to your Web site, which is the deployment password you set in Tutorial 1:

650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/845013/201602/845013-20160219222545831-482970991. PNG "style=" border:0px;line-height:1.5; "/>

4. Use FileZilla to connect to your Web site, go to the root directory/site/wwwroot, you will see a webapps directory, if you have done Tomcat on the Web application deployment, then this WebApps directory is tomcat WebApps directory, enter the WebApps directory and upload your war package to the directory: 650) this.width=650; "Src=" http://images2015.cnblogs.com/blog/845013/ 201602/845013-20160219222548003-1615329897.png "style=" border:0px;line-height:1.5; "/>650) this.width=650;" src = "Http://images2015.cnblogs.com/blog/845013/201602/845013-20160219222551831-751250182.png" style= "border:0px; line-height:1.5; "/>

5. After the war package upload is complete, wait a few minutes, complete the deployment, then use your Web site URL, plus your Web application context, such as my app is greenhouse, then my visit site is my url+/greenhouse:650) this.width=650; "Src=" Http://images2015.cnblogs.com/blog/845013/201602/845013-20160219222554003-1018028786.png " Style= "border:0px;line-height:1.5;"/>

So far, you'll see your app successfully deployed and running correctly.


Customizing the Azure Site Java Runtime Environment (2)

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.