Thứ Tư, 18 tháng 11, 2009

Making Reverse Proxy working

Navigate to OHS Standalone Home/ohs/conf directory. Edit httpd.conf to add following directives in respective sections.

##########################
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so

ProxyRequests Off

#Order deny, allow
#Allow from all

ProxyPass / http://app3:7778/
ProxyPassReverse / http://app3:7778/

Thứ Sáu, 13 tháng 11, 2009

Tuning the default WorkManager on WebLogic Server

Putting Java Option to SetDomainEnv.sh

-Dweblogic.threadpool.MinPoolSize=100

do it like this:

JAVA_OPTIONS="-Dweblogic.threadpool.MinPoolSize=100 ${JAVA_OPTIONS}"
export JAVA_OPTIONS

Stop and Start Server

Thứ Năm, 12 tháng 11, 2009

Config Oracle HTTP Server to run on port 80

I copy this documents from this page:
http://askmeapps.blogspot.com/2008/07/some-steps-to-configure-oracle-http.html

1. Stop Oracle HTTP Server using Application Server Control, or with the following opmn command,
as the oracle user (not root)
# opmnctl stopall

2. Issue the following command as root: Log in as root.
Run the following command in the middle-tier Oracle home:
# cd ORACLE_HOME/Apache/Apache/bin
# chown root .apachectl
# chmod 6750 .apachectl

(Be sure to now leave the root login)

3. Update the Application Server Control Console with the port number:
Edit the following file L as the oracle user (not root)
ORACLE_HOME/Apache/Apache/conf/httpd.conf
Take a backup or httpd.config
cp httpd.conf httpd.conf_old_chg80
vi httpd.conf
replace 7777 with 80
Save and close the file.

4. Restart the HTTP Server, as the oracle user (not root)
# opmnctl startall

5. Ensure that Oracle HTTP Server starts and uses the desired port 80