WebLogic 12 installation and integration with Eclipse

Source: Internet
Author: User

Description: Initial start WebLogic, toss for half a day more, record the key points

One. Installation

1. First download the installation package to Oracle website: fmw_12.2.1.2.0_wls_quick_disk1_1of1.zip

Note: Select the corresponding version according to the operating system, here is Windows7 64 bit.

2. After decompression, the following contents are obtained:

3. Refer to the README.txt content for installation (can only be installed at the command line), the contents are as follows:

① Setting Java_home environment variables (requires JDK environment instead of JRE);

② Copy the Fmw_12.2.1.2.0_wls_quick.jar to the directory that needs to be installed (called <ORACLE_HOME>);

③ run cmd as an administrator, and then the command line enters the <ORACLE_HOME> directory and runs: Java-jar Fmw_12.2.1.2.0_wls_quick.jar;

④ after completing the above steps, go to <ORACLE_HOME> run file \oracle_common\common\bin\ Config.cmd the relevant configuration of domain, it will start a Java interface to do the relevant settings (note Remember the server Admin account password, url:http://localhost:7001/console/account: weblogic/ 123456789);

Now that the installation is complete, check that the installation is successful:

1. Enter the configured domain directory boot server, which is <oracle_home>\user_projects\domains\base_domain\startweblogic.cmd

You can see a series of printing information in the console after you start

2. The browser login http://localhost:7001/console/, enter the user name password after normal login OK

After logging in, you can see:

The following tests whether Java EE applications can run properly:

1. Prepare a Test war package;

2. Place it into the <oracle_home>\user_projects\domains\base_domain\autodeploy directory;

3. Restart the server, access the address http://localhost:7001/the project name, as

Description: There are several ways to deploy WebLogic deployment projects, and the other two are:

① through the "Deployment" in the "domain Structure" in the left column of the server background management

② Modify the configuration file (specifically do not elaborate, their own Google)

Two. Integrate WebLogic into eclipse

Here I am Eclipse4.5.2 (Mars2)

1. Open eclipse, go to Window->preferences->server->runtime Environment click the Add button (see), and select WebLogic under Oracle, Then according to the interface prompts the next step continue to walk

2.Eclipse will automatically download the necessary plug-ins from the Internet, after which it will prompt to restart Eclipse for the configuration to take effect;

3. After restarting, in the server view (if not in the menu Window->show view) Right-click New->server, select the corresponding WebLogic version, see

4. Configure the WebLogic home directory (<oracle_home>\wlserver) and the Java Home directory (see), and domain-related:

5. After configuration, deploy and test the project run, access and port ibid.

Description: Configuring the WebLogic home directory is error prone, refer to the figure selection in 4.

WebLogic 12 installation and integration with Eclipse

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.