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