WebLogic Use Summary (iv)--weblogic deploying Web Apps

Source: Internet
Author: User

First, packaging Web applications

The first web app to deploy to WebLogic is packaged into a war package, as shown in the following steps:

Select the "OAMs" item to be packaged → "Export ..."

  

  

  

Click "Finish" to package the OAMs Web App as a Oams.war, as shown in:

  

After packaging is complete, you can see a Omas.war file on your desktop, as shown in:

  

Ii. deploying Web applications to WebLogic servers

After several tests, it was not always successful to deploy the Web App as a war package to the WebLogic server, and the project was to use struts2+spring3.x+ Hibernate4.x developed, and the war package after decompression in the form of folder deployment can be successful, specific reasons do not know the unknown, I hope that the experience of the Park Friends can guide. Here's how to deploy a Web app to a WebLogic server as a folder.

1. Upload the packaged Oams.war package to a directory on the remote WebLogic server.

For example, upload to a directory such as "D:\oams Deployment", and then extract the war package using the Unzip tool as a folder, as shown in:

  

After extracting Oams.war, generate a OAMs folder as shown in:

  

Open the OAMs folder to see the content of the Web app that's inside it, as shown in:

  

2. Log in to the remote WebLogic server using the Administrator account

  

3. Deploy Web Apps

  

  

  

  

  

  

  

In this case, deploying the Web App under WebLogic even if it's done, switch back to the deployment panel and see the Web App we've deployed to OAMs.

  

  

To verify that oams this Web application is working properly on the WebLogic server, we can enter the URL address "http://192.168.1.144:7001/oams" to access OAMs this web app, as shown in:

  

  

The above is about how to deploy Web Apps in a WebLogic server. About the reason for the unsuccessful deployment of the war to the WebLogic server also want to have this experience of friends can point twos, here first thanked.

WebLogic Use Summary (iv)--weblogic deploying Web Apps

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.