Login
Register

Home

Trainings

Fusion Blog

EBS Blog

Authors

CONTACT US

Weblogic Server
  • Register

Oracle Gold Partners, our very popular training packages, training schedule is listed here
Designed by Five Star Rated Oracle Press Authors & Oracle ACE's.

webinar new

Search Courses

Weblogic Server
1. Weblogic server is a java j2EE based application server like other application servers exist in the market are websphere, jboss, tomcat etc, java j2EE based means it's completely build on the latest java J2EE standards, and application server you can say a middleware component or software which hosts or runs your applications, middleware because it's exist at the mid layer between front end ( your browser like IE, firefox, chrome etc ) and backend database, like below
FRONT END ( IE, CHROME ETC ) =====> APPLICATION SERVER ( HOSTS/RUN YOUR APPLICATION ) =====> DATABASE
2. Above architecture means, browser will access your application hosted on application server, and application will contact back end database of rest of the configurations or database related operations.
3. Apart from application server functionality, it has the capability of a strong web server also. it mean you can used weblogic server as an application server as well as web server just like apache, iis etc.
4. So in whole, as a application server you can deploy your java j2ee based applications on weblogic server to get lots of application server benefits and features as well as deploy web applications to use it as a web server also.


5. Difference between an application server and web server is, A Web server you can say is a computer program or software that serves content, such as Web pages ( static/dynamic ), using the Hypertext Transfer Protocol (HTTP), over the World Wide Web but an application server is much more than serving Static/Dynamic Web pages, It provides Infrastructure or features for large enterprise application like better performance tuning options, advance more secure security options, advance and latest technology supports, maintainability, scalability, high availability etc which a web server doesn't provides.

 

Web Logic Server Download

You can download weblogic server from here

http://www.oracle.com/technetwork/middleware/ias/downloads/wls-main-097127.html

Oracle All products Document/Tutorial link

http://www.oracle.com/technetwork/indexes/documentation/index.html

Weblogic Specific - Download & Read the documents from here

http://www.oracle.com/technetwork/middleware/weblogic/documentation/index.html

Web Logic Server Installation Steps on Oracle Linux 64 bit (Console mode) :
1. Before executing Weblogic installation steps make sure that java is installed on the server. Also, set the JAVA_HOME environment variable (It will give the path of the JDK which will be used ).
2. In order to know which JDK is to be installed please download the Oracle certification matrix which is available free for download. You can search it in google.
3. You can see the below screen shots to confirm whether JDK is installed on your machine or not. If not you need to proceed with JDK installation first
wls 01
4. Once you are done with JDK installation you can start with Web Logic server installation .
5. For weblogic installation first, you need to change the directory to homes_stage which contains wls1036_generic.jar file.

wls 02

6. In order to check which version of Linux machine you are on you can type command name –a so that you can confirm that correct jdk version is installed as per requirement 32 bit or 64 bit .
wls 03
7. To start the installation you need to enter following command :
java –jar –d64 wls1036_generic.jar -tmp=/var/tmp -log=/var/tmp/install_log.txt

 

wls 04

8. Enter Next



9. Enter Next (to Choose the Middleware Home Directory as shown in above screen shot in step#8)

10. After choosing Middleware Directory it will ask your email address for security updates

 

If you don’t want to receive any security updates Enter the index number 3 . And it will ask you do you want to Register [Yes/No], enter No

 

Then it will ask do you wish to bypass initiation of the configuration manager Enter Yes
And you will see that Register Security Update is set to ‘No’. Enter Next and Continue


11. After security updates, it will ask you to choose type of installation you wish to perform
(Typical/Custom )

It is recommended to go with Typical installation type(which is by default selected ) so enter Next and continue

 

12. At this point, It will ask you to select the JDK version you want if the required version is selected Enter Next and Continue else change the JDK. The x mark within the bracket indicates the selected version. Since we have already set the JAVA_HOME variable the correct JDK version will be selected by default.

 

13. Next you have to Choose Product Installation Directories for Weblogic Server and Oracle Coherence, Enter Next to go with default path

14. Enter Next to install the listed Products and JDKs.

 

15. All the steps are done and installation will complete in few seconds

16. Press Enter to Continue

17. Now if you check into Middleware directory you will find the Web logic Server and Oracle Coherence will be present.
wls 15

 

WLS Domain Admin and Managed Servers

• A WebLogic Server administration domain is a logically related group of web Logic Server resources.
• Domains include a special WebLogic Server instance called Administration Server, which is the central point from which you can configure and manage all resources in the domain.
• Usually you configure domain to include additional WebLogic Server instances called as Managed Servers. Managed Server can form clusters also.

 

Creating a Domain
• You need to run the “config.sh” script to create a new domain which is in bin directory . For which you need to go to the bin directory as follows .
1. Move to Weblogic server directory (cd wlserver_10.3)

 

domain 01

2. Move to common directory (cd common)

domain 02

3. Move to bin

 

domain 03


4. Once you are in bin directory run the config.sh script file as shown below

domain 04
5. Enter Next to Create Web Logic Domain. After this it will ask you to choose the Web logic platform Components . Enter Next and continue .

6. Next we will select the Basic Weblogic Server Domain to be created and Enter Next

 

7. Keep the default value “base_domain” and Enter Next

 

8. Select the default target domain directory for this domain and Enter Next

 

domain 08
9. Now configure the Administrator user name and password. But the default username is weblogic which we will keep the same.But the password is null, so enter index number 2 to change the password. We will enter the password as weblogic1 

 

Your password is set. Now confirm the password by entering the index number 3.


After confirming the password enter Next and continue.

 

10. Now select the Production Mode for Domain Mode Configuration by entering index 2

 

11. Select The SDK version and Enter Next

 

12. Select default Optional Configuration and enter Next

 

13. All the steps are done and your domain will be created

 

To see your domain created and to Start WLS

 

1. Check the user_projects directory inside Middleware


wls start 01
2. Move to user_projects

 

wls start 02

3. Move to domains directory

 

wls start 03

4. Move to base_domain directory (which is the domain we had created )

 

wls start 04


5. bin directory in base_domain will have all the executables


wls start 05
6. To start the web logic server enter the run startWebLogic.sh file

 

wls start 06

7. Next it will ask you to enter the Weblogic username and password in order to Start the web logic server: Enter weblogic as username and weblogic1 as password which we had already set during domain creation .

 

8. Once you enter the correct user name and password your server will start.

 

 

You can see that the listening port for web logic server is 7001, and the ip address is 192.168.1.12 .


9. To access the Web Logic Server open the browser and enter following url :
https://192.168.1.12:7001/console

If the web logic server doesn’t start in browser then perform following steps :
 Add listener address 192.168.1.12 in side config.xml which is available in config directory as follows :
<server>
<name> Admin</name >
<list-address>192.168.1.12</listen-address>
</server>

 Edit boot.properties file and enter following :
username=weblogic
password=weblogic1.
 To force Weblogic to bind to IPV4 , add the following option to JAVA_OPTIONS
-Djava.net.preferIPv4Stack=true
To do this go to base_domain/bin/ directory and enter following command
cp –p setDomainEnv.sh setDomain.sh_bak

Then edit setDomainEnv.sh file and serach for JAVA_OPTIONS add the line -Djava.net.preferIPv4Stack=true as shown in below screen shot .

 Now edit startWebLogic.sh
And in SAVE_JAVA_OPTIONS add the line : -Djava.net.preferIPv4Stack=true
And save

 Assign all the permissions to access.log file (chmod 777 access.log )

And run the startWebLogic.sh file and follow the steps 7 to 9 mentioned above . Your web logic server will be ready to use .


10. After entering login details WebLogic Server Administration Console will appear and you are ready to use your Weblogic Server .

 

 

 


Kashif Baksh

Add comment


Security code
Refresh

About the Author

Kashif Baksh

Search Trainings

Fully verifiable testimonials

Apps2Fusion - Event List

<<  Mar 2024  >>
 Mon  Tue  Wed  Thu  Fri  Sat  Sun 
      1  2  3
  4  5  6  7  8  910
11121314151617
18192021222324
25262728293031

Enquire For Training

Fusion Training Packages

Get Email Updates


Powered by Google FeedBurner