tag:blogger.com,1999:blog-60779203485318858992024-03-29T14:38:29.217+05:30For The Oracle Fusion Middleware Admins ...Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.comBlogger52125tag:blogger.com,1999:blog-6077920348531885899.post-26431563514277690102017-08-18T00:39:00.002+05:302017-08-18T00:39:51.250+05:30GPG key administration for Middle-ware Administrators <div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: Arial, Helvetica, sans-serif;">GnuPG is a tool for secure communication. Using this tool administrators can create public/private key pair which can be used by to encrypt and decrypt critical information. GnuPG uses public-key cryptography so that users may communicate securely. In a public-key system, each user has a pair of keys consisting of a private key and a public key. A user's private key is kept secret; it need never be revealed. The public key may be given to anyone with whom the user wants to communicate.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI5Ki-VZOnvZJxupZzZcdvMYrWUEMgW4ToNDoPVf4y3gbteBLCndvHDccPpjpQJAE8xYd5du3saWa-caNBLP-WOkn-HAqmrYOprYeiyYvjkrF8iH4_5tYWNbRiWOJlJdZgKNQNzZMR4_GV/s1600/wMHZ8Jm.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="240" data-original-width="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI5Ki-VZOnvZJxupZzZcdvMYrWUEMgW4ToNDoPVf4y3gbteBLCndvHDccPpjpQJAE8xYd5du3saWa-caNBLP-WOkn-HAqmrYOprYeiyYvjkrF8iH4_5tYWNbRiWOJlJdZgKNQNzZMR4_GV/s1600/wMHZ8Jm.png" /></a></div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">In this article I intend to provide some basic steps to create and use such key pairs. Also I will try to provide some very informative and useful links pertaining to this topic. Often you may receive requests to generate key pairs required for PGP encryption. How do you do that ?</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Ok ! first things first. In order to create the required key pairs you will need to install GnuPG on the system you intend to encrypt the message on. You can also install GnuPG on your local machine but then you will need to import the key to the source system where you will be encrypting the message.Installation of GnuPG will create a key ring which stores the below.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<br />
<ul>
<li><span style="font-family: Arial, Helvetica, sans-serif;">pubring.gpg # stores the public keys</span></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;">secring.gpg # has your secret keys</span></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;">trustdb.gpg # the levels of trust for signed keys</span></li>
</ul>
<br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">On windows the key ring was stored at C:\Users\<<myname>>\AppData\Roaming\gnupg. On Linux based system the default location is .gnupg (hidden directory) under the OS user default directory location.You will need to use ls -la option to view this directory on Linux/Solaris systems.</myname></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Now for installing GnuPG tool I will highly recommend you follow this <a href="https://www.deepdotweb.com/2015/02/21/pgp-tutorial-for-windows-kleopatra-gpg4win/" target="_blank">blog</a>. I feel the blog is very detailed and takes you through the below topics.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<br />
<ul style="text-align: left;">
<li><span style="font-family: Arial, Helvetica, sans-serif;">Downloading the software</span></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;">Installing the software</span></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;">Generating the key pair</span></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;">Exporting Public/Private keys</span></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;">Obtaining private keys</span></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;">Importing private/public keys</span></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;">Encrypting/Decrypting message</span></li>
</ul>
<br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">The blog shows how to do the above using Kleopatra a GUI tool for certificate management. I personally like the tool since it is very intuitive and easy to use. Same will be installed while you install GnuPG (mentioned in blog above. In case you want to use command line to do the above (like on UNIX based systems) you can easily do so by using commands mentioned here.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">The GNU Privacy handbook talks of all these steps and even more. I highly recommend you go through the content to understand more on this subject. The documentation is available <a href="https://www.gnupg.org/gph/en/manual.html#AEN26" target="_blank">here</a> </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">I hope this post was helpful. Please let me know in the comment section ! </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Happy Learning</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">Soumya Mishra</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.com9tag:blogger.com,1999:blog-6077920348531885899.post-18591440670464486162017-08-08T00:18:00.001+05:302017-08-08T00:18:32.294+05:30Received fatal alert: handshake_failure error while making outbound connection with TLS version v1.2 [TLSv1.2] using Java 1.7.x<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;">The below described issue affects the below version of SOA/Weblogic install:</span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: left;">
</div>
<ul style="text-align: left;">
<li>Oracle SOA Suite - Version 11.1.1.6.0 to 11.1.1.9.0 [Release 11gR1 to 11g]</li>
<li>Oracle WebLogic Server - Version 10.3.6 and later</li>
</ul>
<br />
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;">While trying to make an outbound connection using TLS 1.2 from SOA 11.1.1.7 running on WLS 10.3.6/JDK 1.7U80 as per my article <a href="http://oraclefusionfacts.blogspot.com/2017/07/disabling-ssl-2030-and-enabling-tls-10.html" target="_blank">here</a> one gets the below error.</span></div>
<div style="text-align: left;">
<span style="background-color: #f4cccc; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: left;">
<span style="background-color: #f4cccc; font-family: Arial, Helvetica, sans-serif;">"javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure"</span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;">As per the article and Oracle notes below startup argument should help enabling the TLS 1.2 protocol to make the outbound connection. Below startup argument will support/enable TLS 1.0 to TLS 1.2 protocols for out bound connections made from the server.</span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: left;">
<span style="background-color: #f4cccc; font-family: Arial, Helvetica, sans-serif;">-Dhttps.protocols="TLSv1,TLSv1.1,TLSv1.2"</span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;">However there is a bug that the system may in most cases run into. The <span style="background-color: yellow;">bug 22612527</span> may cause JVM to ignore above flag.</span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;">How do we solve this ?</span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;">Option A:</span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;">Install Patch 22612527 (Please Note: required Patch 13866584 is needed before installing 22612527)</span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;">After installing the patch, add -Dhttps.protocols="TLSv1.2" to the SOA JVM startup arguments and test if the issue is gone ! This approach is recommended in case you do not want to upgrade the JDK and retest the code.</span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;">Option B:</span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;">Upgrade Java to version 1.8 or 1.7 131 b12 (or greater) both of these versions use TLSv1.2 by default.</span></div>
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">Voila, you just solved a critical issue and turned your Integration server into a more secure system ! Please let me know in the comment section if this article helped you anyways.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Happy Learning ...</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Soumya Mishra</span><br />
<br /></div>
Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.com1tag:blogger.com,1999:blog-6077920348531885899.post-42509114442246094192017-07-29T02:37:00.000+05:302017-08-08T00:02:38.675+05:30Disabling SSL 2.0/3.0 and enabling TLS 1.0 or higher in Weblogic 10.3.6 & JDK 7<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 12.65pt; mso-outline-level: 3;">
<b><span style="color: #0b5394; font-family: "arial" , sans-serif; font-size: 13.5pt;">SSL in Weblogic</span></b><b><span style="font-family: "times new roman" , serif; font-size: 13.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin: 10pt 0in 0.0001pt; text-align: left;">
<span style="font-family: "verdana" , sans-serif;">Secure Sockets Layer (SSL) provides secure connections by
allowing two applications connecting over a network to authenticate each
other's identity and by encrypting the data exchanged between the applications.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 10pt 0in 0.0001pt; text-align: left;">
<span style="font-family: "verdana" , sans-serif;">SSL in WebLogic Server 10.3.6 is an implementation SSL 3.0
and Transport Layer Security (TLS) 1.0 specifications.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 10pt 0in 0.0001pt; text-align: left;">
<span style="font-family: "verdana" , sans-serif;">Certicom is currently the default SSL implementation in
Weblogic Server. <o:p></o:p></span></div>
<div class="MsoNormal" style="margin: 10pt 0in 0.0001pt; text-align: left;">
<span style="font-family: "verdana" , sans-serif;">JSSE may be enabled as an alternative SSL implementation.</span><span style="font-family: "arial" , sans-serif; font-size: 13.5pt;"><o:p></o:p></span><br />
<span style="font-family: "verdana" , sans-serif;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1dtfPd_0mzS90CE1fPWMykYW3UTdSZ9rAn7sV2gSitwh4cAXF4q7rALQSlBNIbD6I34f3tciwM4oSVcKjL5Lfhs3vl7Aahyphenhyphenvvr557AV6S1ZIpzaFSfKR6Nza4tjGvcXj4WMtC8mfPj3cT/s1600/TLS-600x400.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="400" data-original-width="600" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1dtfPd_0mzS90CE1fPWMykYW3UTdSZ9rAn7sV2gSitwh4cAXF4q7rALQSlBNIbD6I34f3tciwM4oSVcKjL5Lfhs3vl7Aahyphenhyphenvvr557AV6S1ZIpzaFSfKR6Nza4tjGvcXj4WMtC8mfPj3cT/s400/TLS-600x400.png" width="400" /></a></div>
<span style="font-family: "verdana" , sans-serif;"><br /></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 12.65pt; mso-outline-level: 3;">
<b><span style="color: #0b5394; font-family: "arial" , sans-serif; font-size: 13.5pt;">So why disable SSL 2.0/3.0?<o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif;">Oracle WebLogic Server should configured exclude
SSL 2.0 and/or SSL 3.0 to in order to mitigate the Poodle vulnerability. This
often comes as a direction from security teams. The recommended protocols are
TLS 1.0 and preferably TLS 1.2 which is more recent.<span style="font-size: 13.5pt;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-size: 13.5pt;"><span style="font-family: "verdana" , sans-serif;"><br /></span></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<b><span style="color: #0b5394; font-family: "arial" , sans-serif; font-size: 13.5pt;">What protocol to use if not SSL 2.0/3.0?</span></b></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif;">Transport layer Protocol (TLS) 1.0 and preferably 1.1 or 1.2.</span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif;"><i><b>Key Question 1 - So what configurations would a Middleware Admin
make to disable SSL V2/V3 support on Weblogic and enable TLS protocols which
are safer and recommended by Oracle? </b></i><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif;"><b><i>Key Question 2 - How do we enable Weblogic to use TLS 1.0 and
above SSL protocol for inbound and outbound connections?</i></b></span><span style="font-family: "times new roman" , serif;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 12.65pt; mso-outline-level: 3;">
<b><span style="color: #0b5394; font-family: "arial" , sans-serif; font-size: 13.5pt;">Let’s try and answer
it.<o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif;">Now assuming the Weblogic version is 10.3.6 and
JDK used is 1.7 plus below is some facts to know and consider before making
changes.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-line-height-alt: 10.8pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;">
<!--[if !supportLists]--><span style="font-family: "verdana" , sans-serif;">•<span style="font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span><!--[endif]-->Before 10.3.3 (11g),
Certicom SSL was the only SSL implementation.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-line-height-alt: 10.8pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;">
<!--[if !supportLists]--><span style="font-family: "verdana" , sans-serif;">•<span style="font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span><!--[endif]-->In 10.3.3 thru 10.3.6
(11g), Certicom SSL is the default SSL implementation, with <a href="https://docs.oracle.com/cd/E23943_01/web.1111/e13707/ssl.htm">JSSE
available</a> by enabling a property switch.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-line-height-alt: 10.8pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;">
<!--[if !supportLists]--><span style="font-family: "verdana" , sans-serif;">•<span style="font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span><!--[endif]-->TLS 1.1 and 1.2 is
supported with a combination of JDK 7 Update 1 (or later) <b>and</b> JSSE
enabled<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-line-height-alt: 10.8pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;">
<!--[if !supportLists]--><span style="font-family: "verdana" , sans-serif;">•<span style="font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span><!--[endif]-->TLS 1.0 is supported on
all releases using either Certicom or JSSE implementation<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-line-height-alt: 10.8pt; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;">
<!--[if !supportLists]--><span style="font-family: "verdana" , sans-serif;">•<span style="font-stretch: normal; font-variant-numeric: normal; line-height: normal;">
</span><!--[endif]--></span><span style="font-family: "verdana" , sans-serif;">Weblogic Server versions
10.3.6 and 12.1.1 and later are certified with JDK 7 in order to enable
JSSE and TLS 1.1/1.2</span><span style="font-family: "arial" , sans-serif;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<b><span style="color: #0b5394; font-family: "arial" , sans-serif; font-size: 13.5pt;">Inbound<o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif;">Dweblogic.security.SSL.protocolVersion=TLS1<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif;">The interpretation of this property is different depending
on whether the Certicom or JSSE implementation is used.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-line-height-alt: 10.8pt; mso-list: l1 level1 lfo2; tab-stops: list .5in; text-indent: -.25in;">
<!--[if !supportLists]--><span style="font-family: "verdana" , sans-serif;">q<span style="font-stretch: normal; font-variant-numeric: normal; line-height: normal;"> </span><!--[endif]-->For Certicom, setting
-Dweblogic.security.SSL.protocolVersion=TLS1 enables only TLS 1.0.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: .5in; margin-right: 0in; margin-top: 0in; mso-line-height-alt: 10.8pt; mso-list: l1 level1 lfo2; tab-stops: list .5in; text-indent: -.25in;">
<!--[if !supportLists]--><span style="font-family: "verdana" , sans-serif;">q<span style="font-stretch: normal; font-variant-numeric: normal; line-height: normal;"> </span><!--[endif]-->For JSSE, setting
-Dweblogic.security.SSL.protocolVersion=TLS1 enables any protocol starting with
"TLS", for example TLS 1.0, TLS 1.1, and TLS 1.2.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif;">You may also disable older protocols by configuring a higher
minimum protocol. For example, to gain TLS 1.1 and 1.2 support, (if supported
by the JDK version), use the following as a JAVA_OPTION:<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif;"> <span style="background-color: #ea9999;"> -Dweblogic.security.SSL.minimumProtocolVersion=TLSv1.1</span></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-size: 13.5pt;"><span style="font-family: "verdana" , sans-serif;"><br /></span></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<b><span style="color: #0b5394; font-family: "arial" , sans-serif; font-size: 13.5pt;">Outbound<o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<b><span style="color: #0b5394; font-family: "arial" , sans-serif; font-size: 13.5pt;"> </span></b><span style="font-family: "verdana" , sans-serif; text-indent: -0.25in;">To enable it, you need to use the following -D flags :</span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif;"> <span style="background-color: #ea9999;">-Dhttps.protocols="TLSv1.2“</span></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif; text-indent: -0.25in;">Or as a list of
choices (handshake is first attempted at the highest level protocol):</span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif;">
<span style="background-color: #ea9999;">-Dhttps.protocols="TLSv1,TLSv1.1,TLSv1.2"</span></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif; text-indent: -0.25in;">You may also disable older protocols by configuring a higher
minimum protocol.</span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif;"> Add
<span style="background-color: #ea9999;">-Dweblogic.security.SSL.minimumProtocolVersion=TLSv1.2</span><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif;">You may also have applications running as a client, (e.g.
web services, scripts, or command line) for an outbound ssl connection. Within
a Fusion Middleware environment there are also internal processes running where
an ssl connection is made, (e.g. OPMN, DMS, EM/FMW Control). To control the
outbound connections the following system property is available: <br />
<br />
<span style="background-color: #ea9999;"> -Djdk.tls.client.protocols=TLSv1.0,TLSv1.1,TLSv1.2</span><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif;"><br /></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif;">Hope this post has been helpful to you. I have tried answering the two questions I put to start our discussion.</span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif;">For understanding the changes needed for disabling SSL V2/3 or enabling TLS on Weblogic
12C/JDK8 please refer <a href="http://oraclefusionfacts.blogspot.com/2017/07/tls-support-on-weblogic-12c-jdk8.html" target="_blank">here</a><o:p></o:p></span><br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">Made the above changes and still not able to connect using TLS 1.2? Do you get the below error ? </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="background-color: #ffd966; font-family: Arial, Helvetica, sans-serif;">"javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure"</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">In case yes please refer to to the solution here.</span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif;">Please feel free to ask any questions you may
have in the comment section. Keep learning and spread the word! <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<br />
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "verdana" , sans-serif;">Soumya</span><span style="font-family: "times new roman" , serif; font-size: 13.5pt;"><o:p></o:p></span></div>
</div>
Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.com13tag:blogger.com,1999:blog-6077920348531885899.post-26514140567103274572017-07-29T02:04:00.001+05:302017-07-29T02:43:30.700+05:30TLS Support on Weblogic 12C & JDK8<div dir="ltr" style="text-align: left;" trbidi="on">
<h3 style="line-height: 90%; margin-bottom: 0pt; margin-left: 0in; margin-top: 10pt; text-align: left; text-indent: 0in; unicode-bidi: embed; word-break: normal;">
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 12.65pt; mso-outline-level: 3;">
<b><span style="color: #0b5394; font-family: "arial" , sans-serif; font-size: 13.5pt;"><br /></span></b></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 12.65pt; mso-outline-level: 3;">
<b><span style="color: #0b5394; font-family: "arial" , sans-serif; font-size: 13.5pt;">SSL in Weblogic</span></b><b><span style="font-family: "times new roman" , serif; font-size: 13.5pt;"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif; font-size: small; font-weight: normal;">Secure Sockets Layer (SSL) provides secure connections by
allowing two applications connecting over a network to authenticate each
other's identity and by encrypting the data exchanged between the applications.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif; font-size: small; font-weight: normal;">SSL in WebLogic Server 12.1/12.2 is an implementation of the
Transport Layer Security (TLS) 1.2 specifications (backward compatible hence
1.0 & 1.1 supported)<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif; font-size: small; font-weight: normal;">JSSE is currently the default SSL implementation in Weblogic
Server. (Certicom deprecated and supported in Weblogic 10.3.6)</span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-size: small; font-weight: normal;"><span style="font-family: "arial" , sans-serif;"><br /></span></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 12.65pt; mso-outline-level: 3;">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD6x82n09bXjfZu-MLAULYYA-LI1mPkr-y7L3yfQhqKktwCWUVby7PvcDhsA_9eXuhND2nafIVQT18sGaw5IuRczVnlN7A3e8OMZDCnF91SnVpf4Ov7A5VhlMjS4ER2jyceeIJ9dqLjp8V/s1600/blog-SSL-image.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="444" data-original-width="860" height="329" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD6x82n09bXjfZu-MLAULYYA-LI1mPkr-y7L3yfQhqKktwCWUVby7PvcDhsA_9eXuhND2nafIVQT18sGaw5IuRczVnlN7A3e8OMZDCnF91SnVpf4Ov7A5VhlMjS4ER2jyceeIJ9dqLjp8V/s640/blog-SSL-image.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<b><span style="color: #0b5394; font-family: "arial" , sans-serif; font-size: 13.5pt;">So why are we having
this discussion?<o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-weight: normal;"><span style="font-family: "verdana" , sans-serif; font-size: small;">Oracle WebLogic Server should configured exclude
SSL 2.0 and/or SSL 3.0 to in order to mitigate the Poodle vulnerability. This
often comes as a direction from security teams. There were configurations
needed to be done on Weblogic 10.3.6 and JDK7 installs to exclude these
protocols. <o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif;"><span style="font-weight: normal;"><span style="font-size: small;">So are there any such configurations needed to
be done for Weblogic 12c (12.1 & 12.2) installed with JDK 8? For Weblogic 10.3.6 and JDK 1.7 please refer to my post <a href="http://oraclefusionfacts.blogspot.com/2017/07/disabling-ssl-2030-and-enabling-tls-10.html" target="_blank">here</a>.</span></span><span style="font-size: 13.5pt;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 12.65pt; mso-outline-level: 3;">
<b><span style="color: #0b5394; font-family: "arial" , sans-serif; font-size: 13.5pt;">So what’s the answer?<o:p></o:p></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif;"><span style="font-weight: normal;"><span style="font-size: small;">The answer is NO. Let’s talk in a bit detail
here. I will be talking about both Inbound and Outbound connections.</span></span><span style="font-size: 13.5pt;"><o:p></o:p></span></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<b><span style="color: #0b5394; font-family: "arial" , sans-serif; font-size: 13.5pt;">Inbound<o:p></o:p></span></b></div>
<ul type="disc">
<li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="font-weight: normal;"><span style="font-family: "verdana" , sans-serif; font-size: small;">JDK 8 will use TLS 1.2 as default (No external setting
needed) <o:p></o:p></span></span></li>
<li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="font-weight: normal;"><span style="font-family: "verdana" , sans-serif; font-size: small;">Supports TLS 1.0/1.1 as well – (backward compatible)<o:p></o:p></span></span></li>
<li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="font-weight: normal;"><span style="font-family: "verdana" , sans-serif; font-size: small;">You may also disable older protocols by configuring a
higher minimum protocol. For example, to gain TLS 1.1 and 1.2 support, (if
supported by the JDK version), use the following as a JAVA_OPTION:<o:p></o:p></span></span></li>
</ul>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-weight: normal;"><span style="font-family: "verdana" , sans-serif; font-size: small;"> <span style="background: yellow;"> -Dweblogic.security.SSL.minimumProtocolVersion=TLSv1.1 </span></span></span><span style="font-family: "times new roman" , serif; font-size: 13.5pt;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<b><span style="color: #0b5394; font-family: "arial" , sans-serif; font-size: 13.5pt;">Outbound<o:p></o:p></span></b></div>
<ul type="disc">
<li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="font-weight: normal;"><span style="font-family: "verdana" , sans-serif; font-size: small;">The JDK 8 default allows both TLS 1.1 and 1.2 by
default. <o:p></o:p></span></span></li>
<li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="font-weight: normal;"><span style="font-family: "verdana" , sans-serif; font-size: small;">You may also set a minimum by removing the older
versions, but it is important to consider the external servers the
application is connecting to<o:p></o:p></span></span></li>
<li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="font-weight: normal;"><span style="font-family: "verdana" , sans-serif; font-size: small;">The protocol will always be negotiated to the highest
supported level between the client and server.<o:p></o:p></span></span></li>
<li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;"><span style="font-weight: normal;"><span style="font-family: "verdana" , sans-serif; font-size: small;">Set a minimum by removing the older versions as shown
below (let's say you want to not support TLS 1.0).<o:p></o:p></span></span></li>
</ul>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif; font-size: small; font-weight: normal;"> <span style="background: yellow;">-Djdk.tls.client.protocols=TLSv1.1,TLSv1.2</span><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif; font-size: small; font-weight: normal;">So in short if your,Weblogic/JDK versions are
12.2.1/1.8,the default SSL implementation is JSSE and the default TLS version
supported is TLS 1,2.TLS 1.0/1.1 are also supported (since backward
compatible). <o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif; font-size: small; font-weight: normal;">Hence unlike Weblogic 10.3.6/1.7 we need to set
no extra JAVA parameters to disable SSL V2/V3.Use above parameters highlighted in yellow only if you want to restrict certain older TLS versions. The 12C/JDK1.8 install will
support all TLS versions (1.0 to 1.2). The protocol will always be negotiated
to the highest supported level between the client and server.<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 10.0pt; mso-line-height-alt: 10.8pt;">
<span style="font-family: "verdana" , sans-serif; font-size: small; font-weight: normal;">Please feel free to ask any questions you may
have in the comment section. Keep learning and spread the word! <o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;">
<span style="font-family: "verdana" , sans-serif; font-size: small; font-weight: normal;">Soumya<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
</h3>
<div style="direction: ltr; line-height: 90%; margin-bottom: 0pt; margin-left: 0in; margin-top: 10pt; text-indent: 0in; unicode-bidi: embed; word-break: normal;">
<br /></div>
</div>
Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.com15tag:blogger.com,1999:blog-6077920348531885899.post-72252425692203767982017-07-13T01:54:00.000+05:302017-08-07T23:58:59.634+05:30Connection Testing cannot be enabled for a pool when the ManagedConnectionFactory does not implement ValidatingManagedConnectionFactory<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgldq1amjt4d-EOxKX-Oaa4rhppqHdx68UTRKGWDBuswB8gCxUzyzKSqkUZlB7Mc4rwlRXGq9_jU3t4af_w1ljVaCfvhOMe24pkFpmzl7kNDKfem8PhXgPm7OreH37g4lRjaPkV3stgba5Q/s1600/Funny-Cartoon-Hello-Are-You-There-Ecard-Picture.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="322" data-original-width="410" height="313" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgldq1amjt4d-EOxKX-Oaa4rhppqHdx68UTRKGWDBuswB8gCxUzyzKSqkUZlB7Mc4rwlRXGq9_jU3t4af_w1ljVaCfvhOMe24pkFpmzl7kNDKfem8PhXgPm7OreH37g4lRjaPkV3stgba5Q/s400/Funny-Cartoon-Hello-Are-You-There-Ecard-Picture.jpg" width="400" /></a></div>
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<span style="font-family: "arial" , "helvetica" , sans-serif;">Applies To: Oracle SOA Suite/Weblogic <b>10g,11g,12C</b></span><br />
<br />
<span style="font-family: "arial" , "helvetica" , sans-serif;">I was trying to set below set below JCA Adapter connection pool properties to true. The values I was setting them to is mentioned below.</span><br />
<br />
<span style="background-color: #cfe2f3; font-family: "arial" , "helvetica" , sans-serif;">Test Frequency Seconds: 300 (Default 0)</span><br />
<span style="background-color: #cfe2f3; font-family: "arial" , "helvetica" , sans-serif;">Test Connections On Reserve: True (Default False)</span><br />
<br />
<span style="font-family: "arial" , "helvetica" , sans-serif;">I was trying to set it for a Oracle MQ Series connection pool. The customer reported that the MQ adapter stop picking message from the Websphere MQ once the system went down for maintenance e.g. queue manager unavailable. After confirming the MQ system was up and running the connecting SOA interface/composite had to be restarted to make the system pick messages. With my past experience with datasource connection pools I thought I could fix this issue by forcing the adapter to validate connections to MQ system periodically. I could easily achieve this by setting above connection pool parameters. I<i>deally above setting mean that the MQ connection pool checks for the MQ system to be present every 300 seconds and only passes valid connections to application when it tries to reserve a connection to the MQ system.</i> Theoretically I got it all figured out until I applied the settings and the logs reported below issue ! </span><br />
<br />
<br />
<span style="background-color: #fce5cd; font-family: "courier new" , "courier" , monospace; font-size: large;">weblogic.management.DeploymentException: Connection Testing cannot be enabled for a pool when the ManagedConnectionFactory does not implement ValidatingManagedConnectio</span><br />
<span style="background-color: #fce5cd; font-family: "courier new" , "courier" , monospace; font-size: large;"> nFactory. The following invalid settings have been detected:test-frequency-seconds is set to non-zero</span><br />
<span style="background-color: #fce5cd; font-family: "courier new" , "courier" , monospace; font-size: large;"> [Connector:199167]test-connections-on-reserve is set to true</span><br />
<br />
<br />
<span style="font-family: "arial" , "helvetica" , sans-serif;">The adapter would not come up till I reverted my settings back ! So what happened? </span><br />
<br />
<span style="font-family: "arial" , "helvetica" , sans-serif;">On further research (googling of course) I could find that only if a resource adapter's ManagedConnectionFactory implements the ValidatingManagedConnectionFactory interface, then the application server can test the validity of existing connections. Refer to Testing Connections section <a href="http://docs.oracle.com/cd/E14571_01/web.1111/e13732/connect.htm#ADAPT180" target="_blank">here</a>. </span><br />
<br />
<span style="font-family: "arial" , "helvetica" , sans-serif;"> As per Oracle Metalink doc ID 957853.1 Oracle MQ adapter does not use above stated interface hence as per the error in logs connection validity can't be tested ! Hence enabling connection test setting like below for the MQ series adapter won't work as expected and you will get above mentioned error.</span><br />
<br />
<span style="background-color: #cfe2f3; font-family: "arial" , "helvetica" , sans-serif;">Test Connections On Create:</span><br />
<span style="background-color: #cfe2f3; font-family: "arial" , "helvetica" , sans-serif;">Test Connections On Reserve:</span><br />
<span style="background-color: #cfe2f3; font-family: "arial" , "helvetica" , sans-serif;">Test Connections On Release:</span><br />
<br />
<span style="font-family: "arial" , "helvetica" , sans-serif;">So now the question remains, is there a way we can work around this known limitation? Well I think it is possible. Oracle Metalink doc ID <b>957853.1</b> declares this issue as <b>Bug 8913481 & Bug 8918056</b>. The note prescribes applying patch <b>8918056 (MQAdapter fix)</b> to fix above explained issue. But the patch applies to older version of BPEL (10.1.3.4) </span><br />
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<span style="font-family: "arial" , "helvetica" , sans-serif;">I would encourage you to present this analysis to Oracle and request a patch for above mentioned bugs for newer versions of Oracle SOA Suite/Middleware like 11g/12C. I got the above issue on Oracle SOA Suite version 11.1.1.7.8. I reached out to Oracle and they asked me to apply the patch for bug 21689260.</span><br />
<br />
<span style="font-family: "arial" , "helvetica" , sans-serif;">On a side note this issue is also relevant for other Oracle adapters available with SOA Suite. As per Oracle Metalink Doc ID 1282064.1 testing of the Apps adapter and DB adapter connection factories via the WebLogic console is not supported since the ManagedConnectionFactory of both adapters does not implement ValidatingManagedConnectionFactory due to performance considerations (during runtime) and due to the fact that the DB/Apps JCA connection is just a shallow wrapper around a data source connection handle.</span><br />
<br />
<span style="font-family: "arial" , "helvetica" , sans-serif;">Soumya Mishra</span><br />
<br />
<br />
<div>
<br /></div>
</div>
Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.com4tag:blogger.com,1999:blog-6077920348531885899.post-90012287671887253232017-06-29T01:12:00.000+05:302017-06-29T01:19:06.191+05:30JMS Store declared unhealthy and unavailable: start() failed on resource 'WLStore_XXX_base_domain_SOAJMSFileStore': XAER_RMFAIL : Resource manager is unavailable<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><b>So what happened? </b></span><br />
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<span style="font-family: "arial" , "helvetica" , sans-serif;">The SOA JMS
Store (Handled as an XA Resource by WLS) went unavailable (declared
Unhealthy) for 30 minutes. During this
time the logs were full of below errors.</span><br />
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="background-color: #cfe2f3; font-family: "courier new"; text-indent: 0.5in;">start()
failed on resource 'WLStore_XXX_base_domain_SOAJMSFileStore': XAER_RMFAIL :
Resource manager is unavailable</span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="text-indent: 0.5in;"><span style="font-family: "arial" , "helvetica" , sans-serif;">After
30 minutes the persistent store was available.After the store was available, JVM was filled with
pending/back log messages which resulted in Full GC condition. The Full GCs
are Stop the World and rendered the JVM inaccessible for application use. To make the server accessible and available for application work to proceed had to restart the SOA server.</span></span></div>
<div class="MsoNormal">
<span style="font-size: 12pt; text-indent: 0.5in;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="font-size: 12pt; text-indent: 0.5in;">Above error/issue applies to Oracle </span><span style="font-size: 12pt; text-indent: 0.5in;">SOA Suite 11g/12C.</span></span></div>
<div class="MsoNormal">
<span style="text-indent: 0.5in;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="MsoNormal">
<span style="text-indent: 0.5in;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><b>What were the error in logs?</b></span></span></div>
<div class="MsoNormal">
<span style="background-color: #cfe2f3; text-indent: 0.5in;"><br /></span></div>
<div class="MsoNormal" style="text-align: left;">
<span style="background-color: #cfe2f3; font-family: "courier new";">The
JTA health state has changed from HEALTH_OK to HEALTH_WARN with reason codes:
Resource WLStore_XXX_base_domain_SOAJMSFileStore declared unhealthy</span></div>
<div class="MsoNormal" style="text-align: left;">
<span style="background-color: #cfe2f3; color: red; font-family: "courier new";"><br /></span></div>
<div class="MsoNormal" style="text-align: left;">
<span style="background-color: #cfe2f3; font-family: "courier new"; text-indent: 48px;">start() failed on resource 'WLStore_XXX_base_domain_SOAJMSFileStore': XAER_RMFAIL : Resource manager is unavailable</span></div>
<div class="MsoNormal" style="text-align: left;">
<span style="background-color: #cfe2f3; font-family: "courier new"; text-indent: 48px;"><br /></span></div>
<div class="MsoNormal">
<span style="background-color: #cfe2f3; font-family: "courier new";"><jun 14="" 2017="" 2:18:20="" gmt="" pm=""> <error> <oracle .soa.bpel.engine="">
<bea-000000> <the active="" an="" be="" current="" exception="" execution="" for="" in="" instance="" is="" jta="" o:p="" of="" process="" reason="" status="" supposed="" the="" this="" to="" transaction="" underlying="" ustomermfpoin_abc="" was=""></the></bea-000000></oracle></error></jun></span></div>
<div class="MsoNormal">
<span style="background-color: #cfe2f3; font-family: "courier new";">Exception occured
when binding was invoked.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background-color: #cfe2f3; font-family: "courier new";">Exception occured
during invocation of JCA binding: "JCA Binding execute of Reference
operation 'Produce_Message' failed due to: ERRJMS_PROVIDER_ERR.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background-color: #cfe2f3; font-family: "courier new";">ERRJMS_PROVIDER_ERR.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background-color: #cfe2f3; font-family: "courier new";">Unable to produce
message due to JMS provider internal error.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background-color: #cfe2f3; font-family: "courier new";">Please examine the
log file to determine the problem.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background-color: #cfe2f3; font-family: "courier new";">". <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background-color: #cfe2f3; font-family: "courier new";">The invoked JCA
adapter raised a resource exception.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background-color: #cfe2f3; font-family: "courier new";">Please examine the
above error message carefully to determine a resolution.<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background-color: #cfe2f3; font-family: "courier new";">" . Root cause
: <o:p></o:p></span></div>
<div class="MsoNormal">
<span style="background-color: #cfe2f3; font-family: "courier new";">javax.transaction.SystemException:
start() failed on resource 'WLStore_XXX_base_domain_SOAJMSFileStore':
XAER_RMFAIL : Resource manager is unavailable<o:p></o:p></span></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<span style="font-family: "courier new";"><span style="background-color: #cfe2f3;">javax.transaction.xa.XAException:
Internal error: XAResource 'WLStore_XXX_base_domain_SOAJMSFileStore' is
unavailable</span><o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "courier new";"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "courier new";"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><b>So why was the persistent store declared unhealthy?</b></span></div>
<div class="MsoNormal">
<span style="color: #4f81bd; font-size: 12pt;"><br /></span></div>
<div class="MsoNormal">
<span style="font-size: 12pt;"><span style="font-family: "arial" , "helvetica" , sans-serif;">By default, if an XA resource that is participating in a global
transaction fails to respond to an XA call from the WebLogic Server transaction
manager, WebLogic Server flags the resource as unhealthy and unavailable, and
blocks any further calls to the resource in an effort to preserve resource
threads. The failure can be caused by either an unhealthy transaction or an
unhealthy resource—there is no distinction between the two causes. In both
cases, the resource is marked as unhealthy (Doc ID 1484996.1)</span></span></div>
<div class="MsoNormal">
<span style="background-color: white; font-size: 12pt;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="MsoNormal">
<span style="background-color: white;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="font-size: 12pt;">Here
JMS store/XA resource has not responded to a request from the WebLogic
Transaction Manager for 120 seconds "MaxXACallMillis." When this
happened, the WLS Transaction Manager marked that XA resource as unhealthy and
then </span>stopped<span style="font-size: 12pt;"> all further communication to that XA resource until the time
"MaxResourceUnavailableMillis" passed, which is set to 30 mins (in a default install)</span></span></span></div>
<div class="MsoNormal">
<span style="font-family: "courier new";"><br /></span></div>
<div class="MsoNormal">
<b><span style="font-family: "calibri" , sans-serif; font-size: 14pt;">Q. Why did the persistent store go inaccessible for 30
minutes? </span></b></div>
<div class="MsoNormal">
<span style="background-color: white; font-size: 12pt; text-indent: 0.5in;"><br /></span></div>
<div class="MsoNormal">
<span style="background-color: white; font-size: 12pt; text-indent: 0.5in;"><span style="font-family: "arial" , "helvetica" , sans-serif;">A.
MaxResourceUnavailableMillis defines the maximum duration (in milliseconds)
that an XA resource is marked as unhealthy. This is by default set to 30
Minutes After this duration, the XA resource is declared available again.</span></span></div>
<div class="MsoNormal">
<span style="background-color: white; font-size: 12pt; text-indent: 0.5in;"><br /></span></div>
<div class="MsoNormal">
<b><span style="font-family: "arial" , "helvetica" , sans-serif;">Q. Why did the
JMS Store not respond to transaction manager on time?</span><i style="font-size: 14pt;"><o:p></o:p></i></b></div>
<div class="MsoNormal">
<b><i><span style="font-size: 14.0pt;"><br /></span></i></b></div>
<div class="MsoNormal">
<span style="font-size: 12.0pt;"><span style="font-family: "arial" , "helvetica" , sans-serif;">A. There could be various
reasons. It could be because –<o:p></o:p></span></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-size: 12pt;"><span style="font-family: "arial" , "helvetica" , sans-serif;">1. As per Oracle Note# 1358303.1 which has the same
error code we faced - file store itself had an issue. It had grown very
big, so it was showing as unhealthy and compromising the JTA health as it
is a participating resource in the complete transaction. </span></span></div>
<div class="MsoNormal">
<span style="font-size: 12pt;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="MsoNormal">
<span style="font-size: 12pt;"><span style="font-family: "arial" , "helvetica" , sans-serif;">2. There could be a minor NW Issue that would have
caused accessibility issue between server and JMS Store which resides on
disks. I could not see anything in logs regarding NW connectivity errors
so far.</span></span></div>
<div class="MsoNormal">
<span style="color: #4f81bd; font-size: 12pt;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="font-size: 12pt;">3. </span><span style="font-size: 12pt;">The JMS store could be busy
processing other transactions and would need more time to respond than
configured as per MaxXACallMillis. Talk to developers and understand the code design and see how busy the JMS queues/topics are?</span></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span style="font-family: "calibri" , sans-serif; font-size: 14pt;">Q. What are the tuning recommendations to prevent this
error/issue in future?</span></b></div>
<div class="MsoNormal">
<span style="background-color: white;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="background-color: white;">1</span><span style="font-size: 12pt;">. Set WLS
domain parameter MaxResourceUnavailableMillis to lesser minutes from existing 30 minutes, I would start with 10.
(This recommendation is as per Metalink Note # 1320141.1). This will ensure the
WLS resources are tried for availability after 10 minutes instead of current 30,
hence causing minimal system downtime. This will also cause less messages to
queue up for processing once the store comes back up in case of similar
failures in future. Fewer back logs will prevent server to go into long
duration GCs which happened in above case.</span></span></div>
<div class="MsoNormal">
<span style="background-color: white; color: #4f81bd; font-size: 12pt; text-indent: 0.5in;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="MsoNormal">
<span style="background-color: white; text-indent: 0.5in;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="font-size: 12pt;">2.
In case you see this issue reappearing and anticipate a busy store, increase MaxXACallMillis to 3 Minutes and
see if the issue reappears. By making this change we will allow more time to
store to respond before being declared unhealthy. Keep tuning this parameter until you see optimal performance in your environment based on the application design and usage. Again no one size fits all, so try coming up with number that will work for your </span>environment<span style="font-size: 12pt;">/application.</span></span></span></div>
<div class="MsoNormal">
<span style="background-color: white; text-indent: 0.5in;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="MsoNormal">
<span style="background-color: white; text-indent: 0.5in;"><span style="font-family: "arial" , "helvetica" , sans-serif;">3.
Compacting the file store would help to compact and fragment the space occupied
by the file store. The compact command does not delete current data, and only
works when the WebLogic Server that hosts the store is off-line. Make sure you back up the old store file before you run the compact command. Refer <a href="https://docs.oracle.com/cd/E13222_01/wls/docs92/config_wls/store.html#wp1149755" target="_blank">here</a> to see how you can run the compaction commands.</span></span></div>
<div class="MsoNormal">
<span style="font-size: 12pt;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span></div>
<div class="MsoNormal">
<span style="font-size: 12pt;"><span style="font-family: "arial" , "helvetica" , sans-serif;">4.
In most situations, file stores do not grow too large. After a message is
consumed, it is deleted from the file store and the space it consumed is made
available for other messages. However, if too many messages are stored in the
file store so that the file store keeps getting too large repeatedly, then we
must set lower quotas so that producers are blocked from sending more messages
into the destination until the consumers have consumed and deleted the message.
Note that it is recommended that JMS configurations should configure quotas on
each JMS server. The quota can be set based on application requirements. I will try and discuss this at length in another post. </span></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "helvetica" , sans-serif;">Please let me know in the comment section if above tuning helped you. I will be glad to listen to your stories and experiences. Happy learning ! </span></div>
<div class="MsoNormal">
<span style="font-family: "courier new";"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "helvetica" , sans-serif;">Soumya Mishra </span></div>
<div class="MsoNormal">
<span style="font-family: "courier new";"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "courier new";"><br /></span></div>
</div>
Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.com3tag:blogger.com,1999:blog-6077920348531885899.post-36453683027522647342016-08-23T02:35:00.000+05:302016-08-23T02:50:38.429+05:30Faster Weblogic Server Startup on Linux VM<div dir="ltr" style="text-align: left;" trbidi="on">
<h3 style="text-align: left;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></h3>
<h3 style="text-align: left;">
<span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><u>Problem</u></span></h3>
<div style="text-align: left;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: "arial" , "helvetica" , sans-serif;">Weblogic server running on a Linux Virtual Machine is stuck while startup. For instance a Oracle SOA 12.2.1 weblogic manage server may take upto 12 minutes to startup on a Linux VM. A Weblogic 12C manage Server running nothing may take upto 4 minutes to start. The virtual machines are all equipped with enough CPUs and memory. </span></div>
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<br />
<h3 style="text-align: left;">
<span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><u>Applies To </u></span></h3>
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<span style="font-family: "arial" , "helvetica" , sans-serif;">Weblogic 12.1.x,12.2.x</span><br />
<span style="font-family: "arial" , "helvetica" , sans-serif;">RHEL X86,X86_64 Virtual Machines</span><br />
<span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span>
<br />
<h3 style="text-align: left;">
<span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><u>Cause</u></span></h3>
<div>
<span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: "arial" , "helvetica" , sans-serif;"><span style="background-color: white;">Linux has two devices to provide random data at any time: </span><strong style="background-color: white;">/dev/random</strong><span style="background-color: white;"> and </span><strong style="background-color: white;">/dev/urandom</strong><span style="background-color: white;">. Both ways should be secure enou</span><span style="background-color: white;">gh to use them in generating PGP keys, ssh challenges, and other applications where secure random numbers are required. Starting on kernel 2.6, default entropy is 4096 bits and problem arises when the entropy available on the system is minimum (around 100 bits or</span><span style="background-color: white;"> less).</span></span></div>
<span style="background-color: white; font-size: x-small;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span>
<br />
<h3 style="text-align: left;">
<strong style="background-color: white;"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><u>How to verify if you are encountering this issue?</u></span></strong></h3>
<span style="font-family: "tahoma" , "verdana" , "helvetica" , sans-serif; font-size: x-small;"><b><br /></b></span>
<span style="font-family: "tahoma" , "verdana" , "helvetica" , sans-serif;">1. Check the default system entropy</span><br />
<span style="font-family: "tahoma" , "verdana" , "helvetica" , sans-serif;"><br /></span>
<span style="font-family: "tahoma" , "verdana" , "helvetica" , sans-serif;">$ cat /proc/sys/kernel/random/poolsize </span><br />
<span style="font-family: "tahoma" , "verdana" , "helvetica" , sans-serif;">4096</span><br />
<span style="font-family: "tahoma" , "verdana" , "helvetica" , sans-serif;"><br /></span>
<span style="font-family: "tahoma" , "verdana" , "helvetica" , sans-serif;">2. Check the available entropy.</span><br />
<span style="font-family: "tahoma" , "verdana" , "helvetica" , sans-serif;"><br /></span>
<span style="font-family: "tahoma" , "verdana" , "helvetica" , sans-serif;">$ cat /proc/sys/kernel/random/entropy_avail </span><br />
<span style="font-family: "tahoma" , "verdana" , "helvetica" , sans-serif;">160</span><br />
<span style="font-family: "tahoma" , "verdana" , "helvetica" , sans-serif;"><br /></span>
<span style="font-family: "tahoma" , "verdana" , "helvetica" , sans-serif;">3. On previous example, entropy is too low.</span><br />
<span style="font-family: "tahoma" , "verdana" , "helvetica" , sans-serif;"><br /></span>
<span style="font-family: "tahoma" , "verdana" , "helvetica" , sans-serif;">Monitor the current entropy of the system by using the following command:</span><br />
<span style="font-family: "tahoma" , "verdana" , "helvetica" , sans-serif;"><br /></span>
<span style="font-family: "tahoma" , "verdana" , "helvetica" , sans-serif;"><span style="background-color: white;"></span></span><br />
<span style="font-family: "tahoma" , "verdana" , "helvetica" , sans-serif;">$ for i in $(seq 500); do cat /proc/sys/kernel/random/entropy_avail ; sleep 5; done</span><br />
<span style="font-family: "tahoma" , "verdana" , "helvetica" , sans-serif;"><br /></span>
<span style="font-family: "tahoma" , "verdana" , "helvetica" , sans-serif;">4. </span><span style="background-color: white; font-family: "tahoma" , "verdana" , "helvetica" , sans-serif;">Start a WebLogic server instance. You should see that entropy decreases or stalls (use script in step 3)</span><br />
<br />
<h3 style="text-align: left;">
<span style="background-color: white;"><span style="font-family: "arial" , "helvetica" , sans-serif; font-size: small;"><u>Solution</u></span></span></h3>
<span style="background-color: white; font-family: "tahoma" , "verdana" , "helvetica" , sans-serif;"><br /></span>
<span style="background-color: white; font-family: "tahoma" , "verdana" , "helvetica" , sans-serif;">1. Temporary Solution (Use for testing purpose)</span><br />
<span style="background-color: white; font-family: "tahoma" , "verdana" , "helvetica" , sans-serif;"><br /></span>
<span style="background-color: white; font-family: "tahoma" , "verdana" , "helvetica" , sans-serif;">Start the WLS Server with below startup arguments.</span><br />
<span style="background-color: white; font-family: "tahoma" , "verdana" , "helvetica" , sans-serif;"><br /></span>
<strong style="background-color: white; font-family: "Courier New", Courier, monospace;">-Djava.security.egd=file:/dev/./urandom</strong><br />
<strong style="background-color: white; font-family: "Courier New", Courier, monospace;"><br /></strong>
<span style="background-color: white; font-family: "tahoma" , "verdana" , "helvetica" , sans-serif;">Override the JAVA_OPTIONS environment variable before starting WebLogic Server via shell scripts.</span><br />
<strong style="background-color: white; font-family: "Courier New", Courier, monospace;"><br /></strong>
<span style="background-color: white; font-family: "courier new" , "courier" , monospace;">export JAVA_OPTIONS="${JAVA_OPTIONS} </span><strong style="background-color: white; font-family: "Courier New", Courier, monospace;">-Djava.security.egd=file:/dev/./urandom</strong><span style="background-color: white; font-family: "courier new" , "courier" , monospace;">"</span><br />
<span style="background-color: white; font-family: "courier new" , "courier" , monospace;"><br /></span>
<span style="background-color: white;"><span style="font-family: "arial" , "helvetica" , sans-serif;">Start the Weblogic Server and note the timings!</span></span><br />
<span style="background-color: white;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span>
<span style="background-color: white;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span>
<span style="background-color: white;"><span style="font-family: "arial" , "helvetica" , sans-serif;">2. Permanent Solution (Use if Step 1 works)</span></span><br />
<span style="background-color: white;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span>
<span style="background-color: white;"><span style="font-family: "arial" , "helvetica" , sans-serif;">If the above solution works it is time to setup the fix permanently in the env. The fix can be applied in the JAVA_HOME the Weblogic server refers to.</span></span><br />
<span style="background-color: white;"><span style="font-family: "arial" , "helvetica" , sans-serif;"><br /></span></span>
<br />
<div style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">
i. Edit the Java Security Properties file (<strong>$JAVA_HOME/jre/lib/security/java.security</strong>)</div>
<div style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">
<br />
ii. The <strong>securerandom.source</strong> property specifies the source of seed data for secure random.</div>
<div style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">
<br /></div>
<div style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">
Change</div>
<div style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">
<strong style="font-family: "Courier New", Courier, monospace;"><strike>securerandom.source=file:/dev/random</strike></strong></div>
<div style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">
<br />
To<br />
<br /></div>
<div style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">
<span class="kmfixedwidthfont" style="font-family: "courier new" , "courier" , monospace;"><strong>securerandom.source=file:/dev/urandom</strong></span></div>
<div style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">
<span class="kmfixedwidthfont" style="font-family: "courier new" , "courier" , monospace;"><strong><br /></strong></span></div>
<div style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">
iii. Save changes and start the WebLogic Server instances.</div>
<div style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">
<br /></div>
<h3 style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif; text-align: left;">
<span style="font-size: small;"><u>Observation</u></span></h3>
<div>
<span style="font-size: small;"><br /></span></div>
<div style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">
We could see the startup tiings for Weblogic server improved dramatically. For instance the SOA Manage Server now took only less than 3 minutes as against 12 minutes before the fix was applied! The bare Weblogic manage servers took less tha 20 seconds to start !</div>
<span style="background-color: white; font-family: "tahoma" , "verdana" , "helvetica" , sans-serif; font-size: x-small;"><br /></span>
<span style="background-color: white; font-family: "tahoma" , "verdana" , "helvetica" , sans-serif; font-size: x-small;"><br /></span>
<br />
<h3 style="text-align: left;">
<span style="background-color: white; font-family: "arial" , "helvetica" , sans-serif; font-size: x-small;"><u>References</u></span></h3>
<span style="background-color: white; font-family: "tahoma" , "verdana" , "helvetica" , sans-serif; font-size: x-small;"><br /></span>
<span style="background-color: white; font-family: "tahoma" , "verdana" , "helvetica" , sans-serif; font-size: x-small;"><span style="font-family: "tahoma" , "verdana" , "helvetica" , sans-serif; font-size: 14.3px; font-weight: bold; text-align: right;">How to Diagnose a Linux Entropy Issue on WebLogic Server Instances (Doc ID 1574979.1)</span></span><br />
<br /></div>
Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.com7tag:blogger.com,1999:blog-6077920348531885899.post-45640988623930934932016-08-15T09:18:00.000+05:302016-08-15T09:18:12.943+05:30Starting OHS 12c via startComponent takes several minutes on a Linux Virtual Machine - SOLVED<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"><b><br /></b></span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;">I recently started working with Oracle HTTP server on a Linux VM. On trying to start the OHS using the startComponent script I was surprised to observe the startup duration was over 8 minutes! The same took seconds in 11g version of the same software. After few research on metalink I could solve the issue. I am providing the solution below.</span></div>
<div style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<h2 style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="font-size: small;"><u>Issue Applies To</u></span></span></h2>
<span style="font-family: Arial, Helvetica, sans-serif;">The issue described and solution offered applied to below Oracle FMW Components.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Oracle HTTP Server 12.2.1 Installed on RHEL 6 Virtual Machine. The same issue/solution applies to OHS 12.1. and later.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<h2 style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif; font-size: small;"><u>Issue Description</u></span></h2>
<span style="font-family: Arial, Helvetica, sans-serif;">Starting from OHS 12C, the OHSservices are monitored/managed by Node Manager. Once the Node manager is started ,the OHS service is started using <span style="background-color: white;">startComponent script.</span>While trying to do the script gets stuck for minutes (8 Minutes in my case!)</span><br />
<br />
<span style="font-family: Courier New, Courier, monospace;">$DOMAIN_HOME/bin/startComponent.sh ohs1</span><br />
<span style="font-family: Courier New, Courier, monospace;"><br /></span>
<span style="font-family: Courier New, Courier, monospace;"> Starting system Component ohs1 ...</span><br />
<span style="font-family: Courier New, Courier, monospace;"><br /></span>
<span style="font-family: Courier New, Courier, monospace;"> Initializing WebLogic Scripting Tool (WLST) ...</span><br />
<span style="font-family: Courier New, Courier, monospace;"><br /></span>
<span style="font-family: Courier New, Courier, monospace;"> Welcome to WebLogic Server Administration Scripting Shell</span><br />
<span style="font-family: Courier New, Courier, monospace;"><br /></span>
<span style="font-family: Courier New, Courier, monospace;"> Type help() for help on available commands</span><br />
<span style="font-family: Courier New, Courier, monospace;"><br /></span>
<span style="font-family: Courier New, Courier, monospace;"> Reading domain from <domain path=""></domain></span><br />
<span style="font-family: Courier New, Courier, monospace;"> <b><span style="color: red;"> Here it just sits for several minutes </span></b></span><br />
<span style="font-family: Courier New, Courier, monospace;"> </span><br />
<span style="font-family: Courier New, Courier, monospace;"> Connecting to Node Manager ...</span><br />
<span style="font-family: Courier New, Courier, monospace;"> Successfully Connected to Node Manager.</span><br />
<span style="font-family: Courier New, Courier, monospace;"> Starting server ohs1 ...</span><br />
<span style="font-family: Courier New, Courier, monospace;"><br /></span>
<h2 style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif; font-size: small;"><u>Cause </u></span></h2>
<span style="font-family: Arial, Helvetica, sans-serif;">T</span><span style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">he problem is due to random number generation (entropy) on the Linux VM.</span><span style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;"> More on the entropy issues can be found in Metalink note </span><a href="https://support.oracle.com/epmos/faces/DocumentDisplay?parent=DOCUMENT&sourceId=2006106.1&id=1574979.1" style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">NOTE:1574979.1</a>.The <span style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">vm was running out of entropy.</span><span style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;"> </span><span style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">After changing where Java got its random numbers from, the startup time came down manifold!</span><br />
<span style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;"><br /></span>
<h2 style="text-align: left;">
<span style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;"><span style="font-size: small;"><u>Solution </u></span></span></h2>
<span style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">1) Stop OHS</span><br />
<span style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">stopComponent.sh ohs1</span><br style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;" /><br style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;" /><span style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">2) Backup and edit java.security</span><br style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;" /><span style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">$ORACLE_HOME/oracle_common/jdk/jre/lib/security/java.security</span><br style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;" /><br style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;" /><span style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">3) Change securerandom.source</span><br style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;" /><span style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">From:</span><br style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;" /><span style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">securerandom.source=file:/dev/urandom</span><br style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;" /><span style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">(In 12.2.1 this is securerandom.source=file:/dev/random)</span><br style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;" /><span style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">To:</span><br style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;" /><span style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">securerandom.source=file:/dev/./urandom</span><br style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;" /><br style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;" /><span style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">4) Start OHS</span><br style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;" /><span style="background-color: white; font-family: Tahoma, Verdana, Helvetica, sans-serif;">startComponent.sh ohs1</span><div>
<span style="font-family: Tahoma, Verdana, Helvetica, sans-serif;"><br /></span><h2 style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif; font-size: small;"><u>Observation</u></span></h2>
<span style="font-family: Arial, Helvetica, sans-serif;">Hurray! The startup time for OHS now takes close to 25 seconds compared to 8 minutes earlier!</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<h2 style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif; font-size: small;"><u>References</u></span></h2>
<span style="font-family: Arial, Helvetica, sans-serif;">NOTE:2006106.1 - Starting OHS 12c via startComponent takes several minutes on a Virtual Machine</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">NOTE:1574979.1 - How to Diagnose a Linux Entropy Issue on WebLogic Server Instances</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Courier New, Courier, monospace; font-size: x-small;"><br /></span></div>
</div>
Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.com5tag:blogger.com,1999:blog-6077920348531885899.post-77891152764813885762014-09-06T21:10:00.000+05:302014-09-06T21:12:51.416+05:30URL Redirection on Oracle HTTP Server<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" style="text-align: left;" trbidi="on">
An application is supposed to be decommissioned now and a new Application needs to replace it. The new application has a new/different URL. However the business would want the old applications users to face less issues. The business people would like the old application users to be redirected to new Application URL on hitting the old Application URL automatically!<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisx3kXguyvDpCgcg6w0PIWbyEOEq7mQbIKGAFSnAEmJK6IAwJCnENhF0hYnxGS8KWIYFgs7k9znkJomA9J1A1bIUNPAVJMJhQ3slJRbAD8Q8oedTD9rzSsMyJnyQ7su8XwRQxhImv4hMei/s1600/Capture.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisx3kXguyvDpCgcg6w0PIWbyEOEq7mQbIKGAFSnAEmJK6IAwJCnENhF0hYnxGS8KWIYFgs7k9znkJomA9J1A1bIUNPAVJMJhQ3slJRbAD8Q8oedTD9rzSsMyJnyQ7su8XwRQxhImv4hMei/s1600/Capture.JPG" /></a></div>
<br />
How can this be done? Well this involves a small change in the OHS level. Read below to know :<br />
<br />
Old Application URL:<br />
https://learning.oraclefusionfacts.com/welcome/name.jspx<br />
<br />
Redirected to New Application URL:<br />
https://focusonfusion.oraclefusionfacts.com/app/name.jspx<br />
<br />
On the OHS server where we have the configuration for our old application the HTTP server Virtual Server entry look like this: You will find the below entry in the HTTPD.CONF file!<br />
<br />
<span style="font-family: Courier New, Courier, monospace;">#<span style="background-color: #cccccc;"> Start Virtual Server Settings</span></span><br />
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"><br /></span>
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;">NameVirtualHost *:7777</span><br />
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"><virtualhost></virtualhost></span><br />
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"> ServerName https://learning.oraclefusionfacts.com:443</span><br />
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"> ServerAdmin siddharth.mishra@oraclefusionfacts.in</span><br />
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"> RewriteEngine On</span><br />
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"> RewriteOptions inherit</span><br />
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"><br /></span>
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"> <location welcome=""></location></span><br />
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"> SetHandler weblogic-handler</span><br />
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"> WebLogicCluster app.oraclefusionfacts.in:8001</span><br />
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"> </span></div>
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"><br /></span>
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"></span><br />
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"><br /></span>
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"># End Virtual Server Settings</span><br />
<br />
In order to REDIRECT the request coming to the Old URL to our new URL make the following changes to the Virtual Host entry on the HTTPD.CONF file as shown below:<br />
<br />
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"># Start Virtual Server Settings</span><br />
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"><br /></span>
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;">NameVirtualHost *:7777</span><br />
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"><virtualhost></virtualhost></span><br />
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"> ServerName https://learning.oraclefusionfacts.com:443</span><br />
<span style="font-family: Courier New, Courier, monospace;"><span style="background-color: #cccccc;"> </span><span style="background-color: lime;"> Redirect 301 /welcome https://focusonfusion.oraclefusionfacts.com/app/name.jspx</span></span><br />
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"> ServerAdmin siddharth.mishra@oraclefusionfacts.in</span><br />
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"> RewriteEngine On</span><br />
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"> RewriteOptions inherit</span><br />
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"><br /></span>
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"> <location welcome=""></location></span><br />
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"> SetHandler weblogic-handler</span><br />
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"> WebLogicCluster app.oraclefusionfacts.in:8001</span><br />
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"> </span><br />
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"><br /></span>
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"></span><br />
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"><br /></span>
<span style="background-color: #cccccc; font-family: Courier New, Courier, monospace;"># End Virtual Server Settings</span><br />
<br />
After making this change make sure you restart the OHS server using opmnctl HTTP utility!<br />
<br />
Now open a new browser session. Make sure you clear the cache for the browser session. in case you do not do it the old URL will not redirect to the new URL! Once done now key in the old URL and Hit Enter. The old URL must automatically change to the new URL !<br />
<br />
So go ahead and make your Boss proud !!! Do not forget to mention in comments if this helped you :)</div>
Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.com12tag:blogger.com,1999:blog-6077920348531885899.post-84226608873390899662014-09-06T20:19:00.000+05:302014-09-06T20:19:32.051+05:30Commands to find out Allocated CPU/Memory on a Solaris Zone<div dir="ltr" style="text-align: left;" trbidi="on">
With times changing servers have changed. With the advent of virtualization we have see bigger servers being virtualized into smaller servers and provided to admins for use. Have you heard about Solaris T2/T3/T4 or the newer ones like T4-4 machines. All of those machines have found out acceptance these days in organizations these days. These are mostly CMT servers which offer huge resources in terms of Memory and CPU. The UNIX Admins generally slice and dice these servers into smaller servers known as Zones and allocate certain amount of Memory.CPU to each such zone created out of the master box.<br />
<br />
For Admins it might get a bit tricky to find out the Memory/CPU allocated on such zones. I am providing below commands which might help find out the resources assigned to Solaris zones!<br />
<br />
<u>For Finding CPU Shares Assigned use below command:</u><br />
<br />
<span style="font-family: Courier New, Courier, monospace;">bash-3.00$ prctl -n zone.cpu-shares $$</span><br />
<span style="font-family: Courier New, Courier, monospace;">process: 4352: bash</span><br />
<span style="font-family: Courier New, Courier, monospace;">NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT</span><br />
<span style="font-family: Courier New, Courier, monospace;">zone.cpu-shares</span><br />
<span style="font-family: Courier New, Courier, monospace;"> privileged <b style="background-color: red;">20</b> - none -</span><br />
<span style="font-family: Courier New, Courier, monospace;"> system 65.5K max none -</span><br />
<span style="font-family: Courier New, Courier, monospace;"><br /></span>
<span style="font-family: Courier New, Courier, monospace;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;"><u>For Finding Memory Assigned to the Solaris Zone use below:</u></span><br />
<span style="font-family: Courier New, Courier, monospace;"><br /></span>
<span style="font-family: Courier New, Courier, monospace;">bash-3.00$</span><br />
<span style="font-family: Courier New, Courier, monospace;">bash-3.00$ prctl -n zone.max-shm-memory $$</span><br />
<span style="font-family: Courier New, Courier, monospace;">process: 4352: bash</span><br />
<span style="font-family: Courier New, Courier, monospace;">NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT</span><br />
<span style="font-family: Courier New, Courier, monospace;">zone.max-shm-memory</span><br />
<span style="font-family: Courier New, Courier, monospace;"> privileged <span style="background-color: red;"><b>2.73GB </b></span> - deny -</span><br />
<span style="font-family: Courier New, Courier, monospace;"> system 16.0EB max deny -</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">In case you want to be more descriptive with resources assigned to your zone use below command:</span><br />
<span style="font-family: Courier New, Courier, monospace;"><br /></span>
<span style="font-family: Courier New, Courier, monospace;">prctl $$</span><br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">Now if this post helped you please say a Hi on the Comments Section Folks !!! Hope it helped :)</span></div>
Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.com1tag:blogger.com,1999:blog-6077920348531885899.post-54481236993456161162012-03-11T15:03:00.002+05:302012-03-11T15:03:41.599+05:30ORA-01438:value larger than specified precision allowed error in SOA 11g logs<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-family: Arial, Helvetica, sans-serif;"><u>Issue:</u></span><br />
<strong style="font-family: Arial, Helvetica, sans-serif; font-size: 13px;">SQLDataException: ORA-01438 Error Frequently in SOA Log Files (the SOA managed server out and diognostic log file)</strong><br />
<strong style="font-family: Arial, Helvetica, sans-serif; font-size: 13px;"><br /></strong><br />
<strong style="font-family: Arial, Helvetica, sans-serif; font-size: 13px;"><u>Applies to:</u></strong><br />
<strong style="font-family: Arial, Helvetica, sans-serif; font-size: 13px;">Oracle SOA Suite 11.1.1.3.0 and later (11g R1)</strong><br />
<strong style="font-family: Arial, Helvetica, sans-serif; font-size: 13px;"><br /></strong><br />
<strong style="font-family: Arial, Helvetica, sans-serif; font-size: 13px;"><u>What you see in logs:</u></strong><br />
<br />
<div style="font-family: 'Courier New', Courier, monospace; font-size: small;">
<basecubesessionbean::logerror> Error while invoking bean "cube delivery": Exception not handled by the Collaxa Cube system.[[</basecubesessionbean::logerror></div>
<div style="font-family: 'Courier New', Courier, monospace; font-size: small;">
an unhandled exception has been thrown in the Collaxa Cube systemr; exception reported is: "ORABPEL-00000</div>
<div style="font-family: 'Courier New', Courier, monospace; font-size: small;">
<br /></div>
<div style="font-family: 'Courier New', Courier, monospace; font-size: small;">
Exception not handled by the Collaxa Cube system.</div>
<div style="font-family: 'Courier New', Courier, monospace; font-size: small;">
an unhandled exception has been thrown in the Collaxa Cube systemr; exception reported is: "java.sql.SQLDataException: ORA-01438: value larger than specified precision allowed for this column</div>
<div style="font-family: 'Courier New', Courier, monospace; font-size: small;">
<br /></div>
<div style="font-family: 'Courier New', Courier, monospace; font-size: small;">
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:83)</div>
<div style="font-family: 'Courier New', Courier, monospace; font-size: small;">
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:135)</div>
<div style="font-family: 'Courier New', Courier, monospace; font-size: small;">
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:210)</div>
<div style="font-family: 'Courier New', Courier, monospace; font-size: small;">
<br /></div>
<div style="font-size: small;">
<span style="font-family: Arial, Helvetica, sans-serif;"><u><b>Effects:</b></u></span></div>
<div style="font-family: 'Courier New', Courier, monospace; font-size: small;">
<br /></div>
<div style="font-size: small;">
<span style="font-family: Arial, Helvetica, sans-serif;">Degraded performance of SOA Composites. Server spends additional processing power on logging errors, so performance of server is impacted. Also lots of log files are generated which might fill your disk system fast.</span></div>
<div style="font-family: 'Courier New', Courier, monospace; font-size: small;">
<br /></div>
<div style="font-size: small;">
<span style="font-family: Arial, Helvetica, sans-serif;"><b><u>Cause:</u></b></span></div>
<div style="font-family: 'Courier New', Courier, monospace; font-size: small;">
<br /></div>
<div style="font-size: small;">
<span style="font-family: Arial, Helvetica, sans-serif;">This is an issue which has been identified by Oracle. The bug<strong style="font-size: 13px;"> </strong><span style="font-size: 13px;">12621337: ORA-01438 ON LIVE_INSTANCES COLUMN</span></span></div>
<div style="font-family: 'Courier New', Courier, monospace; font-size: small;">
<strong style="font-family: Arial, Helvetica, sans-serif; font-size: 13px;"><br /></strong></div>
<span style="font-family: Arial, Helvetica, sans-serif;">The problem is with the precision of the column COMPOSITE_INSTANCE.LIVE_INSTANCES currently defined to be NUMBER(3) which can at the most hold a value up to 999. As there is no explicit limitation on this column, the correct way to handle this is to increase the precision of this column to accommodate more instances.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><b><br /></b></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><b><u>Solution:</u></b></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">The workaround is to modify the COMPOSITE_INSTANCE.LIVE_INSTANCES column's precision to be NUMBER(38) in the SOAINFRA schema.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">To apply this workaround, follow the steps below:</span><br />
<br />
<div style="font-family: Arial, Helvetica, sans-serif;">
1. Stop the SOA domain</div>
<div style="font-family: Arial, Helvetica, sans-serif;">
2. Log in to the SOA infra repository database as SYSDBA</div>
<div style="font-family: Arial, Helvetica, sans-serif;">
3. Modify the COMPOSITE_INSTANCE table as shown below</div>
<div style="font-family: Arial, Helvetica, sans-serif;">
<br /></div>
<span style="font-family: 'Courier New', Courier, monospace;"><b>ALTER TABLE </b></span><br />
<div style="display: inline !important;">
<span style="font-family: 'Courier New', Courier, monospace;"><b>soa11g_soainfra.composite_instance </b></span></div>
<div style="display: inline !important;">
<span style="font-family: 'Courier New', Courier, monospace;"><b>MODIFY (live_instances NUMBER(38))</b></span></div>
<div style="display: inline !important;">
<span style="font-family: 'Courier New', Courier, monospace;"><b>;</b></span></div>
<br />
<div style="font-family: Arial, Helvetica, sans-serif;">
<br /></div>
<div style="font-family: Arial, Helvetica, sans-serif;">
In the above sql statement I have assumed the dehydration prefix is soa11g. Please modify the statement according to your prefix.Restart the SOA domain. Check the logs.</div>
<br />
<br />
<strong style="font-family: Arial, Helvetica, sans-serif; font-size: 13px;"><br /></strong></div>Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.com4tag:blogger.com,1999:blog-6077920348531885899.post-81941167284427108662012-03-01T22:50:00.000+05:302012-03-01T22:50:04.938+05:30SOA 11g managed Server takes an hour to start on Oracle T Series machine<div dir="ltr" style="text-align: left;" trbidi="on">Recently I had some one asking me, that their SOA managed server took an hour to start. The instance in question had some 200 plus composites in it. On questioning about the platform they were on I came to know that they had the below configuration:<br />
<br />
WLS=10.3.4<br />
SOA Suite 11.1.1.4<br />
<br />
Operating System: Solaris 10<br />
(SunOS endenapp04 5.10 Generic_144488-07 sun4v sparc SUNW,SPARC-Enterprise-T5120)<br />
Hardware: <b>SUN SPARC T5120</b><br />
<br />
<br />
Bingo !!! I got it right,<br />
<br />
The machine they were on(T5120 or the T1 SUN Server) is a pathetic one and if your DB tier is on it it makes your situation even worse. I have worked on such machines and the experience are better forgotten. They are called The T Series machines belong to the CMT family of servers, which boast of supporting multi threaded applications well. Unfortunately single threaded applications like the DB run very poorly on them. For example on machines like the T5120 or T5240 running the RCU may take close to an hour, on M5000 it takes 10 minutes. With so many composites (remember the composites are loaded from Dehydrarion ie DB) your application will definitely take an hour or few minutes less than that to start<br />
<br />
For tuning SOA 11g on T5140 check my post on my blog:<br />
http://oraclefusionfacts.blogspot.in/2011/03/jvm-tuning-for-oracle-soa-suite-11g.html<br />
<br />
Don't expect to fly like rocket after you follow my post since you cannot win a F1 race when you are driving a cart. You may get a better performance some how.<br />
<br />
See below note from Oracle which will give you enough proof of what i am talking about:<br />
Weblogic: Performance Problems After Migrating From WLS 8.1 To WLS 10.3 And Moving To SUN Sparc T5240 With CMT Chips [ID 860459.1]<br />
Poor Performance of SOA/OIM/WL/EM on Solaris 10 - SPARC T3 Server [ID 1361701.1]<br />
<br />
Solution:<br />
<br />
Please propose a M5000 box for the Database Tier or upgrade the App and DB Tier to the newer version of T series ie T4. Oracle guarantees manifold performance improvements on T4 as compared to T1/T2/T3s.<br />
<br />
</div>Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.com2tag:blogger.com,1999:blog-6077920348531885899.post-2602535810841559942012-02-23T20:37:00.000+05:302012-02-23T20:37:44.124+05:30Oracle FMW 11.1.1.6 (Patch Set 5) Released<div dir="ltr" style="text-align: left;" trbidi="on">All,<br />
<br />
This should be a good news to many, Oracle released its latest version of Oracle FMW 11g family.<br />
<br />
<br />
<div style="background-color: white; color: #555555; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 10px; margin-top: 10px; text-align: -webkit-auto;">The complete release of Oracle Fusion Middleware 11<i>g </i>R1 (11.1.1.6.x). includes the following products:</div><ul style="background-color: white; color: #555555; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 10px; margin-left: 17px; margin-right: 0px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;"><li style="margin-left: 15px;">Oracle WebLogic Server 11<i>g</i> R1 (10.3.6)</li>
<li style="margin-left: 15px;">Oracle SOA Suite 11<i>g</i> R1 (11.1.1.6.0)</li>
<li style="margin-left: 15px;">Oracle Business Process Management 11<i>g</i> R1 (11.1.1.6.0)</li>
<li style="margin-left: 15px;">Oracle Complex Event Processing 11<i>g</i> R1 (11.1.1.6.0)</li>
<li style="margin-left: 15px;">Oracle Service Bus 11<i>g</i> R1 (11.1.1.6.0)</li>
<li style="margin-left: 15px;">Oracle Enterprise Repository 11<i>g</i> R1 (11.1.1.6.0)</li>
<li style="margin-left: 15px;">Oracle Service Registry 11g R1 (11.1.1.6)</li>
<li style="margin-left: 15px;">Oracle Application Integration Architecture Foundation Pack 11<i>g</i> R1 (11.1.1.6.0)</li>
<li style="margin-left: 15px;">Oracle Data Integrator 11<i>g</i> R1 (11.1.1.6.0)</li>
<li style="margin-left: 15px;">Oracle WebCenter Portal 11<i>g</i> R1 (11.1.1.6.0) (previously known as Oracle WebCenter Suite)</li>
<li style="margin-left: 15px;">Oracle WebCenter Content 11<i>g</i> R1 (11.1.1.6.0) (previously known as Oracle Enterprise Content Management)</li>
<li style="margin-left: 15px;">Oracle Identity Management 11<i>g</i> R1 (11.1.1.6.0)</li>
<li style="margin-left: 15px;">Oracle Forms, Reports, Portal & Discoverer 11<i>g</i> R1 (11.1.1.6.0)</li>
<li style="margin-left: 15px;">Oracle Traffic Director 11g R1 (11.1.1.6)</li>
<li style="margin-left: 15px;">Oracle Repository Creation Utility 11<i>g</i> R1 (11.1.1.6.0)</li>
<li style="margin-left: 15px;">Oracle JDeveloper & Application Development Framework 11<i>g</i> R1 (11.1.1.6.0)</li>
</ul><div style="text-align: -webkit-auto;"><span style="color: #555555; font-family: Arial, Verdana, sans-serif;"><span style="font-size: 12px; line-height: 18px;">The 11.1.1.6 documentation is available <a href="http://docs.oracle.com/cd/E23943_01/index.htm" target="_blank">here</a></span></span></div><div style="text-align: -webkit-auto;"><span style="color: #555555; font-family: Arial, Verdana, sans-serif;"><br />
</span></div><div style="text-align: -webkit-auto;"><span style="color: #555555; font-family: Arial, Verdana, sans-serif;">To download the new release from OTN visit <a href="http://www.oracle.com/technetwork/middleware/fusion-middleware/documentation/index.html" target="_blank">here</a>.</span></div><div style="text-align: -webkit-auto;"><span style="color: #555555; font-family: Arial, Verdana, sans-serif;"><br />
</span></div><div style="text-align: -webkit-auto;"><span style="color: #555555; font-family: Arial, Verdana, sans-serif;">I would soon try and post on some bug fixes we have on WLS/SOA Suite. For now you can go through the Product release document <a href="http://docs.oracle.com/cd/E23943_01/relnotes.htm" target="_blank">here</a></span></div></div>Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.com1tag:blogger.com,1999:blog-6077920348531885899.post-9461866667017136312012-02-12T16:39:00.000+05:302012-02-12T16:59:38.654+05:30Follow Us On Facebook and Stay In Touch....<div dir="ltr" style="text-align: left;" trbidi="on">
Please login through you facebook account and help vote for the posts you would like to see...Additionally you can post your comments on our wall about any other topics you would like to read...<br />
<br />
You can use the facebook like button on the right hand side of our blog to follow us...<br />
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjl4vpMcnVEKLN0UjZXOdvvZaxn3Qt4gHPaFWT-tNpKYtpWAndeaqapSH0GM5qL9bV000TMsAZIIRWoq6_-8pVqLeTEO5vD_vMfJBtLFwzYhYng_LFlAEuI2OL8P8DJwI9LxBH8BAJTrDL/s1600/Poll.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="176" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjl4vpMcnVEKLN0UjZXOdvvZaxn3Qt4gHPaFWT-tNpKYtpWAndeaqapSH0GM5qL9bV000TMsAZIIRWoq6_-8pVqLeTEO5vD_vMfJBtLFwzYhYng_LFlAEuI2OL8P8DJwI9LxBH8BAJTrDL/s320/Poll.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC3DfMB1qxXeBYkR2OGmB1aXk5gUlOemyj_iHWVtpdk5jJcXJGWoXqgWHfoJT-qe7cWH_Umox1tAozDPKZHVVvxLDEUxPiGpTVNspj3OnVpXpjRbIulpDmfBHvvLVVLU0QeTPqKPXryUj5/s1600/fb.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC3DfMB1qxXeBYkR2OGmB1aXk5gUlOemyj_iHWVtpdk5jJcXJGWoXqgWHfoJT-qe7cWH_Umox1tAozDPKZHVVvxLDEUxPiGpTVNspj3OnVpXpjRbIulpDmfBHvvLVVLU0QeTPqKPXryUj5/s320/fb.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div>
<br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b>Now you can folow us on facebook and post your comments/views and questions for expert advise. Check this out <a href="http://oraclefusionfacts.blogspot.in/2012/02/follow-us-on-facebook-and-stay-in-touch.html" target="_blank">facebook</a></b></i></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b><br /></b></i></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b>Find us on facebook <a href="https://www.facebook.com/pages/Oraclefusionfacts/272364096117016" target="_blank">here</a></b></i></span><br />
</div>
<div>
<br /></div>
</div>Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.com1tag:blogger.com,1999:blog-6077920348531885899.post-32893170277279044642012-02-02T21:03:00.000+05:302012-02-12T16:59:55.070+05:30How to find out number of BPEL instances in SOA 11g dehydration store?<div dir="ltr" style="text-align: left;" trbidi="on">
A common task for fusion admins would be to find out the number of BPEL instances in the SOA dehydration store,the SOA database. Basically this information is stored in a table called COMPOSITE_INSTANCE and the owner of the table id DEV_SOAINFRA schema.<br />
<br />
There are two major ways of doing it:<br />
<br />
<b><u>1. From EM Console</u></b><br />
<br />
For finding out the instance count from EM console:<br />
<br />
a. Login to the SOA 11g EM console and expand the SOA folder on your left.This is shown below. Click on the soa-infra<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8j67f1VpxLqdvmQK6Aq_S29sdNFYk1hMl5CCgYoiz7U_nKFISkg1XU0YLTdAbF1w3cEqQGc2s4psnzpHnnY5YQZgsQw2MdRh6WFvfSgOFs7ZtkZMkKkPqq09lY4UkjmEOab5Rl8AdcAA0/s1600/Capture1.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="204" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8j67f1VpxLqdvmQK6Aq_S29sdNFYk1hMl5CCgYoiz7U_nKFISkg1XU0YLTdAbF1w3cEqQGc2s4psnzpHnnY5YQZgsQw2MdRh6WFvfSgOFs7ZtkZMkKkPqq09lY4UkjmEOab5Rl8AdcAA0/s320/Capture1.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
b. On the right hand side of the screen click on Number of Instances as shown below:</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6C8PUKyUxQpZvdlkTccNscDp7pLbKoNXLMa2PRagy0Q5ykn98X7RnAlL1kTn7sPLxqLIDCGzlPJjjFw7-pUjNyPQwJ4impw-hxLo5NO1Kfj0I58PcK5B2HOg1eFp4kJcbx2_6QabNHOcw/s1600/Capture2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="178" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6C8PUKyUxQpZvdlkTccNscDp7pLbKoNXLMa2PRagy0Q5ykn98X7RnAlL1kTn7sPLxqLIDCGzlPJjjFw7-pUjNyPQwJ4impw-hxLo5NO1Kfj0I58PcK5B2HOg1eFp4kJcbx2_6QabNHOcw/s320/Capture2.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
c. The number of instances is displayed as shown below:</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBv70Fcspo2_6PtWemESEPpwt20ssT2Lf3CvSysKysInbiMclPmxVX317YcKP_QdqsLEPGo6Xz6LharYruZ-UvyEiBBQLJKKP7yhAhhoOpHe8kENmIV_rTbveCehe1ehb1RZuUhlG0t8RW/s1600/Capture3.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="203" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBv70Fcspo2_6PtWemESEPpwt20ssT2Lf3CvSysKysInbiMclPmxVX317YcKP_QdqsLEPGo6Xz6LharYruZ-UvyEiBBQLJKKP7yhAhhoOpHe8kENmIV_rTbveCehe1ehb1RZuUhlG0t8RW/s320/Capture3.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
2. <b><u>Select query on SOA dehydration table</u></b><br />
<br />
For finding out the number of BPEL instances in your SOA 11g Dehydration using SQL query follow below steps:<br />
<br />
a. Login to the SOA 11g Database using a SQL Client as DEV_SOAINFRA user.(Check out if your prefix ie DEV here is different)<br />
<br />
b. Issue below command:<br />
<br />
<span style="font-family: 'Courier New', Courier, monospace;">select count(*) from COMPOSITE_INSTANCE;</span><br />
<br />
That would give you the number of instance present in the SOA dehydration store :)<br />
<br />
<b><u>Number of Instances for a specific Composite:</u></b><br />
<b><u><br /></u></b><br />
What if you wanted to find the number of instance for each composite,well use the below query<br />
<br />
<span style="font-family: 'Courier New', Courier, monospace;">select count(*) from composite_instance where source_name='Composite Name'</span><br />
<div style="text-align: -webkit-auto;">
<span style="font-family: tahoma, verdana, sans-serif;"><span style="font-size: 11px;"><br /></span></span></div>
<br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b>Now you can folow us on facebook and post your comments/views and questions for expert advise. Check this out <a href="http://oraclefusionfacts.blogspot.in/2012/02/follow-us-on-facebook-and-stay-in-touch.html" target="_blank">facebook</a></b></i></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b><br /></b></i></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b>Find us on facebook <a href="https://www.facebook.com/pages/Oraclefusionfacts/272364096117016" target="_blank">here</a></b></i></span><br />
</div>Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.com2tag:blogger.com,1999:blog-6077920348531885899.post-83038415375455603662012-02-02T20:16:00.000+05:302012-02-12T17:00:09.500+05:30What posts are you looking out for?<div dir="ltr" style="text-align: left;" trbidi="on">
Guys,<br />
<br />
Thanks for all your support and kind words.<br />
<br />
I have been thinking what topics could I be writing that helps you in your professional fields. Please let me know any specific topics you are looking for related to Oracle SOA Suite,Oracle Weblogic Administration. Some of the topics I feel should help is:<br />
<br />
1. Code Versioning Tools for SOA and Fusion Middleware 11g<br />
2. Datasource tuning and best practices for SOA 11g<br />
3. ADF server installation steps and best practices<br />
4. Learning path for a Oracle FMW Admin!!<br />
5. SOA 11g Database maintenance steps<br />
6. Purging SOA 11g in detail and best practices<br />
7. SSL setup for Weblogic/OHS<br />
<br />
Please follow us on facebook and vote for below options. You can use the like button on the right hand side of this blog to follow us on facebook.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjl4vpMcnVEKLN0UjZXOdvvZaxn3Qt4gHPaFWT-tNpKYtpWAndeaqapSH0GM5qL9bV000TMsAZIIRWoq6_-8pVqLeTEO5vD_vMfJBtLFwzYhYng_LFlAEuI2OL8P8DJwI9LxBH8BAJTrDL/s1600/Poll.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="176" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjl4vpMcnVEKLN0UjZXOdvvZaxn3Qt4gHPaFWT-tNpKYtpWAndeaqapSH0GM5qL9bV000TMsAZIIRWoq6_-8pVqLeTEO5vD_vMfJBtLFwzYhYng_LFlAEuI2OL8P8DJwI9LxBH8BAJTrDL/s320/Poll.PNG" width="320" /></a></div>
<br />
Please suggest some other areas you feel should be of any help.<br />
<br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b>Now you can folow us on facebook and post your comments/views and questions for expert advise. Check this out <a href="http://oraclefusionfacts.blogspot.in/2012/02/follow-us-on-facebook-and-stay-in-touch.html" target="_blank">facebook</a></b></i></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b><br /></b></i></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b>Find us on facebook <a href="https://www.facebook.com/pages/Oraclefusionfacts/272364096117016" target="_blank">here</a></b></i></span><br />
</div>Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.com4tag:blogger.com,1999:blog-6077920348531885899.post-87780306127566182692012-01-29T19:37:00.000+05:302012-01-29T19:37:41.009+05:30A good video on understanding SSL Certificates...<div dir="ltr" style="text-align: left;" trbidi="on"><div class="separator" style="clear: both; text-align: center;"><iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/SJJmoDZ3il8?feature=player_embedded' frameborder='0'></iframe></div><br />
</div>Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.com0tag:blogger.com,1999:blog-6077920348531885899.post-1452961699555518982012-01-24T20:47:00.000+05:302012-02-12T17:00:29.615+05:30Monitoring Remote JVMs Using JVisualVM<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; line-height: 14.25pt; margin-bottom: 6pt; margin-left: 0in; margin-right: 0in; margin-top: 4.8pt;">
<span style="font-family: Arial, sans-serif;">Real-time monitoring of a SOA/ADF
11g server Sun JVM can be provided by several tools. Many of you must have used
or heard about Java VisualVM tool.</span> <span style="font-family: Arial, sans-serif;">VisualVM is a tool that provides
a visual interface for viewing detailed information about Java applications
while they are running on a Sun Java Virtual Machine (for JRockit we would use
JRockit Mission Control). VisualVM has features of use to application
developers, system administrators, quality engineers and application users.
Below are some of its key functions and features.<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; line-height: 14.25pt; margin-bottom: 1.2pt; margin-left: 19.2pt; text-indent: -0.25in;">
<span style="font-family: Wingdings;">§<span style="font: normal normal normal 7pt/normal 'Times New Roman';"> </span></span><span style="font-family: Arial, sans-serif;">Display local and remote Java applications.<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; line-height: 14.25pt; margin-bottom: 1.2pt; margin-left: 19.2pt; text-indent: -0.25in;">
<span style="font-family: Wingdings;">§<span style="font: normal normal normal 7pt/normal 'Times New Roman';"> </span></span><span style="font-family: Arial, sans-serif;">Display application configuration and runtime
environment.(You can see the JVM startup parameters and properties)<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; line-height: 14.25pt; margin-bottom: 1.2pt; margin-left: 19.2pt; text-indent: -0.25in;">
<span style="font-family: Wingdings;">§<span style="font: normal normal normal 7pt/normal 'Times New Roman';"> </span></span><span style="font-family: Arial, sans-serif;">Monitor application memory consumption and
runtime behavior(Heap/Non Heap usage and GC Info)<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; line-height: 14.25pt; margin-bottom: 1.2pt; margin-left: 19.2pt; text-indent: -0.25in;">
<span style="font-family: Wingdings;">§<span style="font: normal normal normal 7pt/normal 'Times New Roman';"> </span></span><span style="font-family: Arial, sans-serif;">Monitor application threads.(Displays number of threads
in JVM, their status ie Running, Sleeping, Inactive, Deadlock)<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; line-height: 14.25pt; margin-bottom: 1.2pt; margin-left: 19.2pt; text-indent: -0.25in;">
<span style="font-family: Wingdings;">§<span style="font: normal normal normal 7pt/normal 'Times New Roman';"> </span></span><span style="font-family: Arial, sans-serif;">Profile application performance or analyze
memory allocation (Used to troubleshoot Memory Leak and OOM Issues)<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; line-height: 14.25pt; margin-bottom: 1.2pt; margin-left: 19.2pt; text-indent: -0.25in;">
<span style="font-family: Wingdings;">§<span style="font: normal normal normal 7pt/normal 'Times New Roman';"> </span></span><span style="font-family: Arial, sans-serif;">Take and display thread dumps (Can be used to
troubleshoot performance issues)<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; line-height: 14.25pt; margin-bottom: 1.2pt; margin-left: 19.2pt; text-indent: -0.25in;">
<span style="font-family: Wingdings;">§<span style="font: normal normal normal 7pt/normal 'Times New Roman';"> </span></span><span style="font-family: Arial, sans-serif;">Take and browse heap dumps.(Used for
troubleshooting Memory Leaks)<o:p></o:p></span></div>
<div class="MsoNormal" style="background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; line-height: 14.25pt; margin-bottom: 1.2pt; margin-left: 19.2pt; text-indent: -0.25in;">
<span style="font-family: Wingdings;">§<span style="font: normal normal normal 7pt/normal 'Times New Roman';"> </span></span><span style="font-family: Arial, sans-serif;">Analyze core dumps and applications offline.<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; line-height: 115%;">This tool is available in the HotSpot JDK
installation $HotSpot_JDK_INSTALL/bin. It is started by running the jvisualvm
executable. JVisualVM can be run either on the same machine on which the SOA/ADF
server runs or on a separate machine from the SOA runtime server.<o:p></o:p></span><br />
<span style="font-family: Arial, sans-serif; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<u><span style="font-family: Arial, sans-serif; line-height: 115%;"><b>Monitoring Local JVMs using
JVisualVM:</b><o:p></o:p></span></u></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; line-height: 115%;">If you are running JVisualVM on the same machine,
on which SOA/ADF JVM runs, the setup is quite simple and straight forward. You
simply have to go to the $JAVA_HOME/bin and run the jvisualvm executable. As
shown below under the Local icon you can find the local JVM process PIDs and
the needed information. Double click on any one of the processes under Local icon and on the right hand
side of the screen you would be able to see the desired information (described
later)<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjevYkzkpQaexF2GQvbGYp0rsf3M61BGsiEl5cumkXgxrGUrTYhT48tlHQo10gV9luA3lUSihswgRqc2dcXRvREt7faixFHSUTZyITyftLcGxH39HIxYlkwHIelj6KGy1tH3aehmLYXXdTh/s1600/1.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="273" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjevYkzkpQaexF2GQvbGYp0rsf3M61BGsiEl5cumkXgxrGUrTYhT48tlHQo10gV9luA3lUSihswgRqc2dcXRvREt7faixFHSUTZyITyftLcGxH39HIxYlkwHIelj6KGy1tH3aehmLYXXdTh/s320/1.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; line-height: 115%;"><b><u>Monitoring Remote JVMs using JVisualVM:</u></b><u><o:p></o:p></u></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="line-height: 115%;">If
running JVisualVM from a remote machine, i.e. a JDK that is remote to the SOA
Managed Server you will need to configure a JMX port in the JVM startup
parameters in order to monitor the SOA/ADF server JVM.</span> Below are the
steps:</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif; text-align: -webkit-auto;">1. Configure a JMX
port.</span></div>
<div class="MsoNormal">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="line-height: 115%;">Add
the below <span class="apple-converted-space"> </span>-Dcom.sun.management.jmxremote
parameters</span> to the SOA/ADF Managed Server JVM startup parameters.Keep in
mind that you only want to define this for a specific server in the domain
since reuse of the JMX port number between servers will not be allowed. For
example if you want to monitor the JVM on soa_server1 you could add the
following to its JVM startup parameters:<o:p></o:p></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="line-height: 115%;"><span style="font-family: 'Courier New', Courier, monospace;">-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8500
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false -Djavax.management.builder.initial=weblogic.management.jmx.mbeanserver.WLSMBeanServerBuilder</span><span style="font-family: Arial, sans-serif;"><o:p></o:p></span></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; line-height: 115%;">So after adding the above parameters the JVM
startup parameters would look like:<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="line-height: 115%;"><span style="font-family: 'Courier New', Courier, monospace;">-server -d64 -Xss256k -Xms1g
-Xmx1g-XX:NewRatio=2 -XX:+AggressiveOpts -XX:PermSize=512m -XX:MaxPermSize=512m
-XX:+UseParallelGC -XX:+UseParallelOldGC -XX:ParallelGCThreads=16
-XX:InitialSurvivorRatio=10 -XX:SurvivorRatio=10 -Dweblogic.management.discover=false
-Dweblogic.StuckThreadMaxTime=900 -XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/tmp/soa_server1_gc.hprof -verbose:gc
-Xloggc:/tmp/soa_server1_gc.log -Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=8500 -Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
-Djavax.management.builder.initial=weblogic.management.jmx.mbeanserver.WLSMBeanServerBuilder</span><span style="font-family: Arial, sans-serif;"><o:p></o:p></span></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<br />
<ul style="text-align: left;">
<li><i style="font-family: Arial, sans-serif; line-height: 115%;">On How to tune JVM for SOA 11g refer to my
post <a href="http://oraclefusionfacts.blogspot.com/2011/03/jvm-tuning-for-oracle-soa-suite-11g.html" target="_blank">JVM Tuning for SOA 11g</a></i></li>
<li><i style="font-family: Arial, sans-serif; line-height: 115%;">On how to change JVM startup parameters for
SOA 11g refer to my post <a href="http://oraclefusionfacts.blogspot.com/2012/01/how-to-change-startup-parameter-for.html" target="_blank">Change SOA 11g Startup parameters</a></i></li>
</ul>
</div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, Helvetica, sans-serif; line-height: 115%;">2. Restart the SOA/ADF Managed Server (The
JVM parameters of which were modified in Step 1)<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="line-height: 115%;">3. Download and install JVisualVM from <a href="http://visualvm.java.net/" target="_blank">here</a></span> on your local
machine.</span></div>
<div class="MsoNormal">
<span style="font-family: Arial, Helvetica, sans-serif;">4. Open the Command Prompt on your Local Machine and
navigate to the JAVA_HOME/bin as shown below. Enter the command as shown. <span style="line-height: 115%;">You can also pass JVM parameters after a -J, for example to set
the maximum PermSize to 256MB:</span></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="line-height: 115%;"><br /></span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTxPMFaDKggEuj2LC1VB6nR5GS1gh-UhhSqq_JXkn_Q7VP1N7GzBLNcUA_7X18k-RQeMHsRzhqzx5O7Lvu5gTAeVAoeCyamHQaNYkABZlgfz4p6OneuGF0TiYMrM1GQU75A8x3Rw21Toy8/s1600/2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="53" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTxPMFaDKggEuj2LC1VB6nR5GS1gh-UhhSqq_JXkn_Q7VP1N7GzBLNcUA_7X18k-RQeMHsRzhqzx5O7Lvu5gTAeVAoeCyamHQaNYkABZlgfz4p6OneuGF0TiYMrM1GQU75A8x3Rw21Toy8/s400/2.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><u>The JVisualVM Console:</u></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbCR6QD_XXpvluLJLaMQeQtXN8MRtZYOPDtFgFLnVQWjN2EbaeU8HySBlFdh9mZJaz2xAPLKSDpyayU9faTu_rOab_k88KzTijIgSF8S0Ylh-3dB29XAvLLFggP8M8rHNE4CDKrfdvIShZ/s1600/3.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="203" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbCR6QD_XXpvluLJLaMQeQtXN8MRtZYOPDtFgFLnVQWjN2EbaeU8HySBlFdh9mZJaz2xAPLKSDpyayU9faTu_rOab_k88KzTijIgSF8S0Ylh-3dB29XAvLLFggP8M8rHNE4CDKrfdvIShZ/s400/3.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<div class="MsoNormal">
<span style="font-family: Arial, Helvetica, sans-serif; line-height: 115%;">5. Install All of the Available Plug-ins Select
Tools -> Plugins download and install all of the available plugins, this
will give additional display tabs once connected to a JVM. Restart JVisualVM,
going back into Tools -> Plugins -> Installed Tab should show all of the
installed plug-in:</span><o:p></o:p><br />
<span style="font-family: Arial, sans-serif; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiD8GhD9r2WU8nKCp8JAY_8lcNRjmEUKEczwsT8_Vc-CaLSydaceUoub9Qk7c-hsrGrykgvyXO5HW1YZ2ug1mjJvcCoGcPWi_JV96wXB0Y1ZkRUnUW1sgKpPoQ0nVB-Kxyv8W3M03RmZWlJ/s1600/4.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="282" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiD8GhD9r2WU8nKCp8JAY_8lcNRjmEUKEczwsT8_Vc-CaLSydaceUoub9Qk7c-hsrGrykgvyXO5HW1YZ2ug1mjJvcCoGcPWi_JV96wXB0Y1ZkRUnUW1sgKpPoQ0nVB-Kxyv8W3M03RmZWlJ/s400/4.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; line-height: 115%;">6. Create a Remote Connection if Running
JVisualVM Remotely from the SOA Server<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; line-height: 115%;"> Select
the Add Remote Host icon:</span><o:p></o:p><br />
<span style="font-family: Arial, sans-serif; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjppVZYemHIRp_6JUMiMFAVhIbV6LpmnRTsomCkvlS7JtCexL11xWvZZ34zaz6p0RnCQH0wTu81KsfLkiSsLGSVz620U0LVzDGDM8T5ZGbu-sQlo9MCqa3hgeFzPp63qJuEFaVv5hehdH0S/s1600/n1.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: left;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjppVZYemHIRp_6JUMiMFAVhIbV6LpmnRTsomCkvlS7JtCexL11xWvZZ34zaz6p0RnCQH0wTu81KsfLkiSsLGSVz620U0LVzDGDM8T5ZGbu-sQlo9MCqa3hgeFzPp63qJuEFaVv5hehdH0S/s1600/n1.PNG" /></a></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<div class="MsoNormal">
<span style="font-family: Arial, Helvetica, sans-serif;">7. Enter the Hostname of the server on which the SOA/ADF
managed server is running. Display name can be anything related to the physical
server. I chose it to be TEST_ADF_Server)</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizO5W6YM4Hf2Qq4nJwHbNuCoS8AVIsDzznBXIDuqC-Q1UISNS8UTW1UpLJqyz1EZSZ_I65x-xH1Qqd1CW6RSYh1aPDaTHBVYLnBxen6-YEuFoJu5Vy0YNQ279p3REetvJUpaY6zCIFDn9-/s1600/x1.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="141" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizO5W6YM4Hf2Qq4nJwHbNuCoS8AVIsDzznBXIDuqC-Q1UISNS8UTW1UpLJqyz1EZSZ_I65x-xH1Qqd1CW6RSYh1aPDaTHBVYLnBxen6-YEuFoJu5Vy0YNQ279p3REetvJUpaY6zCIFDn9-/s320/x1.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; line-height: 115%;">8. Right click on Test_ADF_Server under
Remote icon and click on Add JMX Connection.<o:p></o:p></span><br />
<span style="font-family: Arial, sans-serif; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVECwcARy0h9QL-1FoMzEaFsz3wHg1kmM-kd0njzoiSc4xw3yvRuhUsvMoOvEzxqiKR8cVEh9ZJ-oxBUN0g22VQZ-0i_bQ28z4oibYfkYNeI-Rx2cdgjfG93uoOhHKzB7DY9kVqNJigFR5/s1600/x2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="271" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVECwcARy0h9QL-1FoMzEaFsz3wHg1kmM-kd0njzoiSc4xw3yvRuhUsvMoOvEzxqiKR8cVEh9ZJ-oxBUN0g22VQZ-0i_bQ28z4oibYfkYNeI-Rx2cdgjfG93uoOhHKzB7DY9kVqNJigFR5/s320/x2.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;">9. <span style="line-height: 115%;">After the : in the Connection field enter the
defined JMX port of 8500, this is from Dcom.sun.management.jmxremote.port=8500
also check the Display name box(Can be the JVM name):</span>Click OK</span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaE2F2jdsk4Ijjrp9_-lrhJISMlBSgifD05Qg-KCv_JYHhEoFYggiTJgeSoRIfV2QgZC7NSRqJPiucg9q7CrwxQqWt7mGid7FxbSHcZ8uP01ix5TkPZGL_PL04sJZBMlOzawhunkJtL266/s1600/x3.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="208" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaE2F2jdsk4Ijjrp9_-lrhJISMlBSgifD05Qg-KCv_JYHhEoFYggiTJgeSoRIfV2QgZC7NSRqJPiucg9q7CrwxQqWt7mGid7FxbSHcZ8uP01ix5TkPZGL_PL04sJZBMlOzawhunkJtL266/s320/x3.PNG" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; line-height: 115%;"><br /></span></div>
<br />
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<span style="line-height: 115%;"><span style="font-family: Arial, Helvetica, sans-serif;">10. After few seconds you
should find the Display name(You specified in the previous step under the
TEST_ADF_Server icon.</span><span style="font-family: Arial, sans-serif;"><o:p></o:p></span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqNsV92CIHbZj91copZScohVT6D8oEuC4dtvuPGjR-5X7CLwNLmH31AXxut-NzIom7H904A2icmdyjq1OMLhVqzJEYDT5z-ogmcVTv77H8UBRDDst3aH_sI1FajGb3f8_HMUQmvESNR8eP/s1600/x4.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqNsV92CIHbZj91copZScohVT6D8oEuC4dtvuPGjR-5X7CLwNLmH31AXxut-NzIom7H904A2icmdyjq1OMLhVqzJEYDT5z-ogmcVTv77H8UBRDDst3aH_sI1FajGb3f8_HMUQmvESNR8eP/s1600/x4.PNG" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; line-height: 115%;">11. Right Click and click on Open. On the
right hand side page you should find the JVM details as shown below.<o:p></o:p></span><br />
<span style="font-family: Arial, sans-serif; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_z16VMCO-kt2IvlqXIwkcGdEAXjPoeVdjICp1-G9dl9mBznfcsqZtXCwYCOKlL3uyg3_zzITqN_7X6giMXfVfb5fue6m2MvzkAzP9DhJMp5VIu8V2DrJTqQ86W3LqQEMaMyAfUWwLQHFB/s1600/x5.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="268" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_z16VMCO-kt2IvlqXIwkcGdEAXjPoeVdjICp1-G9dl9mBznfcsqZtXCwYCOKlL3uyg3_zzITqN_7X6giMXfVfb5fue6m2MvzkAzP9DhJMp5VIu8V2DrJTqQ86W3LqQEMaMyAfUWwLQHFB/s400/x5.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoNormal" style="text-align: left;">
<span style="font-family: Arial, sans-serif; line-height: 115%;"><b><i>Hurray !! You are now connected to the remote JVM via your
local JVisualVM.</i></b><o:p></o:p></span></div>
<div class="MsoNormal" style="text-align: left;">
<span style="font-family: Arial, sans-serif; line-height: 115%;"><br /></span></div>
<div class="MsoNormal" style="text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><u><b><span style="line-height: 115%;">You can explore all of the tabs provided,
these seem to be the most useful:</span>Some of them are mentioned below:</b></u></span><o:p></o:p></div>
<br />
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; line-height: 115%;">1. <b><u>The Monitor tab</u>: </b></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; line-height: 115%;"> Provides the following
graphs of the running system:</span><o:p></o:p></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpmPDyUZQv88k-1sqEKLv6MQcYmwlSuxnXEhh7T-17DJ12QZHbGkB7fqWbSMBBroUtENNuOLPfMFwFZpJ_0Fxel6MB-urMh3uIFhYp2dB-N8RurDHsWc80jbtmKELuHr3hzMpJ8w6AwUki/s1600/x6.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="223" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpmPDyUZQv88k-1sqEKLv6MQcYmwlSuxnXEhh7T-17DJ12QZHbGkB7fqWbSMBBroUtENNuOLPfMFwFZpJ_0Fxel6MB-urMh3uIFhYp2dB-N8RurDHsWc80jbtmKELuHr3hzMpJ8w6AwUki/s400/x6.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoNormal" style="text-align: left;">
<span style="font-family: Arial, sans-serif; line-height: 115%;">Also there is a Perform GC button to force a
garbage collection and a Heap Dump button to cause a heap dump. The resulting
heap dump will be eventually loaded into JVisualVM in a new tab where it can be
analyzed. The loading may be slow and perhaps not as detailed as one would
like. It may be a better idea to take heap dumps from the command line from the
JDK installation where the SOA server is running:</span><o:p></o:p></div>
<div class="MsoNormal" style="text-align: left;">
<span style="font-family: Arial, sans-serif; line-height: 115%;"><br /></span></div>
<div class="MsoNormal" style="text-align: left;">
<span style="font-family: Arial, sans-serif; line-height: 115%;"><br /></span></div>
<br />
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; line-height: 115%;"><b><u>The Threads tab</u></b>:<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; line-height: 115%;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_akhqzefpx7SFi4zN63j6mLe1cVK7Y-KCWUDIdqdduUIVoKX0angj7BC8TWDO0KmWxqHhcuYkJ0SVZ_ObRuj0xvsK2utucPGSMvkFjP_Ppp_pQwQmayHr183ILaMfIFf2LHzdSvtPNIIb/s1600/x7.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="231" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_akhqzefpx7SFi4zN63j6mLe1cVK7Y-KCWUDIdqdduUIVoKX0angj7BC8TWDO0KmWxqHhcuYkJ0SVZ_ObRuj0xvsK2utucPGSMvkFjP_Ppp_pQwQmayHr183ILaMfIFf2LHzdSvtPNIIb/s400/x7.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><b><u>The VisualGC Tab:</u></b></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;">It might report you the below issue(Not Supported for the JVM)</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtbLd7BGgTpg3iW0ivEYP1AZENOhc-OgOLC-AVX8GEDEjg3zKnTPClxClNnEl3gIoa3Il7oBD_Ci5F3A-RbeEeasOf70jiRmiL5eS-kb3HNb2VwOKW-5l7ETdlm0sUQwlR3VrucpqMzJM9/s1600/x8.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="228" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtbLd7BGgTpg3iW0ivEYP1AZENOhc-OgOLC-AVX8GEDEjg3zKnTPClxClNnEl3gIoa3Il7oBD_Ci5F3A-RbeEeasOf70jiRmiL5eS-kb3HNb2VwOKW-5l7ETdlm0sUQwlR3VrucpqMzJM9/s400/x8.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
</div>
<div class="MsoNormal">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-color: #fefcee; background-image: initial; background-origin: initial; line-height: 115%;">This issue occurs when
there is a version mismatch between</span><b><i><span style="color: #666666; line-height: 115%;"> Y</span></i></b><span style="background-attachment: initial; background-clip: initial; background-color: #fefcee; background-image: initial; background-origin: initial; line-height: 115%;">ou will get
this if the JDK running JVisualVM and the SOA server are not the same version
or if the operating systems do not matchMake sure you use the same version of
JDKs.<o:p></o:p></span></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-attachment: initial; background-clip: initial; background-color: #fefcee; background-image: initial; background-origin: initial; line-height: 115%;"><br /></span></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="line-height: 115%;">This tab provides a visual representation of
the memory Spaces being used in real-time in the PermGen, Old Gen, Eden Space,
and Survivor Spaces (S0 & S1). This gives an idea of how how full each
partition is at any given time. You can use this to scale the defined memory for
the spaces based on actual load.</span></span><span style="font-family: Arial, Helvetica, sans-serif; text-align: -webkit-auto;">The Graphs section
also provides information on the maximum and current sizes of the spaces and
their garbage collection statistics.</span></div>
<br />
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, sans-serif; line-height: 115%;"><b><u>Conclusion</u></b></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, sans-serif; line-height: 115%;"><b><u><br /></u></b></span></div>
<div class="MsoNormal">
<span style="font-family: Arial, Helvetica, sans-serif; line-height: 115%;">So in the post I basically have shown how would you use JVisualVM to connect to remote as well as local SOA ADF JVMs. Hope this post was helpful. I havent covered the basics and functions of jvisual vm in detail as there are too many posts already. You can find Oracle documentation <a href="http://docs.oracle.com/javase/6/docs/technotes/tools/share/jvisualvm.html" target="_blank">here</a></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">When it comes to SOA Heap dumps, the heap dumps generated might grow very large.The Heap Dump analysing part in jvisualvm might not work well on large jvms(greater than 3 GB). For such JVM heap analysis I would suggest you take manual dumps using jmat and analyse the dump using eclipse memory analyser. I am currently trying this in my lab and will post my updates soon.</span></div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><b><u>References</u></b></span><br />
<br />
<br />
<ol style="text-align: left;">
<li><span style="font-family: Arial, Helvetica, sans-serif;">jvisualvm - Java Virtual Machine Monitoring, Troubleshooting, and Profiling Tool <a href="http://docs.oracle.com/javase/6/docs/technotes/tools/share/jvisualvm.html" target="_blank">http://docs.oracle.com/javase/6/docs/technotes/tools/share/jvisualvm.html</a></span></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;">VisualVM - <a href="http://en.wikipedia.org/wiki/VisualVM" target="_blank">http://en.wikipedia.org/wiki/VisualVM</a></span></li>
<li><span style="font-family: Arial, Helvetica, sans-serif;">VisualVM Home page - <a href="http://visualvm.java.net/" target="_blank">http://visualvm.java.net/</a></span></li>
</ol>
<br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">How did you like this post. Let me know if it helped.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b>Now you can folow us on facebook and post your comments/views and questions for expert advise. Check this out <a href="http://oraclefusionfacts.blogspot.in/2012/02/follow-us-on-facebook-and-stay-in-touch.html" target="_blank">facebook</a></b></i></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b><br /></b></i></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b>Find us on facebook <a href="https://www.facebook.com/pages/Oraclefusionfacts/272364096117016" target="_blank">here</a></b></i></span><br />
<br />
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; line-height: 115%;"><br /></span></div>
<br />
<div class="MsoNormal">
<span style="font-family: Arial, sans-serif; font-size: 10pt; line-height: 115%;"><br /></span></div>
</div>Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.com7tag:blogger.com,1999:blog-6077920348531885899.post-69656747088422640262012-01-22T19:23:00.001+05:302012-02-12T17:00:45.954+05:30Enterprise Manager Performs Poorly Or Appears To Hang While Displaying the List of SOA Composites on Composite Dashboard Pages<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<h2 class="km" style="border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; padding-top: 0.5em; text-align: -webkit-auto;">
<span style="background-color: #ffe599;">Symptoms</span></h2>
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;">You have an installation of </span><em style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;">Oracle Fusion Middleware 11g</em><span style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;"> where you have been running a large volume of </span><span class="kmfixedwidthfont" style="font-family: 'Courier New', Courier, monospace; font-size: 13px; text-align: -webkit-auto;">BPEL</span><span style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;"> processes over time. When accessing the dashboard page displayed by </span><em style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;">Enterprise Manager</em><span style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;"> for one or more composites, the regions that display list views of composite's instances take a long time to render and during this time </span><em style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;">Enterprise Manager</em><span style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;"> remains hung and unresponsive for other tasks.</span><span style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;">At the time when the performance of </span><em style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;">Enterprise Manager</em><span style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;"> is impacted, you will likely have one or more composites that have a reasonably large number of composite instances defined (over 100,000) and the performance impact may be most noticeable the first time a dashboard page is accessed following a restart of the </span><span class="kmfixedwidthfont" style="color: #333333; font-family: 'Courier New', Courier, monospace; font-size: 13px; text-align: -webkit-auto;">AdminServer</span><span style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;">. In severe cases you may be experiencing very long delays (</span><em style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;">potentially hours</em><span style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;">) when using </span><em style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;">Enterprise Manager</em><span style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;"> to accessing the dashboard pages of these composites.</span><br />
<h2 class="km" style="border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; padding-top: 0.5em; text-align: -webkit-auto;">
<span style="background-color: #ffe599;"><a href="http://www.blogger.com/blogger.g?blogID=6077920348531885899" name="CAUSE"></a>Cause(As per metalink note <strong style="font-size: 13px; text-align: left;">[ID 1351032.1])</strong></span><span style="text-align: left;"></span></h2>
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;">At the database layer the </span><span class="kmfixedwidthfont" style="font-family: 'Courier New', Courier, monospace; font-size: 13px; text-align: -webkit-auto;">SQL</span><span style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;"> query that </span><em style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;">Enterprise Manager</em><span style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;"> executes to obtain the data displayed on the dashboard is taking far longer than expected to execute, as a result of a less than optimal execution plan having been determined by the </span><em style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;">Cost Based Optimizer</em><span style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;"> component of the database. The execution plan identified by the </span><em style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;">Cost Based Optimizer</em><span style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;"> is, in turn, driven by information about the various tables and column indexes that is maintained by database statistics. To reduce processing overhead while creating statistics, the statistics for large tables (</span><em style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;">over 100,000 rows</em><span style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;">) are not collected from all rows of the table but using a sampling technique on a smaller subset (</span><em style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;">by default, 20%</em><span style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;">).</span><br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;">As a result of this sampling based approach, over time the statistics gathered against the sample may not be representative for the larger data set as a whole. When such a discrepancy occurs the unrepresentative statistics can lead the </span><em style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;">Cost Based Optimizer</em><span style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;"> to identify a bad execution plan that is less efficient on data access and takes significantly longer to complete. In such cases, this causes the source of the long running </span><span class="kmfixedwidthfont" style="font-family: 'Courier New', Courier, monospace; font-size: 13px; text-align: -webkit-auto;">SQL</span><span style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;"> which so significantly impacts the performance of the list views on </span><em style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;">Enterprise Manager</em><span style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;"> dashboard pages.</span>
<br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;"><br /></span><br />
<span style="background-color: #ffe599; font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;"><b><u>My Solution(Worked fine for me)</u></b></span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;"><b><u><br /></u></b></span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;">1. Login to the SOA 11g EM Console</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;">2. Right Click on SOA-INFRA and go to SOA ADMINISTRATION->COMMON PROPERTIES</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;">3. Enable the Disable fetching of instance and fault count metrics as shown below.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;">4. Set the Duration Details to 24 or 48 hours as shown below.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-align: -webkit-auto;"><br /></span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9gVophW7RaILz8logP5kxKRa_LrRlTtN1u4kaSdojoKtDIlzy0fkFq53wpBm9yAjm9_PBedxKC94cuI4428svRuuWLIbKcfpjiAU4QpSwEVhVoxv4cbSutdVmsfHvJYfCRdxiNkQNECxn/s1600/Capture.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="78" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9gVophW7RaILz8logP5kxKRa_LrRlTtN1u4kaSdojoKtDIlzy0fkFq53wpBm9yAjm9_PBedxKC94cuI4428svRuuWLIbKcfpjiAU4QpSwEVhVoxv4cbSutdVmsfHvJYfCRdxiNkQNECxn/s400/Capture.PNG" width="400" /></a></div>
<span style="text-align: -webkit-auto;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"><br /></span></span><br />
<span style="text-align: -webkit-auto;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"><br /></span></span><br />
<span style="text-align: -webkit-auto;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"><br /></span></span><br />
<span style="text-align: -webkit-auto;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"><br /></span></span><br />
<span style="text-align: -webkit-auto;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"><br /></span></span><br />
<span style="text-align: -webkit-auto;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"><br /></span></span><br />
<span style="text-align: -webkit-auto;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;">5. Now log back to EM console and voila, the EM performance has a sea change. its faster</span></span><br />
<span style="text-align: -webkit-auto;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"><br /></span></span><br />
<span style="background-color: #ffd966; text-align: -webkit-auto;"><span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"><b><u>Explanation</u></b></span></span><br />
<span style="background-color: #6aa84f; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 15px;">These two properties enable you to perform the following:</span><br />
<br />
<ul style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 1.4; list-style-image: initial; list-style-position: initial; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0px; padding-left: 2.5em; padding-right: 2.5em; padding-top: 0px;">
<li style="border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
<b style="background-color: #6aa84f;">Disable the fetching of instance and fault count data to improve loading times for the following pages:</b></div>
<ul style="line-height: 1.4; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0px; padding-left: 2.5em; padding-right: 2.5em; padding-top: 0px;">
<li style="border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
<span style="background-color: #6aa84f;">Dashboard pages of the SOA Infrastructure, SOA composite applications, service engines, and service components</span></div>
</li>
<li style="border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
<span style="background-color: #6aa84f;">Delete with Options: Instances dialog</span></div>
<div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
<span style="background-color: #6aa84f;"><br /></span></div>
</li>
</ul>
<div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
<span style="background-color: #6aa84f;">These settings disable the loading of all metrics information upon page load. For example, on the Dashboard page for the SOA Infrastructure, the values that typically appear in the <span class="bold" style="font-weight: bold;">Running</span> and <span class="bold" style="font-weight: bold;">Total</span> fields in the <span class="bold" style="font-weight: bold;">Recent Composite Instances</span> section and the <span class="bold" style="font-weight: bold;">Instances</span> column of the <span class="bold" style="font-weight: bold;">Deployed Composites</span> section are replaced with links. When these values are large, it can take time to load this page and other pages with similar information.</span></div>
<div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
<span style="background-color: #6aa84f;"><br /></span></div>
</li>
<li style="border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
<b style="background-color: #6aa84f;">Specify a default time period that is used as part of the search criteria for retrieving recent instances and faults for display on the following pages:</b></div>
<div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
<span style="background-color: #6aa84f;"><br /></span></div>
<ul style="line-height: 1.4; list-style-image: initial; list-style-position: initial; list-style-type: disc; margin-bottom: 0.5em; margin-left: 0px; margin-right: 0px; margin-top: 0.5em; padding-bottom: 0px; padding-left: 2.5em; padding-right: 2.5em; padding-top: 0px;">
<li style="border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
<span style="background-color: #6aa84f;">Dashboard pages and Instances pages of the SOA Infrastructure, SOA composite applications, service engines, and service components</span></div>
</li>
<li style="border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
<span style="background-color: #6aa84f;">Dashboard pages of services and references</span></div>
</li>
<li style="border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
<span style="background-color: #6aa84f;">Faults and Rejected Messages pages of the SOA Infrastructure, SOA composite applications, services, and references</span></div>
</li>
<li style="border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; margin-bottom: 0.25em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">
<span style="background-color: #6aa84f;">Faults pages of service engines and service components</span></div>
</li>
</ul>
</li>
</ul>
<br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b>Now you can folow us on facebook and post your comments/views and questions for expert advise. Check this out <a href="http://oraclefusionfacts.blogspot.in/2012/02/follow-us-on-facebook-and-stay-in-touch.html" target="_blank">facebook</a></b></i></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b><br /></b></i></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b>Find us on facebook <a href="https://www.facebook.com/pages/Oraclefusionfacts/272364096117016" target="_blank">here</a></b></i></span><br />
</div>Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.com1tag:blogger.com,1999:blog-6077920348531885899.post-86938575848426934742012-01-22T18:39:00.000+05:302012-02-12T17:01:04.027+05:30Scheduling BPEL Processes Using Quartz In SOA Suite 11g is not supported by Oracle !<div dir="ltr" style="text-align: left;" trbidi="on">
I came across some blogs on that show how to Schedule BPEL Processes Using Quartz In SOA Suite 11g. As a admin I was never comfortable deploying the quartz scheduler application on the Admin server. Did some research on metalink and found the below note:<br />
<br />
<strong><span style="font-family: Calibri, sans-serif; font-size: 11pt;">How Do You Schedule BPEL Processes Using Quartz In SOA Suite 11g [ID
942494.1]</span></strong><br />
<strong><span style="font-family: Calibri, sans-serif; font-size: 11pt;"><br /></span></strong><br />
<span style="color: #333333; font-family: Arial, sans-serif; font-size: 10.5pt;"><b><u>Goal</u></b></span><br />
<br />
<div class="MsoNormal" style="margin-bottom: 12.0pt;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;">How do you schedule BPEL
processes through Quartz in SOA Suite 11g.</span></div>
<div class="MsoNormal" style="margin-bottom: 12.0pt;">
<span style="font-family: Arial, sans-serif; font-size: 10pt;"><br /></span><span style="color: #333333; font-family: Arial, sans-serif; font-size: 10.5pt;"><u><b>Solution</b></u></span></div>
<div class="MsoNormal" style="margin-bottom: 12.0pt;">
<span style="font-family: Arial, sans-serif; font-size: 10pt; text-align: -webkit-auto;">What you are attempting is not
available via the standard functionality in the product.The application does not allow users to schedule BPEL processes through Quartz.</span><span style="font-family: Arial, sans-serif; font-size: 10pt;">Enhancement Request (ER)</span><span class="apple-converted-space" style="font-family: Arial, sans-serif; font-size: 10pt;"> </span><a href="https://support.oracle.com/CSP/main/article?cmd=show&type=BUG&id=8927175" style="font-family: Arial, sans-serif; font-size: 10pt;">Bug
8927175</a><span class="apple-converted-space" style="font-family: Arial, sans-serif; font-size: 10pt;"> </span><span style="font-family: Arial, sans-serif; font-size: 10pt;">has been filed with
Oracle Development. This ER will be reviewed and considered by Development for
a future release. It will remain open until it is either</span><span style="font-family: Arial, sans-serif; font-size: 10pt;">incorporated into the product, or it is deemed not feasible.</span></div>
<span style="font-family: Arial, sans-serif; font-size: 10pt;">
So my view would be to check with Oracle how to proceed with this!!!
</span><br />
<span style="font-family: Arial, sans-serif; font-size: 10pt;"><br /></span><br />
<span style="font-family: Arial, sans-serif; font-size: 10pt;">Let me know if you have Updates/Views...</span><br />
<span style="font-family: Arial, sans-serif; font-size: 10pt;"><br /></span><br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b>Now you can folow us on facebook and post your comments/views and questions for expert advise. Check this out <a href="http://oraclefusionfacts.blogspot.in/2012/02/follow-us-on-facebook-and-stay-in-touch.html" target="_blank">facebook</a></b></i></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b><br /></b></i></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b>Find us on facebook <a href="https://www.facebook.com/pages/Oraclefusionfacts/272364096117016" target="_blank">here</a></b></i></span><br />
<br />
<h3 class="entry-title" style="background-color: white; color: #555555; font-family: Arial, Verdana, sans-serif; font-size: 20px; font-weight: normal; line-height: 25px; margin-bottom: 3px; margin-left: 0px; margin-right: 0px; margin-top: 0px; text-align: -webkit-auto;">
</h3>
</div>Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.com5tag:blogger.com,1999:blog-6077920348531885899.post-24496432386965669802012-01-19T00:07:00.000+05:302012-02-12T17:01:22.610+05:30Fusion Middleware 11g Admin Interview Questions Part 1<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
Lately I have been asked to publish some FMW 11g Administration questions for interviews. Based on my interview experiences I am jotting down some. I would expect you all to add some more questions and answers to the comment section: Also let me know if that helps.<br />
<br />
1. Define SOA and how do you explain it to a layman.<br />
2. Deferentiate SOA from Oracle SOA Suite.<br />
3. Define relation between Oracle SOA Suite and Weblogic.<br />
4. Functional differences between Fusion EM console and WLS Admin console.<br />
5. List some key Fusion Middleware 11g products and their usage in brief.<br />
6. Key difference between Oracle SOA Suite 10g and 11g.<br />
7. Define key components/building blocks/basic architecture of Oracle SOA Suite.<br />
8. Explain concept of domains,admin,managed server in Weblogic.<br />
9. Explain basic functionality of Application Servers eg WLS,OAS,Websphere.<br />
10.Difference between Weblogic Development and Production mode.<br />
11. Explain Node Manager in Weblogic.<br />
12. Key functionality of Nodemanager.<br />
13. What are the different types of nodemanager.<br />
14. What is the default port number of nodemanager.<br />
15. Mention the path for Nodemanager home.<br />
16. Explain some properties present in nodemanager.properties file.<br />
17. Is Nodemanager setup mandatory in a standalaone WLS installation.<br />
18. Is nodemanager setup mandatory in a clustered WLS environment. If not what are the demerits.<br />
19. Explain the functionalities of Nodemanager in a clustered WLS environment.<br />
20. Explain the term managed Server Independence mode.<br />
21. Can I start a managed server even if Admin server is down.<br />
22. Can I make configurational changes to managed server if admin server is down.<br />
23. Explain significance of admin server in a WLS domain.<br />
24. Why do you think Oracle recommends not to deploy applications to Admin server in production environments.<br />
25. Explain different ways of starting or stopping WLS Admin/managed server.<br />
26. What is config.xml. Where can I find it.<br />
27. You deployed a faulty code to Admin server which brought it down. You are not able to restart it.How would you undeploy the faulty piece of code then?<br />
28. How do I clear cache for a WLS managed/Admin server.<br />
29. What is meant by datasource.<br />
30. Explain how would you tune a datasource and apply some best practices to it.<br />
31. Explain difference between multicast and unicast IP.<br />
32. Explain hardware requirement for a WLS 2 node cluster.<br />
33. How do you configure OHS/Apache web server for a 2 node WLS cluster?<br />
34. Explain basic steps for SSL configuration in WLS.<br />
35. Explain JVM concept and detailed architecture.<br />
36. What is the function of Permanent Generation (PermGen) space.<br />
37. Explain OOM errors and what are the different causes.<br />
38. Explain Memory Leaks. Explain how would you detect it. state examples of some tools to analyze it.<br />
39. What would be your approach if you are asked to tune JVM.<br />
40. Explain some key Sun JVM startup/tuning arguments.<br />
41. State some JVM tuning properties that you would use in a multi threaded box like the Oracle T series so as to improve JVM performance.<br />
42. Explain Garbage Collection. State some GC algorithms you are aware of.<br />
43. What is the Verbose GC option used for?<br />
44. Explain what would you do to mimimise frequent major GC.<br />
45. Explain difference between major and minor GC.<br />
<br />
Let me know if above questions are helpful, I am currently working on some more questions...<br />
<br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b>Now you can folow us on facebook and post your comments/views and questions for expert advise. Check this out <a href="http://oraclefusionfacts.blogspot.in/2012/02/follow-us-on-facebook-and-stay-in-touch.html" target="_blank">facebook</a></b></i></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b><br /></b></i></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b>Find us on facebook <a href="https://www.facebook.com/pages/Oraclefusionfacts/272364096117016" target="_blank">here</a></b></i></span><br />
<br />
<br />
<br /></div>Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.com28tag:blogger.com,1999:blog-6077920348531885899.post-28166942012443791422012-01-19T00:05:00.000+05:302012-02-12T17:01:39.049+05:30How to change startup parameter for Admin and Soa managed Server in SOA 11g Suite?<div dir="ltr" style="text-align: left;" trbidi="on">
After having read my JVM tuning for SOA 11g post <a href="http://oraclefusionfacts.blogspot.com/2011/03/jvm-tuning-for-oracle-soa-suite-11g.html" target="_blank"><span style="font-family: 'Courier New';">here</span></a> you must be thinking where do I specify these startup parameters. <br />
<br />
Well there are many ways. For e.g. you can mention it in certain files or in the WLS Admin console itself. Mentioning it in the Admin console would need you to use nodemanager for startup of Admin/Managed servers. An easier way is mentioned below. Hope this helps...<br />
<br />
For specifying the startup parameters you can use the setSOADomainEnv.sh.You can find this file in $DOMAIN_Folder/bin path. In this file you can find the following:<br />
<br />
<br />
<br />
<span style="font-family: 'Courier New', Courier, monospace;">if [ "${SERVER_NAME}" = "AdminServer" ] ; then</span><br />
<span style="font-family: 'Courier New', Courier, monospace;">#DEFAULT_MEM_ARGS="-Xms768m -Xmx1600m"</span><br />
<span style="font-family: 'Courier New', Courier, monospace;">#PORT_MEM_ARGS="-Xms768m -Xmx1600m"</span><br />
<br />
<span style="font-family: 'Courier New', Courier, monospace;"></span><br />
<span style="font-family: 'Courier New', Courier, monospace;">DEFAULT_MEM_ARGS="-Xms1536m -Xmx1536m -Xss512k -XX:PermSize=512m -XX:MaxPermSize=512m -Duser.timezone=GMT -XX:NewRatio=2 -XX:+AggressiveOpts -XX:+UseParallelGC -XX:+Use</span><span style="font-family: 'Courier New', Courier, monospace;">ParallelOldGC -XX:ParallelGCThreads=32 -XX:InitialSurvivorRatio=10 -XX:SurvivorRatio=10 -Dweblogic.StuckThreadMaxTime=900"</span><br />
<span style="font-family: 'Courier New', Courier, monospace;">PORT_MEM_ARGS="-Xms1536m -Xmx1536m -Xss512k -XX:PermSize=512m -XX:MaxPermSize=512m -Duser.timezone=GMT -XX:NewRatio=2 -XX:+AggressiveOpts -XX:+UseParallelGC -XX:+UsePar</span><span style="font-family: 'Courier New', Courier, monospace;">allelOldGC -XX:ParallelGCThreads=32 -XX:InitialSurvivorRatio=10 -XX:SurvivorRatio=10 -Dweblogic.StuckThreadMaxTime=900"</span><br />
<br />
<span style="font-family: 'Courier New', Courier, monospace;"></span><br />
<span style="font-family: 'Courier New', Courier, monospace;">fi</span><br />
<br />
<span style="font-family: 'Courier New', Courier, monospace;"></span><br />
<span style="font-family: 'Courier New', Courier, monospace;">#if [ "${SERVER_NAME}" = "soa_ms_1" ] ; then</span><br />
<span style="font-family: 'Courier New', Courier, monospace;">#DEFAULT_MEM_ARGS="-Xms2048m -Xmx3000m"</span><br />
<span style="font-family: 'Courier New', Courier, monospace;">#PORT_MEM_ARGS="-Xms2048m -Xmx3000m"</span><br />
<span style="font-family: 'Courier New', Courier, monospace;">#DEFAULT_MEM_ARGS="-Xss512k -Xms4g -Xmx4g -XX:PermSize=768m -XX:MaxPermSize=768m"</span><br />
<span style="font-family: 'Courier New', Courier, monospace;">#PORT_MEM_ARGS="-Xss512k -Xms4g -Xmx4g -XX:PermSize=768m -XX:MaxPermSize=768m"</span><br />
<span style="font-family: 'Courier New', Courier, monospace;">#fi</span><br />
<br />
<span style="font-family: 'Courier New', Courier, monospace;"></span><br />
<br />
Make changes as needed by you for the Admin or Manged server. Restart the server. Check the out file and verify if changes took place.<br />
<br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b>Now you can folow us on facebook and post your comments/views and questions for expert advise. Check this out <a href="http://oraclefusionfacts.blogspot.in/2012/02/follow-us-on-facebook-and-stay-in-touch.html" target="_blank">facebook</a></b></i></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b><br /></b></i></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b>Find us on facebook <a href="https://www.facebook.com/pages/Oraclefusionfacts/272364096117016" target="_blank">here</a></b></i></span><br />
</div>Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.com2tag:blogger.com,1999:blog-6077920348531885899.post-48578031727225190992011-10-16T22:36:00.000+05:302012-02-12T17:01:57.133+05:30Weblogic Datasource pool disables by itself and doesn't recover<div dir="ltr" style="text-align: left;" trbidi="on">
<span class="Apple-style-span" style="font-size: 13px;"></span><br />
<h2 class="km" style="border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; padding-top: 0.5em;">
Applies to:</h2>
<span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">Oracle Weblogic Server - Version: 10.0</span><max_ver><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"> and later [Release: and later ]</span><br /><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">Information in this document applies to any platform.</span></max_ver><br />
<h2 class="km" style="border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; padding-top: 0.5em;">
<a href="http://www.blogger.com/blogger.g?blogID=6077920348531885899" name="SYMPTOM"></a>Symptoms</h2>
<span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">After the database recovery from a network / database outrage, the data source was disabled and didn't recover when the connection restored.</span><br /><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">In the logs, it shows the following error when the network outrage was occurred.</span><br /><br /><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; weblogic.common.resourcepool.ResourceDeadException: Could not create pool connection. The DBMS driver exception was: Io exception: The Network Adapter could not establish the connection; nested exception is weblogic.jdbc.extensions.ConnectionDeadSQLException: </span><h2 class="km" style="border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; padding-top: 0.5em;">
<a href="http://www.blogger.com/blogger.g?blogID=6077920348531885899" name="CAUSE"></a>Cause</h2>
<span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">A connection pool may disable itself after a configurable number of consecutive failures to replace dead connections. There after it will periodically try to reconnect to the DBMS and when it succeeds, the pool will re-enable itself.</span><br />
<span class="Apple-style-span" style="font-size: 13px;"><max_ver><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"><br />In above environment, it has been used the default jdbc pool settings as follows:</span><br /><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">Connection Creation Retry Frequency, which is 0</span><br /><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">Connection Reserve Timeout 10</span><br /><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">Seconds to Trust an Idle Pool Connection 10</span><br /><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">Test Frequency 120</span><br /><br /><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">The "Connection Creation Retry Frequency" setting is the number of seconds between attempts to establish connections to the database. If a value is not set for this, data source creation fails if the database is unavailable. If it being set and if the database is unavailable when the data source is created, WebLogic Server will attempt to create connections in the pool again after the number of second being specified, and will continue to attempt to create the connections until it succeeds.</span><br /><br /><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">As the Connection Creation Retry Frequency is 0, means it never retry. That would explain why the data source has been disabled after database failure.</span></max_ver></span><br />
<h2 class="km" style="border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; padding-top: 0.5em;">
<a href="http://www.blogger.com/blogger.g?blogID=6077920348531885899" name="FIX"></a>Solution</h2>
<span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">Needs to set Connection Creation Retry Frequency to a desired seconds.</span><br />
<span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b>Now you can folow us on facebook and post your comments/views and questions for expert advise. Check this out <a href="http://oraclefusionfacts.blogspot.in/2012/02/follow-us-on-facebook-and-stay-in-touch.html" target="_blank">facebook</a></b></i></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b><br /></b></i></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><i><b>Find us on facebook <a href="https://www.facebook.com/pages/Oraclefusionfacts/272364096117016" target="_blank">here</a></b></i></span><br />
</div>Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.com0tag:blogger.com,1999:blog-6077920348531885899.post-31467768529069503512011-09-23T23:23:00.000+05:302012-02-12T17:02:18.287+05:30Configure Transaction Timeout for BPEL on SOA 11g<div dir="ltr" style="text-align: left;" trbidi="on">
<span class="Apple-style-span" style="background-color: #fefcee;"></span><br />
<h2 class="km" style="border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; padding-top: 0.5em;">
Applies to:</h2>
<b style="font-family: Arial, Helvetica, sans-serif; font-size: 13px;">Oracle SOA Platform - Version: 11.1.1.1.0 to 11.1.1.5.0 - </b><br />
<h2 class="km" style="border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; padding-top: 0.5em;">
<a href="http://www.blogger.com/blogger.g?blogID=6077920348531885899" name="GOAL"></a>Goal</h2>
<b style="font-family: Arial, Helvetica, sans-serif; font-size: 13px;">During runtime you may be seeing errors in the log similar to the following:</b><br />
<br />
<span class="kmfixedwidthfont" style="font-family: 'Courier New', Courier, monospace; font-size: 13px;"></span><br />
<div class="kmcodeblock" style="background-color: #eef3f7; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(196, 209, 230); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(196, 209, 230); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(196, 209, 230); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 5px; overflow-x: auto; overflow-y: auto; padding-bottom: 0.5em; padding-left: 0.5em; padding-right: 0.5em; padding-top: 0.5em; width: 1266px;">
<span class="kmfixedwidthfont" style="font-family: 'Courier New', Courier, monospace; font-size: 13px;"><code class="km" style="font-family: 'Courier New', Courier, monospace; font-size: 12px;"><b>The transaction was rolled back</b><br />
<span class="Apple-style-span" style="font-weight: 800;">or</span><br />
<b>Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out</b></code></span></div>
<br />
<b style="font-family: Arial, Helvetica, sans-serif; font-size: 13px;">The solution is typically to increase the transaction timeout for the process. </b><b style="font-family: Arial, Helvetica, sans-serif; font-size: 13px;"><br />
</b><br />
<h2 class="km" style="border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; padding-top: 0.5em;">
<a href="http://www.blogger.com/blogger.g?blogID=6077920348531885899" name="FIX"></a>Solution</h2>
<b style="font-family: Arial, Helvetica, sans-serif; font-size: 13px;">As a general rule, you should keep the following relation between the timeout parameters:</b><br />
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-weight: bold;">
<span class="Apple-style-span" style="font-family: inherit; font-size: small;"></span><br />
<div class="kmcodeblock" style="background-color: #eef3f7; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(196, 209, 230); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(196, 209, 230); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(196, 209, 230); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 5px; overflow-x: auto; overflow-y: auto; padding-bottom: 0.5em; padding-left: 0.5em; padding-right: 0.5em; padding-top: 0.5em; width: 1266px;">
<span class="Apple-style-span" style="font-family: inherit; font-size: small;"><span class="Apple-style-span" style="font-family: inherit;"><strong>syncMaxWaitTime < BPEL EJB's transaction timeout < Global Transaction Timeout</strong></span></span></div>
</div>
<div>
<span class="Apple-style-span" style="font-size: small;"><span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">Note: This recommendation are ONLY applicable to Sync Processes. Additionally the default Timeout setting that comes with SOA 11g installation does not comply with this rule. You might need to adjust the setting according to your particular business needs.</span><br />
<br />
</span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-weight: bold;">
<span class="Apple-style-span" style="font-family: inherit; font-size: small;"></span><br />
<div>
<span class="Apple-style-span" style="font-family: inherit; font-size: small;"><strong>1. </strong><strong>Setting syncMaxWaitTime:</strong></span></div>
<div>
<span class="Apple-style-span" style="font-family: inherit; font-size: small;"><span class="Apple-style-span" style="font-family: inherit;"><br />
</span></span></div>
<div class="kmnotebox" style="background-color: #fefcee; border-bottom-color: rgb(193, 169, 13); border-bottom-style: solid; border-bottom-width: 2px; border-left-color: rgb(193, 169, 13); border-left-style: solid; border-left-width: 2px; border-right-color: rgb(193, 169, 13); border-right-style: solid; border-right-width: 2px; border-top-color: rgb(193, 169, 13); border-top-style: solid; border-top-width: 2px; font-family: Arial, Helvetica, sans-serif; font-size: 16px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px;">
<span class="Apple-style-span" style="font-family: inherit; font-size: small;"><span style="font-family: inherit;" xmlns="http://www.w3.org/1999/xhtml">This property controls the maximum time the process result receiver will wait for a result before returning for Sync processes.<br />
<br />
<strong>For SOA 11g R1 PS1 (11.1.1.1.0 to 11.1.1.5):</strong><br />
* Login into EM<br />
* Expand SOA and right click on "soa-infra" and select: SOA Administration -> BPEL Properties<br />
* Click on "More BPEL Configuration Properties..." link<br />
* Locate syncMaxWaitTime and change it.<br />
<br />
<br />
<strong>-- Alternative Method -- For SOA 11g R1 (11.1.1.1.0) ONLY:</strong><br />
* Take backup of bpel-config.xml, located at: <bea_home>/user_projects/domains/<domain_name>/config/soa-infra/configuration/.<br />
* Open the bpel-config.xml file.<br />
* Edit the value for the syncMaxWaitTime property.<br />
* Save the changes.<br />
* Restart Oracle WebLogic Server.<br />
<br />
<strong>Note:</strong> Since 11.1.1.2, bpel-config.xml is no longer available into the file system and therefore the only chance for modification is through EM Console.</domain_name></bea_home></span></span></div>
</div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-weight: bold;">
<span class="Apple-style-span" style="font-family: inherit; font-size: small;"><strong><br />
</strong></span></div>
<div style="font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-weight: bold;">
<span class="Apple-style-span" style="font-family: inherit; font-size: small;"><strong></strong></span><br />
<div>
<span class="Apple-style-span" style="font-family: inherit; font-size: small;"><strong><span class="Apple-style-span" style="font-family: inherit;"><strong>2. Setting the transaction timeout for BPEL EJBs:<br />
</strong></span></strong><span class="Apple-style-span" style="font-family: inherit;"></span></span><br />
<div class="kmnotebox" style="background-color: #fefcee; border-bottom-color: rgb(193, 169, 13); border-bottom-style: solid; border-bottom-width: 2px; border-left-color: rgb(193, 169, 13); border-left-style: solid; border-left-width: 2px; border-right-color: rgb(193, 169, 13); border-right-style: solid; border-right-width: 2px; border-top-color: rgb(193, 169, 13); border-top-style: solid; border-top-width: 2px; font-family: Arial, Helvetica, sans-serif; font-size: 16px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px;">
<span class="Apple-style-span" style="font-family: inherit; font-size: small;"><span class="Apple-style-span" style="font-family: inherit;">The timeout properties for the EJBs control the particular timeout setting for the SOA application, overriding the global setting specified by the JTA timeout (See step 3).</span></span><br />
<span class="Apple-style-span" style="font-family: inherit; font-size: small;"><span class="Apple-style-span" style="font-family: inherit;"><br /></span></span><br />
<div class="kmcodeblock" style="background-color: #eef3f7; border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(196, 209, 230); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(196, 209, 230); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(196, 209, 230); border-top-style: solid; border-top-width: 1px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 5px; overflow-x: auto; overflow-y: auto; padding-bottom: 0.5em; padding-left: 0.5em; padding-right: 0.5em; padding-top: 0.5em; width: 1243px;">
<span class="Apple-style-span" style="font-family: inherit; font-size: small;"><span class="Apple-style-span" style="font-family: inherit;"><code class="km" style="font-family: 'Courier New', Courier, monospace; font-size: 14px;"><strong>Note</strong>: Prior implement next steps, ensure to shutdown SOA managed server. Otherwise you will get errors, see following document for details <a href="https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=1271369.1">Note 1271369.1</a></code></span></span></div>
<span class="Apple-style-span" style="font-family: inherit; font-size: small;"><span class="Apple-style-span" style="font-family: inherit;"><br /></span></span><br />
<span class="Apple-style-span" style="font-family: inherit; font-size: small;"><span class="Apple-style-span" style="font-family: inherit;"><br /></span></span><br />
<span class="Apple-style-span" style="font-family: inherit; font-size: small;"><span class="Apple-style-span" style="font-family: inherit;">* Log into Oracle WebLogic Administration Console.</span></span><br />
<span class="Apple-style-span" style="font-family: inherit; font-size: small;"><span class="Apple-style-span" style="font-family: inherit;">* Click Deployments.</span></span><br />
<span class="Apple-style-span" style="font-family: inherit; font-size: small;"><span class="Apple-style-span" style="font-family: inherit;">* Expand soa-infra -> EJBs.</span></span><br />
<span class="Apple-style-span" style="font-family: inherit; font-size: small;"><span class="Apple-style-span" style="font-family: inherit;">* Following EJBs need to be updated:</span></span><br />
<blockquote>
<span class="Apple-style-span" style="font-family: inherit; font-size: small;"><span class="Apple-style-span" style="font-family: inherit;"><strong>BPELActivityManagerBean<br />
BPELDeliveryBean<br />
BPELDispatcherBean<br />
BPELEngineBean<br />
BPELFinderBean<br />
BPELInstanceManagerBean<br />
BPELProcessManagerBean<br />
BPELSensorValuesBean<br />
BPELServerManagerBean</strong></span></span></blockquote>
<span class="Apple-style-span" style="font-family: inherit; font-size: small;"><span class="Apple-style-span" style="font-family: inherit;">* You can change the parameter in the Configuration tab for the Transaction Timeout setting.</span></span><br />
<span class="Apple-style-span" style="font-family: inherit; font-size: small;"><span class="Apple-style-span" style="font-family: inherit;">* Click Save.</span></span><br />
<span class="Apple-style-span" style="font-family: inherit; font-size: small;"><span class="Apple-style-span" style="font-family: inherit;">* Save the Plan.xml to some known location</span></span><br />
<span class="Apple-style-span" style="font-family: inherit; font-size: small;"><span class="Apple-style-span" style="font-family: inherit;">* Start SOA Managed Server</span></span></div>
<span class="Apple-style-span" style="font-family: inherit; font-size: small;"><span class="Apple-style-span" style="font-family: inherit;"><strong><span class="Apple-style-span" style="font-family: inherit;"><span style="font-family: inherit;" xmlns="http://www.w3.org/1999/xhtml"><span style="font-family: inherit;" xmlns="http://www.w3.org/1999/xhtml"><span style="font-family: inherit;" xmlns="http://www.w3.org/1999/xhtml"><span style="font-family: inherit;" xmlns="http://www.w3.org/1999/xhtml"><div>
<strong><br />
</strong></div>
</span></span></span></span></span></strong></span></span></div>
<span class="Apple-style-span" style="font-family: inherit;"><span class="Apple-style-span" style="font-family: inherit;"><span style="font-family: inherit;" xmlns="http://www.w3.org/1999/xhtml"></span></span></span><br />
<div>
<span class="Apple-style-span" style="font-family: inherit;"><span class="Apple-style-span" style="font-family: inherit;"><span style="font-family: inherit;" xmlns="http://www.w3.org/1999/xhtml"><span class="Apple-style-span" style="font-family: inherit; font-size: small;"><strong>3. </strong><strong>Setting the global transaction timeout at Weblogic Domain Level:<br />
</strong></span></span></span></span></div>
<div class="kmnotebox" style="background-color: #fefcee; border-bottom-color: rgb(193, 169, 13); border-bottom-style: solid; border-bottom-width: 2px; border-left-color: rgb(193, 169, 13); border-left-style: solid; border-left-width: 2px; border-right-color: rgb(193, 169, 13); border-right-style: solid; border-right-width: 2px; border-top-color: rgb(193, 169, 13); border-top-style: solid; border-top-width: 2px; font-family: Arial, Helvetica, sans-serif; font-size: 13px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px;">
<span class="Apple-style-span" style="font-family: inherit;"><span class="Apple-style-span" style="font-family: inherit;"><span style="font-family: inherit;" xmlns="http://www.w3.org/1999/xhtml"><strong></strong></span></span></span><br />
<div>
<span class="Apple-style-span" style="font-family: inherit;"><span class="Apple-style-span" style="font-family: inherit;"><span style="font-family: inherit;" xmlns="http://www.w3.org/1999/xhtml">This property controls the transaction timeout seconds for active transactions. If the transaction is still in the "active" state after this time, it is automatically rolled back.</span></span></span></div>
<div>
<span class="Apple-style-span" style="font-family: inherit;"><span class="Apple-style-span" style="font-family: inherit;"><span style="font-family: inherit;" xmlns="http://www.w3.org/1999/xhtml"><br /></span></span></span></div>
<div>
<span class="Apple-style-span" style="font-family: inherit;"><span class="Apple-style-span" style="font-family: inherit;"><span style="font-family: inherit;" xmlns="http://www.w3.org/1999/xhtml"> * Log into Oracle WebLogic Administration Console.</span></span></span></div>
<div>
<span class="Apple-style-span" style="font-family: inherit;"><span class="Apple-style-span" style="font-family: inherit;"><span style="font-family: inherit;" xmlns="http://www.w3.org/1999/xhtml"> * Click Services -> JTA.</span></span></span></div>
<div>
<span class="Apple-style-span" style="font-family: inherit;"><span class="Apple-style-span" style="font-family: inherit;"><span style="font-family: inherit;" xmlns="http://www.w3.org/1999/xhtml"> * Change the value of Timeout Seconds (the default is 30).</span></span></span></div>
<div>
<span class="Apple-style-span" style="font-family: inherit;"><span class="Apple-style-span" style="font-family: inherit;"><span style="font-family: inherit;" xmlns="http://www.w3.org/1999/xhtml"> * Click Save.</span></span></span></div>
<div>
<span class="Apple-style-span" style="font-family: inherit;"><span class="Apple-style-span" style="font-family: inherit;"><span style="font-family: inherit;" xmlns="http://www.w3.org/1999/xhtml"> * Restart Oracle WebLogic Server.</span></span></span></div>
<div>
<span class="Apple-style-span" style="font-family: inherit;"><span class="Apple-style-span" style="font-family: inherit;"><span style="font-family: inherit;" xmlns="http://www.w3.org/1999/xhtml"><br /></span></span></span></div>
<span class="Apple-style-span" style="font-family: inherit;"><span class="Apple-style-span" style="font-family: inherit;"><span style="font-family: inherit;" xmlns="http://www.w3.org/1999/xhtml"><strong></strong></span></span></span></div>
</div>
</div>Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.com11tag:blogger.com,1999:blog-6077920348531885899.post-199383094928210182011-09-23T23:13:00.000+05:302011-09-23T23:13:25.061+05:30SOA 11g Configuration Files and Log Files Location<div dir="ltr" style="text-align: left;" trbidi="on"><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 13px;"></span><br />
<h2 class="km" style="border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; padding-top: 0.5em;">Applies to:</h2>Oracle SOA Platform - Version: 11.1.1.1.0<max_ver> and later [Release: 11gR1 and later ]<br />
Information in this document applies to any platform.<br />
<h2 class="km" style="border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; padding-top: 0.5em;"><a href="" name="GOAL"></a>Goal</h2></max_ver><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 13px;"><max_ver><br />
The intent of this note is to list the important configuration and log files used to diagnose SOA 11g problems.<br />
<h2 class="km" style="border-bottom-color: rgb(196, 209, 230); border-bottom-style: solid; border-bottom-width: 1px; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 14px; padding-top: 0.5em;"><a href="" name="FIX"></a>Solution</h2>Throughout this note we will refer to the following:<br />
- <strong><em>$ MIDDLEWARE_HOME </em></strong>= <fusion directory="" installation="" middleware=""><br />
- <strong><em>$ DOMAIN_HOME</em> </strong>= $ MIDDLEWARE_HOME/user_projects/domains/<domain-name><br />
<br />
Here is a list of files to look for:<br />
1.Domain configuration under <em><strong></strong></em><span class="kmfixedwidthfont" style="font-family: 'Courier New', Courier, monospace;"><em><strong>$DOMAIN_HOME</strong>/config</em> </span> directory<br />
- Config.xml<br />
- jdbc/<data-source-name>-Jdbc.xml<br />
- jms/<jms-resource-name>-Jms.xml files under<br />
<br />
2. Adapter configuration under <span class="kmfixedwidthfont" style="font-family: 'Courier New', Courier, monospace;"><em><strong>$MIDDLEWARE_HOME</strong>/<soa_home>/soa/connectors/</soa_home></em> </span> directory. <em>(</em><soa_home> Oracle_SOA1 is the default name)<br />
- AppsAdapter.rar<br />
- DbAdapter.rar<br />
- FtpAdapter.rar<br />
- MQSeriesAdapter.rar<br />
- SocketAdapter.rar<br />
- AqAdapter.rar<br />
- FileAdapter.rar<br />
- JmsAdapter.rar<br />
- OracleBamAdapter.rar<br />
<br />
<div class="kmnotebox" style="background-color: #fefcee; border-bottom-color: rgb(193, 169, 13); border-bottom-style: solid; border-bottom-width: 2px; border-left-color: rgb(193, 169, 13); border-left-style: solid; border-left-width: 2px; border-right-color: rgb(193, 169, 13); border-right-style: solid; border-right-width: 2px; border-top-color: rgb(193, 169, 13); border-top-style: solid; border-top-width: 2px; font-family: Arial, Helvetica, sans-serif; font-size: 13px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; padding-top: 10px;">If you are experiencing problems related to the adapter, please send us the appropriate adapter's rar file.<br />
Also provide the Adapter's deployment plan (Plan.xml).</div><br />
3. Admin Server log files under <em><strong></strong><span class="kmfixedwidthfont" style="font-family: 'Courier New', Courier, monospace;"><strong>$DOMAIN_HOME/</strong>servers/<admin-server-name>/logs </admin-server-name></span></em> directory<br />
- Access.log<br />
- <admin-server-name>-Diagnostic.log<br />
- <admin-server-name>.log<br />
<br />
4. SOA Server log files under <em><strong></strong></em><span class="kmfixedwidthfont" style="font-family: 'Courier New', Courier, monospace;"><em><strong>$DOMAIN_HOME</strong>/servers/<soa-server-name>/logs</soa-server-name></em></span> directory<br />
- <domain-name>. log<br />
- <soa-server-name>-Diagnostic.log<br />
- <soa-server-name>.log </soa-server-name></soa-server-name></domain-name></admin-server-name></admin-server-name></soa_home></jms-resource-name></data-source-name></domain-name></fusion></max_ver></span><br />
<span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 13px;"><max_ver><br />
</max_ver></span><br />
<span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 13px;"><max_ver>Soumya...</max_ver></span></div>Soumya Prakash Mishrahttp://www.blogger.com/profile/04112506128561118773noreply@blogger.com1