Thursday, September 30, 2010

Use VMware Server to explore Oracle Weblogic

For My system:
--------------
Created 3 VMware Instances on Windows platform
configured network adapter with Nat enabled
installed RHEL 5
installed weblogic cluster on first node and 2nd node
updated host table to communicate each other, pinged each server to test communication
exicuted wlst.sh
startNodeManager()
startserver('AdminServer')
nmConnect('weblogic','weblogic123','MyHost1','5556','vwr','/home/weblogic/Oracle/Middleware/user_projects/domains/vwr','ssl')
start('','Server')
login to anather node and started node manager
from Admin server connected node manager of 2nd server and started managed server 2

Issue:
Weblogic can not started :-> created boot.properties with new
username=weblogic
password=weblogic123
and started weblogic.....did not sarted....LDAP file issue
found one LDAP file's woner was changed to root user
changed that file to weblogic owner
started server

on 3rd server I installed apache 2.2
copied mod_wl_22.so to module folder
in httpd.conf file added following line

LoadModule weblogic_module modules/mod_wl_22.so

edited httpd-vhost.conf file

ServerName MyHost3:80

WeblogicCluster MyHost1:7003,MyHost2:7003
MatchExpression *.jsp PathPrepend /NewApp
MatchExpression *.html PathPrepend /NewApp

SetHandler weblogic-handler

started Apache with following command
./httpd -f conf/httpd.conf -k start

accessed application /NewApp

it was not connected....Issue Network Bridge was not established

configured Network adapter to NAT and enabled DHCP for all 3 host
configured VMware Network adapter with static IP from windows platform andd enabled Automatic bridge from program->vmware->vmware server-> Manage Virtual Network

Everything started working