In this post, I will talk about the how to build/install apache web server from the source and install it on a unix machine (RHEL in my case).
tar -zxvf httpd-2.2.31.tar.gz
./configure --prefix=/opt/apache-2.2/apache_2.2.31 --enable-mods-shared=all --enable-proxy --enable-expires --enable-vhost-alias
configure: error: no acceptable C compiler found in $PATH
yum install gcc
yum install zlib-devel
make
make install
mount -o remount,noexec /tmp/
/usr/sbin/groupadd oinstall
/usr/sbin/useradd -g oinstall oracle
passwd oracle
export LD_LIBRARY_PATH=/oracle/apps/webgate/webgate/apache/lib/
./deployWebGateInstance.sh -w /oracle/apps/webgateinstance -oh /oracle/apps/webgate -ws apache
The blog covers various articles and posts on Cloud, Big Data Analytics, Data Science, Machine Learning, DevOps, Full Stack Development, Java and Middleware Technologies
Thursday, March 17, 2016
Monday, October 19, 2015
OIM 11G R2 Server Performance Tuning
In this post, I will list some of the server tuning parameter that can be used to tune oim managed server.
JVM Memory
For Hotspot JVM
Min Heap Size(Xms) = 4GB, Max Heap Size(Xmx) = 8GB, PermSize(-X:PermSize) = 500m and PermGen size (-XX:MaxPermSize) = 1 GB.
For JRockit JVM
Min Heap Size(Xms) = 4GB, Max Heap Size(Xmx) = 8GB, PermSize(-X:PermSize) = N/A and PermGen size (-XX:MaxPermSize) = N/A
To change the JVM memory setting:
1. If your OIM version is 11.1.2.1.0 or above, use DOMAIN_HOME/bin/setOIMDomainEnv.sh
(Unix) or setOIMDomainEnv.cmd (Windows). If not, continue to use
DOMAIN_HOME/bin/setDomainEnv.sh (Unix) or setDomainEnv.cmd (Windows) to
change the heap size settings.
2. Change the value of DEFAULT_MEM_ARGS and PORT_MEM_ARGS from the default value and
save.
3. Restart OIM Server
JVM Memory
For Hotspot JVM
Min Heap Size(Xms) = 4GB, Max Heap Size(Xmx) = 8GB, PermSize(-X:PermSize) = 500m and PermGen size (-XX:MaxPermSize) = 1 GB.
For JRockit JVM
Min Heap Size(Xms) = 4GB, Max Heap Size(Xmx) = 8GB, PermSize(-X:PermSize) = N/A and PermGen size (-XX:MaxPermSize) = N/A
To change the JVM memory setting:
1. If your OIM version is 11.1.2.1.0 or above, use DOMAIN_HOME/bin/setOIMDomainEnv.sh
(Unix) or setOIMDomainEnv.cmd (Windows). If not, continue to use
DOMAIN_HOME/bin/setDomainEnv.sh (Unix) or setDomainEnv.cmd (Windows) to
change the heap size settings.
2. Change the value of DEFAULT_MEM_ARGS and PORT_MEM_ARGS from the default value and
save.
3. Restart OIM Server
Saturday, October 17, 2015
OIM 11G R2 PS2 (11.1.2.2.X) Submit Buttion Action Listener Sample Code
In this post , I will be sharing some sample code related to submit action listener that gets invoked every time you hit the submit button on the request page.
---------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------
Labels:
OIM
Friday, October 16, 2015
OIM and OIA SSL Setup and keytool and orapki commands
keytool -importcert -alias youranyaliasname -trustcacerts -file /tmp/deepak/dubey/filename.pem -keystore /tmp/deepak/dubey/mycustomkeystore.jks
on oim admin console
hostname verification to none
update xlconfig.xml to t3s and ssl port
copy 3 jar files
webservices+ssl.jar
jcryptoj.jar
change the keystores in OIA weblogic from the demo keystores to OIM's custom keystores
OHS to OIM mod_wl_ohs.conf
<Location /identity>
SetHandler weblogic-handler
WLCookieName oimjsessionid
WebLogicHost deepak.dubey.com
WebLogicPort 14001
Debug ALL
SecureProxy ON
WlSSLWallet "/tmp/deepak/dubey/wallets/ohs_proxy_ssl_wallet"
WLIOTimeoutSecs 600
Idempotent OFF
WLSRequest ON
WLProxySSL ON
WLProxySSLPassThrough ON
</Location>
change ssl.conf
SSLWallet "/tmp/deepak/dubey/wallets/ohswallet"
./orapki wallet create -wallet /tmp/deepak/dubey/wallets/ohswallet -auto_login_only
./orapki wallet add -wallet /tmp/deepak/dubey/wallets/ohswallet -dn CN=hostname -keysize 2048 -self_signed -validity 3650 -auto_login_only
./orapki wallet create -wallet /tmp/deepak/dubey/wallets/ohs_proxy_ssl_wallet -auto_login_only
./orapki wallet add -wallet /tmp/deepak/dubey/wallets/ohs_proxy_ssl_wallet -trusted_cert -cert RootCA.txt -auto_login_only
./orapki wallet add -wallet /tmp/deepak/dubey/wallets/ohs_proxy_ssl_wallet -trusted_cert -cert HostNameSelfSigned.txt -auto_login_only
keytool -importcert -alias OHS -file OIM-Server.cert -keystore /tmp/deepak/dubey/config/keystores/appTrustKeyStore-hostname.jks
keytool -export -alias myAliasName -file /tmp/deepak/dubey/myAliasName.txt -keystore /tmp/deepak/dubey/config/KeyStores/appIdentityKeyStore.jks -rfc
keytool -export -alias RootCA -file /tmp/deepak/dubey/RootCA.txt -keystore /tmp/deepak/dubey/config/KeyStores/appTrustKeyStore-hostname.jks -rfc
Wednesday, October 14, 2015
OIM OIA 11G R2 PS2 Integration Issue
If you have integrated OIM and OIA and they are in the different domain then you will encounter the issue while running the import jobs.
We need to establish trust between the 2 domains as below .
Navigate to Home > Domain > Security, and check Cross Domain Security is Enabled.
Click Advanced, enter the desired password in the Credential and Confirm Credential fields, and click Save.
Repeat this configuration change for both domains using the same password value.
Restart both Oracle WebLogic Servers.
We need to establish trust between the 2 domains as below .
Navigate to Home > Domain > Security, and check Cross Domain Security is Enabled.
Click Advanced, enter the desired password in the Credential and Confirm Credential fields, and click Save.
Repeat this configuration change for both domains using the same password value.
Restart both Oracle WebLogic Servers.
Subscribe to:
Posts (Atom)