WebLogic installation and deployment

Source: Internet
Author: User

WebLogic Installation

Because the developer version is downloaded, I did not find the installation configuration for the GUI. -- |

Decompress the package: (red, readme.txt, which tells you how to install the package. Here, record the installation under window)

1. Configure three environment variables:

Java_home = D: \ Java \ JDK(There is no space in the file directory. I started to install JDK under c: \ programe files. No. Java language is more taboo for spaces and special characters),

Add Java and environment variables in path.

Java_vendor = sunIn this simple configuration, I don't know how to use it. No.

Wm_home = D: \ weblogicroot

 

2. After configuration, run cmd,

Cd d: \ weblogicroot.
Run:

Configure

 

3. Set WebLogic Environment Variables

% Mw_home % \ wlserver \ Server \ bin \ setwlsenv. cmd

 

4. Add a new domain)

Create a folder,

Mkdir c: \ home \ myhome \ mydomain

Go to this folder,

Cd c: \ home \ myhome \ mydomain

Run

% Java_home % \ bin \ java.exe % java_options %-xmx1024m-XX: maxpermsize = 128 M weblogic. Server

You will be prompted to enter the user name and password: (this is used to log on to the console, you must remember, the password length must be greater than or equal to 8 characters)

At this time, the domain has been created successfully.

Usage:Http: // localhost: 7001/console You can go to the console

 

Package Project

To package it into the ear under WebLogic, you must first integrate WebLogic under eclipse. Later we will talk about integrating WebLogic under eclipse.

Because the projects deployed under WebLogic are in. Ear format, you need to package the project into a. Ear project. Just as Tomcat requires war format.

Use eclipse to package:

    • File --> New --> Enterprise Application Project

 

    • Enter the following information:

    • Next, select the project you want to package.
    • Right-click the project name (myweb. Ear) --> export --> ear File

 

 

Myweb. Ear is generated on the desktop.

 

Deploy above WebLogic

Htt: // localhost: 7001/console log on to the console

Click deploy --> Create

 

The following message is displayed: Click Upload File.

 

The following message is displayed:

 Select the generated myweb. Ear,Click Next.

Continue to the next step until it is completed.

Wait and click Save.

Test: http: // localhost: 7001/m

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.