<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Cybergavin</title>
	
	<link>http://it.cybergav.in</link>
	<description>Information Technology - What I See Is What You Get</description>
	<lastBuildDate>Tue, 02 Feb 2010 13:36:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/cybergavin/it" /><feedburner:info uri="cybergavin/it" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>cybergavin/it</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Runaway process causes 100% disk utilization</title>
		<link>http://feedproxy.google.com/~r/cybergavin/it/~3/_SNNivgCb9I/</link>
		<comments>http://it.cybergav.in/2010/02/01/runaway-process-causes-100-disk-utilization/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 16:56:35 +0000</pubDate>
		<dc:creator>mrkips</dc:creator>
				<category><![CDATA[Solutions]]></category>
		<category><![CDATA[df vs du]]></category>
		<category><![CDATA[runaway process causes 100% disk utilization]]></category>
		<category><![CDATA[vx_nospace]]></category>

		<guid isPermaLink="false">http://it.cybergav.in/2010/02/01/runaway-process-causes-100-disk-utilization/</guid>
		<description><![CDATA[Problem:
A Solaris 9 mountpoint was 100% utilized (as per “df”) and no new files could be added.
df output:
cybergavin@myhost:/dashboard&#62; df –h /dashboard      Filesystem&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; size&#160;&#160; used&#160; avail capacity&#160; Mounted on       /dev/vx/dsk/A19278-S01-7uitx-dg/dashboard       &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 16G&#160;&#160;&#160; 16G&#160;&#160; 2.1M&#160;&#160; 100%&#160;&#160;&#160; /dashboard
du output:
cybergavin@myhost:/dashboard&#62; du –sk [...]]]></description>
			<content:encoded><![CDATA[<p><u><strong><font size="2">Problem:</font></strong></u></p>
<p align="left">A Solaris 9 mountpoint was 100% utilized (as per “df”) and no new files could be added.</p>
<p align="left"><u>df output:</u></p>
<p><font face="Courier New" size="2">cybergavin@myhost:/dashboard</font><font face="Courier New" size="2">&gt; df –h /dashboard      <br />Filesystem&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; size&#160;&#160; used&#160; avail capacity&#160; Mounted on       <br />/dev/vx/dsk/A19278-S01-7uitx-dg/dashboard       <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 16G&#160;&#160;&#160; <font color="#ff0000">16G</font>&#160;&#160; 2.1M&#160;&#160; 100%&#160;&#160;&#160; /dashboard</font></p>
<p align="left"><u>du output:</u></p>
<p><font face="Courier New" size="2">cybergavin@myhost:/dashboard&gt; du –sk /dashboard      <br /><font color="#ff0000">1789259</font> /dashboard</font></p>
<p align="justify">
<p align="justify">
<p align="justify"><font size="2"><u><strong>Background &amp; Analysis:</strong></u></font></p>
<p align="justify">As you can see above, both “du” and “df” provide significantly different metrics for the utilization of /dashboard. The “df” output tells me that I have very little free space (~ 2.1 MB) whereas the “du” output indicates that I have around 14 GB free space. </p>
<p>Well, first and foremost, df and du intend to give you disk usage stats, but they do <u>not </u>work in the same way. Refer <a href="http://linuxshellaccount.blogspot.com/2008/12/why-du-and-df-display-different-values.html" target="_blank"><strong>this article</strong></a> to understand the differences between df and du.</p>
<p>Secondly, the mountpoint /dashboard was mounted on a <a href="http://en.wikipedia.org/wiki/Veritas_File_System" target="_blank">VxFS</a>. The dmesg output showed the following:</p>
<p><font face="Courier New" size="2">Feb&#160; 1 09:29:00 myhost vxfs: [ID 702911 kern.notice] NOTICE: msgcnt 112748 mesg 001: V-2-1: vx_nospace -&#160; /dev/vx/dsk/A19278-S01-7uitx-dg/dashboard file system full (1 block extent)</font></p>
<p>An explanation for the above (quite obvious) message is given in this <a href="http://seer.entsupport.symantec.com/docs/283308.htm" target="_blank">Symantec article</a><strong></strong>.</p>
<p align="justify">I found a runaway background process (<font face="Courier New" size="2">iostat –x 2</font>) running for the past 2 months. It was a process launched by a shell script. The shell script exited, but the process wasn’t killed. The process was redirecting its output to a file and that file was also deleted. Consequently, the process’ stdout file descriptor (1) was not closed and the process was still writing to stdout. This caused the space occupied by the stdout to be hidden. To determine how much space is actually being used by the process when writing to stdout, try the following command (&lt;pid&gt; = process id):</p>
<p>&#160;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #660033;">-l</span> <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/&lt;</span>pid<span style="color: #000000; font-weight: bold;">&gt;/</span>fd<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1</span></pre></div></div>

<p>&#160;</p>
<p>
  <br /><font size="2"><u><strong>Solution:</strong></u></font></p>
<p align="justify">Killed the runaway process and the mountpoint utilization dropped significantly to 14%. Further, df and du outputs correlated. </p>
<p><font size="2"><u><strong>Root Cause:</strong></u></font></p>
<p align="justify"><font size="2">A runaway process was consuming most of the disk space and this disk space consumption was “hidden” because the file to which the process’ stdout was being redirected, was deleted. </font></p>
<p align="justify"><a href="http://download-llnw.oracle.com/docs/cd/E13222_01/wls/docs81/ConsoleHelp/domain_messagingbridge_config_general.html#1104829" target="_blank"></a></p>
<p align="justify"><strong>NOTE:</strong> </p>
<p><font color="#0000ff" size="1">(1) The solution above describes a successful problem-solving experience and may not be applicable to other problems with similar symptoms.<br />
    <br />(2) Your rating of this post will be much appreciated. Also, feel free to leave comments.</font></p>
<p><font color="#0000ff" size="1">&#160;</font></p>
<img src="http://feeds.feedburner.com/~r/cybergavin/it/~4/_SNNivgCb9I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://it.cybergav.in/2010/02/01/runaway-process-causes-100-disk-utilization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://it.cybergav.in/2010/02/01/runaway-process-causes-100-disk-utilization/</feedburner:origLink></item>
		<item>
		<title>WebLogic Messaging Bridge does not start : QOS unreachable and nondegradeable</title>
		<link>http://feedproxy.google.com/~r/cybergavin/it/~3/BriPc8SJFZ0/</link>
		<comments>http://it.cybergav.in/2010/01/28/weblogic-messaging-bridge-cannot-connect-to-mq-destination-qos-unreachable-and-nondegradeable/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 17:13:13 +0000</pubDate>
		<dc:creator>mrkips</dc:creator>
				<category><![CDATA[Solutions]]></category>
		<category><![CDATA[BEA-200025]]></category>
		<category><![CDATA[because the quality of service configured (Exactly-once) is unreachable]]></category>
		<category><![CDATA[failed to start]]></category>
		<category><![CDATA[quality of service is unreachable]]></category>

		<guid isPermaLink="false">http://it.cybergav.in/2010/01/28/weblogic-messaging-bridge-cannot-connect-to-mq-destination-qos-unreachable-and-nondegradeable/</guid>
		<description><![CDATA[Problem:
Messaging Bridge on WebLogic Server 8.1 does not start. Following errors seen in server log:




####&#60;Jan 27, 2010 10:10:13 AM GMT&#62; &#60;Info&#62; &#60;MessagingBridge&#62; &#60;myhost&#62; &#60;managed1&#62; &#60;ExecuteThread: &#8216;4&#8242; for queue: &#8216;MessagingBridge&#8217;&#62; &#60;&#60;WLS Kernel&#62;&#62;      &#60;&#62; &#60;BEA-200032&#62; &#60;Bridge &#34;MyBridge&#34; is configured to disallow degradation of its quality of service in cases where the configured [...]]]></description>
			<content:encoded><![CDATA[<p><u><strong><font size="2">Problem:</font></strong></u></p>
<p align="justify">Messaging Bridge on WebLogic Server 8.1 does not start. Following errors seen in server log:</p>
<p align="left">
<p align="left"><font face="Courier New" size="2"></font></p>
<p align="justify"><font face="Courier New"></font></p>
</p>
<p align="justify"><font face="Courier New" size="2">####&lt;Jan 27, 2010 10:10:13 AM GMT&gt; &lt;Info&gt; &lt;MessagingBridge&gt; &lt;myhost&gt; &lt;managed1&gt; &lt;ExecuteThread: &#8216;4&#8242; for queue: &#8216;MessagingBridge&#8217;&gt; &lt;&lt;WLS Kernel&gt;&gt;      <br />&lt;&gt; &lt;BEA-200032&gt; &lt;Bridge &quot;MyBridge&quot; is configured to disallow degradation of its quality of service in cases where the configured quality of service is unreachable.&gt;       <br />####&lt;Jan 27, 2010 10:10:13 AM GMT&gt; &lt;Error&gt; &lt;MessagingBridge&gt; &lt;myhost&gt; &lt;managed1&gt; &lt;ExecuteThread: &#8216;4&#8242; for queue: &#8216;MessagingBridge&#8217;&gt; &lt;&lt;WLS Kernel&gt;&gt; &lt;&gt; &lt;BEA-200025&gt; &lt;Bridge &quot;MyBridge&quot; failed to start, because the quality of service configured (Exactly-once) is unreachable. This is likely due to an invalid configuration or adapter limitations.&gt;       <br />####&lt;Jan 27, 2010 10:10:13 AM GMT&gt; &lt;Info&gt; &lt;MessagingBridge&gt; &lt;myhost&gt; &lt;managed1&gt; &lt;ExecuteThread: &#8216;4&#8242; for queue: &#8216;MessagingBridge&#8217;&gt; &lt;&lt;WLS Kernel&gt;&gt; &lt;&gt; &lt;BEA-200034&gt; &lt;Bridge &quot;MyBridge&quot; is shut down.&gt;</font></p>
<p align="left"><font face="Courier New">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </font></p>
<p align="left"><u>NOTE:</u> MyBridge connects a WebLogic JMS destination (source) to an MQ destination (target).</p>
<p align="justify">
<p align="justify">
<p align="justify"><font size="2"><u><strong>Background &amp; Analysis:</strong></u></font></p>
<p>In order for Messaging Bridges on WebLogic 8.1 to use <u> Exactly-Once QOS</u>, the following requirements must be met:</p>
<ul>
<li>
<div>Messaging Bridge adapter must be jms-xa-adp.rar and its JNDI name is eis.jms.WLSConnectionFactoryJNDIXA.</div>
</li>
<li>
<div>Connection Factories for source Bridge destinations must be XA-enabled.</div>
</li>
<li>
<div>Connection Factories used for target Bridge Destinations must be XA-enabled.</div>
</li>
<li>
<div>Messaging Bridges must be configured with Exactly-Once QOS.</div>
</li>
<li>
<div>The “QOS Degradation Allowed” checkbox must be unchecked.</div>
</li>
</ul>
<p>With the above, it is recommended that the Messaging Bridges be Synchronous for better performance (fewer transaction commits).</p>
<p>From the log snippet above, you can see that the Messaging Bridge MyBridge could not start because the QOS (Exactly-Once) was unreachable and the Bridge was not allowed to degrade its QOS.</p>
<p>The QOS will typically be unreachable due to adapter, bridge configuration or bridge destination configuration issues as referred to in the log snippet.</p>
<p><font size="2"><u><strong>Solution:</strong></u></font></p>
<p align="justify">Enabled XA on the ConnectionFactory for the target Bridge Destination on MQ.</p>
<blockquote><p align="justify">In order to satisfy the Exactly-Once QOS, both source and target destination connection factories must be XA-enabled.</p>
</blockquote>
<p><font size="2"><u><strong>Root Cause:</strong></u></font></p>
<p align="justify">The ConnectionFactory for the target Bridge Destination on MQ was configured as non-XA, thereby preventing the Messaging Bridge from initiating an XA connection from the WebLogic Bridge destination to the MQ Bridge destination. Since the Messaging Bridge was not allowed to lower its QOS to make the connection, it failed to start properly.</p>
<p align="justify">&#160;<u>NOTE:</u> By allowing QOS degradation, the MessagingBridge will connect to the MQ destination even if the ConnectionFactory for the Bridge Destination on MQ were non-XA. However, the choice of QOS must be driven by business requirements and not by technical workarounds.</p>
<p align="justify">&#160;<strong><u>Reference:</u></strong> <a href="http://download-llnw.oracle.com/docs/cd/E13222_01/wls/docs81/ConsoleHelp/domain_messagingbridge_config_general.html#1104829" target="_blank">Oracle Documentation</a></p>
<p><strong>NOTE:</strong>     <br /><font color="#0000ff" size="1">(1) The solution above describes a successful problem-solving experience and may not be applicable to other problems with similar symptoms.      <br />(2) Your rating of this post will be much appreciated. Also, feel free to leave comments.</font></p>
<p><font color="#0000ff" size="1">&#160;</font></p>
<img src="http://feeds.feedburner.com/~r/cybergavin/it/~4/BriPc8SJFZ0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://it.cybergav.in/2010/01/28/weblogic-messaging-bridge-cannot-connect-to-mq-destination-qos-unreachable-and-nondegradeable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://it.cybergav.in/2010/01/28/weblogic-messaging-bridge-cannot-connect-to-mq-destination-qos-unreachable-and-nondegradeable/</feedburner:origLink></item>
		<item>
		<title>WebLogic: Could not find SQL  Document Store cgDataSource</title>
		<link>http://feedproxy.google.com/~r/cybergavin/it/~3/N9L6W15ZVgY/</link>
		<comments>http://it.cybergav.in/2010/01/25/weblogic-could-not-find-sql-document-store-cgdatasource/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 20:13:02 +0000</pubDate>
		<dc:creator>mrkips</dc:creator>
				<category><![CDATA[Solutions]]></category>
		<category><![CDATA[BE A-001151]]></category>
		<category><![CDATA[Could not find SQL Document Store cgDtaSource]]></category>
		<category><![CDATA[Failed to obtain connection to datasource=cgDataSource]]></category>
		<category><![CDATA[using generic DB properties]]></category>

		<guid isPermaLink="false">http://it.cybergav.in/2010/01/25/weblogic-could-not-find-sql-document-store-cgdatasource/</guid>
		<description><![CDATA[Problem:
WebLogic Administration Server (with WebLogic Integration) 8.1 does not start. Following errors seen in stdout/stderr/server logs:
####&#60;Jan 25, 2010 4:30:26 PM GMT&#62; &#60;Error&#62; &#60;JDBC&#62; &#60;myhost&#62; &#60;myadmin&#62; &#60;main&#62; &#60;&#60;WLS Kernel&#62;&#62; &#60;&#62; &#60;BEA-001151&#62; &#60;Data Source &#34;cgDataSource&#34; deployment failed with the following error: null.&#62;
####&#60;Jan 25, 2010 4:30:26 PM GMT&#62; &#60;Info&#62; &#60;JDBC&#62; &#60;myhost&#62; &#60;myadmin&#62; &#60;main&#62; &#60;&#60;WLS Kernel&#62;&#62; &#60;&#62; &#60;BEA-001156&#62; &#60;Stack [...]]]></description>
			<content:encoded><![CDATA[<p><u><strong><font size="2">Problem:</font></strong></u></p>
<p align="justify">WebLogic Administration Server (with WebLogic Integration) 8.1 does not start. Following errors seen in stdout/stderr/server logs:</p>
<p align="left"><font size="2" face="Courier New">####&lt;Jan 25, 2010 4:30:26 PM GMT&gt; &lt;Error&gt; &lt;JDBC&gt; &lt;myhost&gt; &lt;myadmin&gt; &lt;main&gt; &lt;&lt;WLS Kernel&gt;&gt; &lt;&gt; &lt;BEA-001151&gt; &lt;Data So</font><font size="2" face="Courier New">urce &quot;cgDataSource&quot; deployment failed with the following error: null.&gt;</font></p>
<p align="left"><font size="2" face="Courier New">####&lt;Jan 25, 2010 4:30:26 PM GMT&gt; &lt;Info&gt; &lt;JDBC&gt; &lt;myhost&gt; &lt;myadmin&gt; &lt;main&gt; &lt;&lt;WLS Kernel&gt;&gt; &lt;&gt; &lt;BEA-001156&gt; &lt;Stack tr</font><font size="2" face="Courier New">ace associated with message 001151 follows:</font></p>
<p align="left"><font size="2" face="Courier New">weblogic.common.ResourceException</font></p>
<p align="left"><font size="2" face="Courier New">&#160;&#160;&#160;&#160;&#160;&#160;&#160; at weblogic.jdbc.common.internal.DataSourceManager.createDataSource(DataSourceManager.java:264)</font></p>
<p align="left"><font size="2" face="Courier New">####&lt;Jan 25, 2010 4:30:30 PM GMT&gt; &lt;Error&gt; &lt;WLW&gt; &lt;myhost&gt; &lt;myadmin&gt; &lt;main&gt; &lt;&lt;WLS Kernel&gt;&gt; &lt;&gt; &lt;000000&gt; &lt;Failed to ob</font><font size="2" face="Courier New">tain connection to datasource=cgDataSource, using generic DB properties&gt;</font></p>
<p align="left"><font size="2" face="Courier New">####&lt;Jan 25, 2010 4:30:31 PM GMT&gt; &lt;Error&gt; &lt;WLW&gt; &lt;myhost&gt; &lt;myadmin&gt; &lt;main&gt; &lt;&lt;WLS Kernel&gt;&gt; &lt;&gt; &lt;000000&gt; &lt;Error in sta</font><font size="2" face="Courier New">rtup class com.bea.wli.store.DocumentStoreSetup Method: init:</font></p>
<p align="left"><font size="2" face="Courier New">java.lang.IllegalStateException: Unable to start DocumentStore:&#160; com.bea.wli.store.DocumentStoreException: Could not find SQL</font><font size="2" face="Courier New"> Document Store cgDataSource</font></p>
<p align="justify"><font face="Courier New"></font></p>
<p align="justify"><font face="Courier New">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; .</font></p>
<p align="justify"><font face="Courier New">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; .</font></p>
<p align="justify">
<p align="justify">
<p align="justify"><font size="2"><u><strong>Background &amp; Analysis:</strong></u></font></p>
<p align="justify">WebLogic Integration (WLI) is a software Business Process Integration framework that runs on WebLogic Server. WLI also includes a console application (wliconsole) to manage WLI configuration. This console application is deployed on the WebLogic Administration Server. Since the console application interacts with the database, it uses default data sources and connection pools (e.g. cgDataSource and cgConnectionPool) for database connectivity.</p>
<p align="justify"> The errors above indicate that the cgDataSource failed to deploy and consequently, a startup class could not obtain connections to the database, thereby failing deployment and preventing the Administration Server from starting.</p>
<p align="justify">Data Sources use Connection Pools to obtain database connections.</p>
<p><font size="2"><u><strong>Solution:</strong></u></font></p>
<p align="justify">Ensure that the Connection Pool for the cgDataSource is configured properly (correct JDBC driver, URL, credentials, etc.) and targeted/deployed on the Administration Server (not just the cluster).</p>
<p><font size="2"><u><strong>Root Cause:</strong></u></font></p>
<p>The connection pool (cgConnectionPool) for the data source cgDataSource was not deployed on the Administration Server.</p>
<p align="justify">&#160;</p>
<p><strong>NOTE:</strong>     <br /><font color="#0000ff" size="1">(1) The solution above describes a successful problem-solving experience and may not be applicable to other problems with similar symptoms.      <br />(2) Your rating of this post will be much appreciated. Also, feel free to leave comments.</font></p>
<p><font color="#0000ff" size="1">&#160;</font></p>
<img src="http://feeds.feedburner.com/~r/cybergavin/it/~4/N9L6W15ZVgY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://it.cybergav.in/2010/01/25/weblogic-could-not-find-sql-document-store-cgdatasource/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://it.cybergav.in/2010/01/25/weblogic-could-not-find-sql-document-store-cgdatasource/</feedburner:origLink></item>
		<item>
		<title>How to encrypt passwords for WebLogic 9.x+?</title>
		<link>http://feedproxy.google.com/~r/cybergavin/it/~3/pyU4hFJ4Ahc/</link>
		<comments>http://it.cybergav.in/2010/01/24/how-to-encrypt-passwords-for-weblogic-9-x/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 22:01:26 +0000</pubDate>
		<dc:creator>mrkips</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[encrypt weblogic passwords]]></category>
		<category><![CDATA[weblogic.security.Encrypt]]></category>

		<guid isPermaLink="false">http://it.cybergav.in/2010/01/24/how-to-encrypt-passwords-for-weblogic-9-x/</guid>
		<description><![CDATA[In WebLogic versions prior to 9, JSAFE decryption exceptions and password encryption could be resolved/performed by simply setting plain-text passwords in config.xml as described here.
However, in WebLogic versions later than 9.0, setting plain-text passwords in config.xml (Production mode environments) will throw the following error:
&#60;Critical&#62; &#60;WebLogicServer&#62; &#60;BEA-000362&#62; &#60;Server failed. Reason: [Management:141266]Parsing Failure in config.xml: java.lang.IllegalArgumentException: In [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">In WebLogic versions prior to 9, JSAFE decryption exceptions and password encryption could be resolved/performed by simply setting plain-text passwords in config.xml as described <strong><a href="http://it.cybergav.in/2009/06/24/wls-start-up-jsafe_paddingexception/" target="_blank">here</a></strong>.</p>
<p align="justify">However, in WebLogic versions later than 9.0, setting plain-text passwords in config.xml (Production mode environments) will throw the following error:</p>
<p align="justify"><font face="Courier New">&lt;Critical&gt; &lt;WebLogicServer&gt; &lt;BEA-000362&gt; &lt;Server failed. Reason: [Management:141266]Parsing Failure in config.xml: java.lang.IllegalArgumentException: In production mode, it&#8217;s not allowed to set a clear text value to the property: PasswordEncrypted of ServerStartMBean&gt;</font></p>
<p align="justify">So, for WebLogic 9.x+ versions, if you doubt passwords in config.xml, you will need to encrypt plain-text passwords and configure them in config.xml as follows:</p>
<p align="justify"><font size="3"><strong>STEP 1:</strong></font> Encrypt the password you wish to change in config.xml.</p>
<p align="justify">Example: You experience JSAFE exceptions with the password of one of your connection pools and you doubt the encrypted password in config.xml.</p>
<p align="justify">
<ul>
<li>Source the WebLogic environment (to set CLASSPATH and other variables) as follows: </li>
</ul>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">&lt;</span>domain-dir<span style="color: #000000; font-weight: bold;">&gt;/</span>bin
. .<span style="color: #000000; font-weight: bold;">/</span>setDomainEnv.sh</pre></div></div>

<p align="justify">
<ul>
<li>Encrypt the plain-text password as follows: </li>
</ul>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">&lt;</span>domain-dir<span style="color: #000000; font-weight: bold;">&gt;</span>
java weblogic.security.Encrypt <span style="color: #000000; font-weight: bold;">&lt;</span>password<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p align="justify"><strong><font size="3">STEP 2:</font></strong> Update the config files (config.xml, jdbc, etc.) with the encrypted password obtained above.</p>
<p><strong>NOTE:</strong> The above <u>encryption procedure</u> will work even with earlier versions of WebLogic (e.g. 8.1).</p>
<img src="http://feeds.feedburner.com/~r/cybergavin/it/~4/pyU4hFJ4Ahc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://it.cybergav.in/2010/01/24/how-to-encrypt-passwords-for-weblogic-9-x/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://it.cybergav.in/2010/01/24/how-to-encrypt-passwords-for-weblogic-9-x/</feedburner:origLink></item>
		<item>
		<title>Disposable email – Use and forget</title>
		<link>http://feedproxy.google.com/~r/cybergavin/it/~3/P_2p-nBrLV8/</link>
		<comments>http://it.cybergav.in/2010/01/13/disposable-email-use-and-forget/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 23:41:01 +0000</pubDate>
		<dc:creator>mrkips</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[10 minute mail]]></category>
		<category><![CDATA[DEA]]></category>
		<category><![CDATA[disposable email]]></category>
		<category><![CDATA[mailinator]]></category>
		<category><![CDATA[temporary email]]></category>

		<guid isPermaLink="false">http://it.cybergav.in/2010/01/13/disposable-email-use-and-forget/</guid>
		<description><![CDATA[Have you provided your personal email account when registering on websites using email confirmation? Have you hesitated to provide comments on blogs, forums, etc. because of fear of having to provide your personal email address? Of course, you always have the option of registering a free email account just for this purpose, but this means [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">Have you provided your personal email account when registering on websites using email confirmation? Have you hesitated to provide comments on blogs, forums, etc. because of fear of having to provide your personal email address? Of course, you always have the option of registering a free email account just for this purpose, but this means you have yet another username/password pair to remember or require some time to create a fictional identity. Instead, how about using a temporary email address that requires no registration? That’s exactly what <a href="http://10minutemail.com/10MinuteMail/index.html" target="_blank"><strong>10 Minute Mail</strong></a> offers!! It provides you with a temporary email address that is valid for 10 minutes (more than enough time to respond to email registrations). Beat the spam caused by various online registrations!</p>
<p align="justify">Well, I’ve now found that <a href="http://en.wikipedia.org/wiki/Disposable_e-mail_address" target="_blank"><strong>Disposable Email Addressing (DEA)</strong></a> has been around for some time and there are several DEA services on the web. Refer <a href="http://www.sizlopedia.com/2007/05/27/top-20-temporary-and-disposable-email-services/" target="_blank">this blog post</a> for 20 such disposable email services (Mailinator, MyTrashMail, etc.). Website admins are nowadays blocking registrations with temporary email addresses. Well, you can always try!</p>
<img src="http://feeds.feedburner.com/~r/cybergavin/it/~4/P_2p-nBrLV8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://it.cybergav.in/2010/01/13/disposable-email-use-and-forget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://it.cybergav.in/2010/01/13/disposable-email-use-and-forget/</feedburner:origLink></item>
	</channel>
</rss>
