What is Virtual Host in Weblogic , how to create it & what
is the advantage ?

Answers were Sorted based on User's Feedback



What is Virtual Host in Weblogic , how to create it & what is the advantage ?..

Answer / kisu

You must be aware that a network channel is like a network
connection in weblogic. A network channel is a unique
combination of listen address, listen port, and protocol.
In order to create a virtual host you first need to created
a network channel.
Go to console -> left pane -> wl_server -> Environemnt -
>servers
-> Click Local & Edit
Right pane:
-> Go to 'exampleServer' -> protocols -> channels
-> Click on Lock & Edit
-> Click New
-> Enter following details for channel.
Name="mychannel", protocol=http
Listen address = 127.0.0.1, Listen Port = 7003,
Leave External Listen address and Leave External Listen
Port blank
-> Click on 'Finish'
-> Save changes
-> Activate changes
Note: After this step you have created a network channel.
That means your server
will listen at given listening address and port. Try
accessing http://127.0.0.1:7003
Step 2. Create new virtual host
Go to console -> left pane -> wl_server -> environement ->
virtual hosts
-> Click lock & edit
Right pane :
-> Click on New
-> Enter Name 'myvh'
-> save changes
-> Activate changes
Note: After this step a virtual host is created. It does
not mean anything unless you configure the virtual host as
shown in the next step.
Step 3: Configure virtual host
Go to console -> left pane -> wl_server -> environement ->
virtual hosts
-> Click lock & edit
Right pane:
-> Click on 'myvh' virtual host link in the 'Virtual Hosts'
table.
-> Enter 'myvh.oracle.com' in the 'Virtual Host Names' text
box.
-> Enter 'mychannel' in the 'Network Access Point Name'
text box.
-> Save changes.
-> Click on 'Targets' tab.
-> Select 'exampleServer' in the 'servers' section.
-> Save changes.
-> Activate changes
Step 4. Deploy application to virtual host
Go to Console -> left pane -> wl_server -> deployments
-> Click lock & edit
Right pane:
-> Click on 'Install'
-> Click on "upload your files" link
-> Click "browse" (against 'deployment archive' )
-> select "sample.war"
-> Click "Next"
-> Choose 'sample.war' in the "location" section
-> Choose "Install this deployment as an application" radio
button
-> Click on "deployment targets" tab
-> select 'myvh' -> Next -> Next -> Finish
-> Save changes
-> Activate changes

Step 5. Create DNS entry in your hosts file.
For linux hosts file is: /etc/hosts Append the following
line to the file as super user.
127.0.0.1 myvh.oracle.com
Save the changes to 'hosts' file.

Note: Just saving the changes to 'hosts' file is enough to
activate the DNS entry.

Step 6. Start the application.
Go to Console -> left pane -> wl_server -> deployments ->
Right pane:
-> Select 'sample.war'.
-> click on 'Start'.
-> Complete the start process

Is This Answer Correct ?    0 Yes 0 No

What is Virtual Host in Weblogic , how to create it & what is the advantage ?..

Answer / syed

Agreed With Ali

Is This Answer Correct ?    0 Yes 4 No

What is Virtual Host in Weblogic , how to create it & what is the advantage ?..

Answer / mahendra

As per my views,
Virtual host is door for providing the access to an
application.
the same concept is also avalable on Websphere.

Is This Answer Correct ?    5 Yes 10 No

What is Virtual Host in Weblogic , how to create it & what is the advantage ?..

Answer / raghunath sanam

Pranab the fool is the correct guys .belive on him Kanika
is gr8 fool

Is This Answer Correct ?    4 Yes 9 No

What is Virtual Host in Weblogic , how to create it & what is the advantage ?..

Answer / anjani

It is nothing but host names to which weblogic server
instances or clusters served.
Virtual hosts can be created using weblogic administrator
console. Virtual hosting can be used to increase the
performance of the application

Is This Answer Correct ?    10 Yes 23 No

What is Virtual Host in Weblogic , how to create it & what is the advantage ?..

Answer / shivarj

hi Pranab, i did't get your's question . can someone plz
explain me wot u guys are talking abt .i dono anything abt
weblogic.

Is This Answer Correct ?    2 Yes 16 No

What is Virtual Host in Weblogic , how to create it & what is the advantage ?..

Answer / pranab

Virtual Host is nothing but a cluster(s) on which the
target application are being served. And when a virtual
host serve one application that is called virtual hosting.
Virtual hosting is used increase the performance of
applications.

Is This Answer Correct ?    11 Yes 35 No

What is Virtual Host in Weblogic , how to create it & what is the advantage ?..

Answer / pranab the fool

A Virtual Host is Host which is Virtual. You can create it
in the same way as you create any other Virtual Host. The
advantage of Virtual Host is same as the any other Virutal
Host advantage.

Is This Answer Correct ?    4 Yes 49 No

Post New Answer

More Weblogic Interview Questions

Explain the functionality of T3 associated with WebLogic server?

0 Answers  


What technologies are included in j2ee?

0 Answers  


How can I set deployment order for applications?

0 Answers  


Why will the manage server goes to ADMIN Mode and Unknow Status?

8 Answers   HCL,


How to migrate the weblogic domains Existing physical box to New box ? Assume:I have 2 Domains and 5 ms servers and i have deploy the application in managed servers in cluster Envirolment how to migrated? any budy give me steps ?

1 Answers   IBM,






What is MSI mode?

3 Answers  


Explain The Term Clustering ?

0 Answers  


Why do I get noclassdeffound/too many open files messages on solaris? : BEA Weblogic

0 Answers  


Tell the issues faced in weblogic?

0 Answers  


A client invokes a method on a stateful session bean instance deployed in the weblogic server. While the method execution is in progress another method call arrives on the server. What will be the result? : BEA Weblogic

0 Answers  


What Is The Advantage Of Clustering ?

0 Answers  


Do ejbs have to be homogeneously deployed across a cluster?

0 Answers  


Categories