<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>John's Oracle Experiences</title>
	<atom:link href="http://jhelvoort.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jhelvoort.wordpress.com</link>
	<description>My everyday experiences with Oracle products</description>
	<lastBuildDate>Fri, 27 Nov 2009 20:40:11 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='jhelvoort.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/c65db64d6f201a8161d087cf73d4e576?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>John's Oracle Experiences</title>
		<link>http://jhelvoort.wordpress.com</link>
	</image>
			<item>
		<title>Easy way of monitoring errors while using a reverse proxy</title>
		<link>http://jhelvoort.wordpress.com/2009/11/20/easy-way-of-monitoring-errors-while-using-a-reverse-proxy/</link>
		<comments>http://jhelvoort.wordpress.com/2009/11/20/easy-way-of-monitoring-errors-while-using-a-reverse-proxy/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 20:52:30 +0000</pubDate>
		<dc:creator>John Paul van Helvoort</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jhelvoort.wordpress.com/?p=1279</guid>
		<description><![CDATA[When passing a website using a reverse proxy , you might encounter an 503 error when the site you try to pass on is for some reason not available.
You can monitor this behavior by implementing your own 503 reporting system.
First you take on a line that will catch these errors.

 Alias /error /srv/www/htdocs/error
 ErrorDocument 503 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhelvoort.wordpress.com&blog=5979595&post=1279&subd=jhelvoort&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>When passing a website using a reverse proxy , you might encounter an 503 error when the site you try to pass on is for some reason not available.<br />
You can monitor this behavior by implementing your own 503 reporting system.<br />
First you take on a line that will catch these errors.</p>
<blockquote><p>
 Alias /error /srv/www/htdocs/error<br />
 ErrorDocument 503 /error/503.php
</p></blockquote>
<p>After this you can put together your own 503.php script</p>
<pre class="brush: php;">
&lt;?php
ob_start();
header('HTTP/1.1 503');
header('Status: 503');
$error=503
?&gt;
&lt;html&gt;
 &lt;title&gt;Example.com Page Reported &lt;? echo $error ?&gt;&lt;/title&gt;
 &lt;body&gt;
 &lt;br&gt;
 &lt;center&gt;&lt;img src=/error/images/logo.png&gt;&lt;/center&gt;
 &lt;br&gt;
 &lt;center&gt; Technical Problem Encountered&lt;/center&gt;
 &lt;/body&gt;
&lt;/html&gt;
&lt;?
// Retrieve the URL requested
function curPageURL() {
  $isHTTPS = (isset($_SERVER[&quot;HTTPS&quot;]) &amp;&amp; $_SERVER[&quot;HTTPS&quot;] == &quot;on&quot;);
  $port = (isset($_SERVER[&quot;SERVER_PORT&quot;]) &amp;&amp; ((!$isHTTPS &amp;&amp; $_SERVER[&quot;SERVER_PORT&quot;] != &quot;80&quot;) || ($isHTTPS &amp;&amp; $_SERVER[&quot;SERVER_PORT&quot;] != &quot;443&quot;)));
  $port = ($port) ? ':'.$_SERVER[&quot;SERVER_PORT&quot;] : '';
  $url = ($isHTTPS ? 'https://' : 'http://').$_SERVER[&quot;SERVER_NAME&quot;].$port.$_SERVER[&quot;REQUEST_URI&quot;];
  return $url;
}

// Fill basic variables
  $page=curPageUrl();
  $today = date(&quot;F j, Y, G:i&quot;);
  $ip=$_SERVER['REMOTE_ADDR'];

  $headers  = 'MIME-Version: 1.0' . &quot;\r\n&quot;;
  $headers .= 'Content-type: text/html; charset=iso-8859-1' . &quot;\r\n&quot;;
// E-mailadres to inform
  $to='webmaster@example.com';

  $subject='ERROR '.$error.' Reported on '.$page;

  $message = '
  &lt;html&gt;
  &lt;body&gt;
    &lt;table&gt;
      &lt;tr&gt;
       &lt;td&gt;Requested URL&lt;/td&gt;&lt;td&gt;'.$page.'&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
       &lt;td&gt;Requested By&lt;/td&gt;&lt;td&gt;'.$ip.'&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
       &lt;td&gt;Requested On&lt;/td&gt;&lt;td&gt;'.$today.'&lt;/td&gt;
      &lt;/tr&gt;
    &lt;/table&gt;
    &lt;/table&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  ';
// Mail the error
  mail($to, $subject, $message, $headers);
?&gt;
</pre>
<p>Offcourse you can use this same code to report on different errors reported aswell :).</p>
Posted in Apache, Linux  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhelvoort.wordpress.com/1279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhelvoort.wordpress.com/1279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhelvoort.wordpress.com/1279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhelvoort.wordpress.com/1279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhelvoort.wordpress.com/1279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhelvoort.wordpress.com/1279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhelvoort.wordpress.com/1279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhelvoort.wordpress.com/1279/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhelvoort.wordpress.com/1279/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhelvoort.wordpress.com/1279/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhelvoort.wordpress.com&blog=5979595&post=1279&subd=jhelvoort&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhelvoort.wordpress.com/2009/11/20/easy-way-of-monitoring-errors-while-using-a-reverse-proxy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">John Paul van Helvoort</media:title>
		</media:content>
	</item>
		<item>
		<title>Protect your public APEX admin site when using an apache reverse proxy</title>
		<link>http://jhelvoort.wordpress.com/2009/11/20/protect-your-public-apex-admin-site-when-using-an-apache-reverse-proxy/</link>
		<comments>http://jhelvoort.wordpress.com/2009/11/20/protect-your-public-apex-admin-site-when-using-an-apache-reverse-proxy/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 13:01:13 +0000</pubDate>
		<dc:creator>John Paul van Helvoort</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Apex]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jhelvoort.wordpress.com/?p=1269</guid>
		<description><![CDATA[To catch all traffic which requests an APEX admin page like 4550 , you can include these RewriteRules in your Apache Reverse Proxy configuration.
When not set on the first entry point ( in this case the reverse proxy ), you might run into the problem that all traffic received on your back-end server seem to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhelvoort.wordpress.com&blog=5979595&post=1269&subd=jhelvoort&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>To catch all traffic which requests an APEX admin page like 4550 , you can include these RewriteRules in your Apache Reverse Proxy configuration.<br />
When not set on the first entry point ( in this case the reverse proxy ), you might run into the problem that all traffic received on your back-end server seem to come from an internal adres( your reverse proxy server)<br />
and can therefor not be filtered using the  build-in security feature in APEX. So be implementing these rules your site can be made more secure again.</p>
<pre class="brush: xml;">

# Set Engine on
RewriteEngine On

# 403 error will be thrown if met
# exclude the password change page for apex users
RewriteCond %{REQUEST_URI}%{QUERY_STRING} !/(apex|builder)/f?p=4155:.*
RewriteCond %{REQUEST_URI}%{QUERY_STRING} /(apex|builder)/f?p=(4[0-9]{3}:.*)
# Making it available still from 127.0.0.1 and 10.0.0.x
RewriteCond %{REMOTE_ADDR}        !^(127\.0\.0\.1|10\.0\.0\.[0-9]{1,3})$

# Else , let request go threw
RewriteRule /(apex|builder)/ - [F]
</pre>
<p>If you want to catch these 403 errors and show a nice error message for it, you can set these lines aswell</p>
<pre class="brush: xml;">

  alias /error /srv/www/htdocs/error

  ErrorDocument 403 /error/forbidden.html
</pre>
<p>Now place a forbidden.html file in /srv/www/htdocs/error/ and you are all set.</p>
Posted in Apache, Apex, Linux  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhelvoort.wordpress.com/1269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhelvoort.wordpress.com/1269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhelvoort.wordpress.com/1269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhelvoort.wordpress.com/1269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhelvoort.wordpress.com/1269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhelvoort.wordpress.com/1269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhelvoort.wordpress.com/1269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhelvoort.wordpress.com/1269/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhelvoort.wordpress.com/1269/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhelvoort.wordpress.com/1269/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhelvoort.wordpress.com&blog=5979595&post=1269&subd=jhelvoort&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhelvoort.wordpress.com/2009/11/20/protect-your-public-apex-admin-site-when-using-an-apache-reverse-proxy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">John Paul van Helvoort</media:title>
		</media:content>
	</item>
		<item>
		<title>Check out Oracle Enterprise Manager Desktop Widgets</title>
		<link>http://jhelvoort.wordpress.com/2009/11/12/check-out-oracle-enterprise-manager-desktop-widgets/</link>
		<comments>http://jhelvoort.wordpress.com/2009/11/12/check-out-oracle-enterprise-manager-desktop-widgets/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 05:58:37 +0000</pubDate>
		<dc:creator>John Paul van Helvoort</dc:creator>
				<category><![CDATA[Grid Control]]></category>

		<guid isPermaLink="false">http://jhelvoort.wordpress.com/?p=1251</guid>
		<description><![CDATA[Oracle now provides us with a desktop tool to monitor our environment using the an Oracle Enterprise Grid Control.
Simply install the desktop widget en search your favorite targets to be listed. From here you have a straight link to the target in your monitoring tool in case of any problem.
Here are some examples from after [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhelvoort.wordpress.com&blog=5979595&post=1251&subd=jhelvoort&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Oracle now provides us with a desktop tool to monitor our environment using the an Oracle Enterprise Grid Control.<br />
Simply install the desktop widget en search your favorite targets to be listed. From here you have a straight link to the target in your monitoring tool in case of any problem.</p>
<p>Here are some examples from after the installation on my desktop.</p>
<p><strong> Target Search &amp; Monitoring</strong></p>
<p>Login screen:<br />
<img src="http://jhelvoort.files.wordpress.com/2009/11/screen-shot-2009-11-11-at-10-31-56-pm.jpg?w=378&#038;h=293" alt="Screen shot 2009-11-11 at 10.31.56 PM" title="Screen shot 2009-11-11 at 10.31.56 PM" width="378" height="293" /></p>
<p></p>
<p>Monitoring targets<br />
<img src="http://jhelvoort.files.wordpress.com/2009/11/screen-shot-2009-11-11-at-10-34-00-pm.jpg?w=275&#038;h=258" alt="Screen shot 2009-11-11 at 10.34.00 PM" title="Screen shot 2009-11-11 at 10.34.00 PM" width="275" height="258" /></p>
<p></p>
<p><strong>High-Load Databases</strong></p>
<p>Load on all databases known to EMGC.<br />
<img src="http://jhelvoort.files.wordpress.com/2009/11/screen-shot-2009-11-11-at-10-38-54-pm.jpg?w=299&#038;h=209" alt="Screen shot 2009-11-11 at 10.38.54 PM" title="Screen shot 2009-11-11 at 10.38.54 PM" width="299" height="209" /></p>
<p>
Please visit the Oracle site and try-out there new Tools !<br />
http://www.oracle.com/technology/products/oem/widgets/index.html</p>
Posted in Grid Control  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhelvoort.wordpress.com/1251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhelvoort.wordpress.com/1251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhelvoort.wordpress.com/1251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhelvoort.wordpress.com/1251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhelvoort.wordpress.com/1251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhelvoort.wordpress.com/1251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhelvoort.wordpress.com/1251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhelvoort.wordpress.com/1251/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhelvoort.wordpress.com/1251/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhelvoort.wordpress.com/1251/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhelvoort.wordpress.com&blog=5979595&post=1251&subd=jhelvoort&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhelvoort.wordpress.com/2009/11/12/check-out-oracle-enterprise-manager-desktop-widgets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">John Paul van Helvoort</media:title>
		</media:content>

		<media:content url="http://jhelvoort.files.wordpress.com/2009/11/screen-shot-2009-11-11-at-10-31-56-pm.jpg" medium="image">
			<media:title type="html">Screen shot 2009-11-11 at 10.31.56 PM</media:title>
		</media:content>

		<media:content url="http://jhelvoort.files.wordpress.com/2009/11/screen-shot-2009-11-11-at-10-34-00-pm.jpg" medium="image">
			<media:title type="html">Screen shot 2009-11-11 at 10.34.00 PM</media:title>
		</media:content>

		<media:content url="http://jhelvoort.files.wordpress.com/2009/11/screen-shot-2009-11-11-at-10-38-54-pm.jpg" medium="image">
			<media:title type="html">Screen shot 2009-11-11 at 10.38.54 PM</media:title>
		</media:content>
	</item>
		<item>
		<title>Failed to start a managed process after using own SSLWallet</title>
		<link>http://jhelvoort.wordpress.com/2009/11/11/failed-to-start-a-managed-process-after-using-own-sslwallet/</link>
		<comments>http://jhelvoort.wordpress.com/2009/11/11/failed-to-start-a-managed-process-after-using-own-sslwallet/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 13:18:42 +0000</pubDate>
		<dc:creator>John Paul van Helvoort</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Application Server]]></category>

		<guid isPermaLink="false">http://jhelvoort.wordpress.com/?p=1241</guid>
		<description><![CDATA[After creating a new Oracle Wallet for my apache instance i ran into the error that the opmnctl service would not start when i changed the ssl.conf configuration to pickup the new wallet.

#SSLWallet file:C:\oracle\product\10.1.3\apache\ohs\conf\ssl.wlt\default
SSLWallet file:C:\oracle\WALLETS

Instead i got :

C:\oracle\product\10.1.3\apache\opmn\bin&#62;opmnctl startall
opmnctl: starting opmn and all managed processes&#8230;
================================================================================
opmn id=IAS-SRV:6200
    0 of 1 processes started.
ias-instance id=IAS-1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
ias-component/process-type/process-set:
 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhelvoort.wordpress.com&blog=5979595&post=1241&subd=jhelvoort&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>After creating a new Oracle Wallet for my apache instance i ran into the error that the opmnctl service would not start when i changed the ssl.conf configuration to pickup the new wallet.</p>
<blockquote><p>
#SSLWallet file:C:\oracle\product\10.1.3\apache\ohs\conf\ssl.wlt\default<br />
SSLWallet file:C:\oracle\WALLETS
</p></blockquote>
<p>Instead i got :</p>
<blockquote><p>
C:\oracle\product\10.1.3\apache\opmn\bin&gt;opmnctl startall<br />
opmnctl: starting opmn and all managed processes&#8230;<br />
================================================================================<br />
opmn id=IAS-SRV:6200<br />
    0 of 1 processes started.</p>
<p>ias-instance id=IAS-1<br />
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
ias-component/process-type/process-set:<br />
    HTTP_Server/HTTP_Server/HTTP_Server/</p>
<p>Error<br />
&#8211;&gt; Process (index=1,uid=1246497958,pid=2160)<br />
    failed to start a managed process after the maximum retry limit<br />
    Log:<br />
    C:\oracle\product\10.1.3\apache\opmn\logs\\HTTP_Server~1.log
</p></blockquote>
<p>So stop the , if any , processes again.</p>
<blockquote><p>
C:\oracle\product\10.1.3\apache\opmn\bin&gt;opmnctl stopall<br />
opmnctl: stopping opmn and all managed processes&#8230;
</p></blockquote>
<p>To solve this , you should check the auto-logon in your wallet to operate under these conditions.</p>
<p><img src="http://jhelvoort.files.wordpress.com/2009/11/screen-shot-2009-11-10-at-7-05-08-pm2.png?w=746&#038;h=596" alt="autologon" title="autologon" width="746" height="596" class="aligncenter size-full wp-image-1248" /></p>
<p>After this start you opmn processes.</p>
<blockquote><p>
C:\oracle\product\10.1.3\apache\opmn\bin&gt;opmnctl startall<br />
opmnctl: starting opmn and all managed processes&#8230;</p>
<p>C:\oracle\product\10.1.3\apache\opmn\bin&gt;
</p></blockquote>
Posted in Apache, Application Server  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhelvoort.wordpress.com/1241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhelvoort.wordpress.com/1241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhelvoort.wordpress.com/1241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhelvoort.wordpress.com/1241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhelvoort.wordpress.com/1241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhelvoort.wordpress.com/1241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhelvoort.wordpress.com/1241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhelvoort.wordpress.com/1241/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhelvoort.wordpress.com/1241/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhelvoort.wordpress.com/1241/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhelvoort.wordpress.com&blog=5979595&post=1241&subd=jhelvoort&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhelvoort.wordpress.com/2009/11/11/failed-to-start-a-managed-process-after-using-own-sslwallet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">John Paul van Helvoort</media:title>
		</media:content>

		<media:content url="http://jhelvoort.files.wordpress.com/2009/11/screen-shot-2009-11-10-at-7-05-08-pm2.png" medium="image">
			<media:title type="html">autologon</media:title>
		</media:content>
	</item>
		<item>
		<title>Exception in thread &#8220;main&#8221; java.lang.IndexOutOfBoundsException: No group 9</title>
		<link>http://jhelvoort.wordpress.com/2009/11/10/exception-in-thread-main-java-lang-indexoutofboundsexception-no-group-9/</link>
		<comments>http://jhelvoort.wordpress.com/2009/11/10/exception-in-thread-main-java-lang-indexoutofboundsexception-no-group-9/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 08:00:15 +0000</pubDate>
		<dc:creator>John Paul van Helvoort</dc:creator>
				<category><![CDATA[Application Server]]></category>

		<guid isPermaLink="false">http://jhelvoort.wordpress.com/?p=1226</guid>
		<description><![CDATA[Exception in thread &#8220;main&#8221; java.lang.IndexOutOfBoundsException: No group 9
While installing Oracle Webcenter Suite 10.1.3.2.0 i ran into the following error.

Command: /u00/oracle/product/10.1.3/web/jdk/bin/java -jar /u00/oracle/product/10.1.3/web/j2ee/home/admin_client.jar deployer:
oc4j:opmn://xxx.helvoort.nl:6004/OC4J_WebCenter oc4jadmin  -script /u00/oracle/product/10.1.3/web/portal/conf/oc4jportal_server_xml.params
Exception in thread &#8220;main&#8221; java.lang.IndexOutOfBoundsException: No group 9
        at java.util.regex.Matcher.group(Matcher.java:463)
        at java.util.regex.Matcher.appendReplacement(Matcher.java:730)
    [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhelvoort.wordpress.com&blog=5979595&post=1226&subd=jhelvoort&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Exception in thread &#8220;main&#8221; java.lang.IndexOutOfBoundsException: No group 9</p>
<p>While installing Oracle Webcenter Suite 10.1.3.2.0 i ran into the following error.</p>
<blockquote><p>
Command: /u00/oracle/product/10.1.3/web/jdk/bin/java -jar /u00/oracle/product/10.1.3/web/j2ee/home/admin_client.jar deployer:<br />
oc4j:opmn://xxx.helvoort.nl:6004/OC4J_WebCenter oc4jadmin  -script /u00/oracle/product/10.1.3/web/portal/conf/oc4jportal_server_xml.params<br />
Exception in thread &#8220;main&#8221; java.lang.IndexOutOfBoundsException: No group 9<br />
        at java.util.regex.Matcher.group(Matcher.java:463)<br />
        at java.util.regex.Matcher.appendReplacement(Matcher.java:730)<br />
        at java.util.regex.Matcher.replaceAll(Matcher.java:806)<br />
        at java.lang.String.replaceAll(String.java:2000)<br />
        at oracle.webdb.config.PortletContainerConfigAssistant.replacePwd(Unknown Source)<br />
        at oracle.webdb.config.PortletContainerConfigAssistant.configServerXML(Unknown Source)<br />
        at oracle.webdb.config.PortletContainerConfigAssistant.main(Unknown Source)
</p></blockquote>
<p>Please use a password without &#8220;$&#8221;  as this is not escaped during configuration and therefor causing the installation to fail during a replace action.</p>
Posted in Application Server  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhelvoort.wordpress.com/1226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhelvoort.wordpress.com/1226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhelvoort.wordpress.com/1226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhelvoort.wordpress.com/1226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhelvoort.wordpress.com/1226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhelvoort.wordpress.com/1226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhelvoort.wordpress.com/1226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhelvoort.wordpress.com/1226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhelvoort.wordpress.com/1226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhelvoort.wordpress.com/1226/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhelvoort.wordpress.com&blog=5979595&post=1226&subd=jhelvoort&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhelvoort.wordpress.com/2009/11/10/exception-in-thread-main-java-lang-indexoutofboundsexception-no-group-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">John Paul van Helvoort</media:title>
		</media:content>
	</item>
		<item>
		<title>Install has detected that Oracle Application Server is already installed in this Oracle Home</title>
		<link>http://jhelvoort.wordpress.com/2009/11/09/install-has-detected-that-oracle-application-server-is-already-installed-in-this-oracle-home/</link>
		<comments>http://jhelvoort.wordpress.com/2009/11/09/install-has-detected-that-oracle-application-server-is-already-installed-in-this-oracle-home/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 13:55:46 +0000</pubDate>
		<dc:creator>John Paul van Helvoort</dc:creator>
				<category><![CDATA[Application Server]]></category>

		<guid isPermaLink="false">http://jhelvoort.wordpress.com/?p=1229</guid>
		<description><![CDATA[When trying to install an application server 10.1.3.2.0 i ran into the following error. 

The error is thrown based on an earlier attempt on installing an application server. However, the product was removed successfully and should therefor not throw this error. Even when a different ORACLE_HOME is chosen , the error returns.
This behavior is caused [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhelvoort.wordpress.com&blog=5979595&post=1229&subd=jhelvoort&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>When trying to install an application server 10.1.3.2.0 i ran into the following error. </p>
<p><img src="http://jhelvoort.files.wordpress.com/2009/11/screen-shot-2009-11-09-at-1-40-54-pm.png?w=405&#038;h=172" alt="already_installed" title="already_installed" width="405" height="172" class="aligncenter size-full wp-image-1230" /></p>
<p>The error is thrown based on an earlier attempt on installing an application server. However, the product was removed successfully and should therefor not throw this error. Even when a different ORACLE_HOME is chosen , the error returns.<br />
This behavior is caused by a corrupted Oracle Inventory as a quick peek in the file inventory.xml located in the ContentXML directory under your current oraInventory reveals that there is no such ORACLE_HOME present at this time.</p>
<p>As a workaround i created a dummy file called &#8220;oraInst.loc&#8221; in the &#8220;/tmp&#8221; directory containing these lines :</p>
<blockquote><p>
inventory_loc=/tmp/oraInventory<br />
inst_group=dba
</p></blockquote>
<p>After creating this file , start your installer using </p>
<blockquote><p>
./runInstaller -invPtrloc /tmp/oraInst.loc
</p></blockquote>
<p>Your installer will continue now.</p>
Posted in Application Server  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhelvoort.wordpress.com/1229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhelvoort.wordpress.com/1229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhelvoort.wordpress.com/1229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhelvoort.wordpress.com/1229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhelvoort.wordpress.com/1229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhelvoort.wordpress.com/1229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhelvoort.wordpress.com/1229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhelvoort.wordpress.com/1229/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhelvoort.wordpress.com/1229/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhelvoort.wordpress.com/1229/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhelvoort.wordpress.com&blog=5979595&post=1229&subd=jhelvoort&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhelvoort.wordpress.com/2009/11/09/install-has-detected-that-oracle-application-server-is-already-installed-in-this-oracle-home/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">John Paul van Helvoort</media:title>
		</media:content>

		<media:content url="http://jhelvoort.files.wordpress.com/2009/11/screen-shot-2009-11-09-at-1-40-54-pm.png" medium="image">
			<media:title type="html">already_installed</media:title>
		</media:content>
	</item>
		<item>
		<title>Generating FlashChart interactive reports on Apex fails with Flash Security Error</title>
		<link>http://jhelvoort.wordpress.com/2009/11/06/generating-flashchart-interactive-reports-on-apex-fail-with-a-flash-security-error/</link>
		<comments>http://jhelvoort.wordpress.com/2009/11/06/generating-flashchart-interactive-reports-on-apex-fail-with-a-flash-security-error/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 09:48:56 +0000</pubDate>
		<dc:creator>John Paul van Helvoort</dc:creator>
				<category><![CDATA[Apex]]></category>
		<category><![CDATA[Application Server]]></category>

		<guid isPermaLink="false">http://jhelvoort.wordpress.com/?p=1218</guid>
		<description><![CDATA[After switching our Embedded Gateway to an Apache front-end using modplsql.
We are faced with an error while loading interactive reports using FlashChart.
As we are using a Reverse Proxy to route the traffic to our internal servers , this is actually the cause of our problem for interactive report to show successfully.
In order to overcome this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhelvoort.wordpress.com&blog=5979595&post=1218&subd=jhelvoort&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>After switching our Embedded Gateway to an Apache front-end using modplsql.<br />
We are faced with an error while loading interactive reports using FlashChart.</p>
<p>As we are using a Reverse Proxy to route the traffic to our internal servers , this is actually the cause of our problem for interactive report to show successfully.</p>
<p>In order to overcome this behavior , we added the following lines to our $ORACLE_APACHE_HOME/ohs/modplsql/dads.conf file in between the &#8220;Location&#8221; definition:</p>
<blockquote><p>
PlsqlCGIEnvironmentList HTTP_HOST=xxx.yenlo.nl <br />
PlsqlCGIEnvironmentList REQUEST_PROTOCOL=http
</p></blockquote>
<p>xxx.yenlo.nl being our public adres for outside and &#8220;http&#8221; being our protocol.</p>
<p>Restart your apache services by executing :</p>
<blockquote><p>
[apache] xxx:bin&gt; ./opmnctl stopall<br />
opmnctl: stopping opmn and all managed processes…<br />
[apache] xxx:bin&gt; ./opmnctl startall<br />
opmnctl: starting opmn and all managed processes…
</p></blockquote>
<p>Now your FlashChart should show up successfull again !</p>
Posted in Apex, Application Server  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhelvoort.wordpress.com/1218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhelvoort.wordpress.com/1218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhelvoort.wordpress.com/1218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhelvoort.wordpress.com/1218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhelvoort.wordpress.com/1218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhelvoort.wordpress.com/1218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhelvoort.wordpress.com/1218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhelvoort.wordpress.com/1218/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhelvoort.wordpress.com/1218/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhelvoort.wordpress.com/1218/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhelvoort.wordpress.com&blog=5979595&post=1218&subd=jhelvoort&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhelvoort.wordpress.com/2009/11/06/generating-flashchart-interactive-reports-on-apex-fail-with-a-flash-security-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">John Paul van Helvoort</media:title>
		</media:content>
	</item>
		<item>
		<title>Tuning your Oracle HTTP Server (Apache 2.0) to use multi-threading</title>
		<link>http://jhelvoort.wordpress.com/2009/11/03/tuning-your-oracle-http-server-apache-2-0-to-use-multi-threading/</link>
		<comments>http://jhelvoort.wordpress.com/2009/11/03/tuning-your-oracle-http-server-apache-2-0-to-use-multi-threading/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 14:00:35 +0000</pubDate>
		<dc:creator>John Paul van Helvoort</dc:creator>
				<category><![CDATA[Application Server]]></category>

		<guid isPermaLink="false">http://jhelvoort.wordpress.com/?p=1210</guid>
		<description><![CDATA[By default the Apache 2.0 version of Oracle HTTP Server is installed without using the HTTP &#8220;worker&#8221; method. As this is a performance enhancer , you would like to change your Apache configuration to implement the use of it.
For example , your Apex application will benefit from this as the multi-threated method with mod_plsql is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhelvoort.wordpress.com&blog=5979595&post=1210&subd=jhelvoort&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>By default the Apache 2.0 version of Oracle HTTP Server is installed without using the HTTP &#8220;worker&#8221; method. As this is a performance enhancer , you would like to change your Apache configuration to implement the use of it.<br />
For example , your Apex application will benefit from this as the multi-threated method with mod_plsql is supporting data connection pooling. The old fashion prefork method however is not and there for is not preferable.</p>
<p>Default your Apache process list will look like this after installing the Oracle HTTP Server (Apache 2.0) (10.1.3.3.0);</p>
<blockquote><p>
[apache] xxx:conf&gt; ps -ef | grep httpd<br />
oracle    3775  3738  0 Oct31 ?        00:00:00 /u00/oracle/product/10.1.3/apache/ohs/bin/httpd -d /u00/oracle/product/10.1.3/apache/ohs -DSSL<br />
oracle    3779  3775  0 Oct31 ?        00:00:00 /u00/oracle/product/10.1.3/apache/ohs/bin/httpd -d /u00/oracle/product/10.1.3/apache/ohs -DSSL<br />
oracle    3781  3775  0 Oct31 ?        00:03:48 /u00/oracle/product/10.1.3/apache/ohs/bin/httpd -d /u00/oracle/product/10.1.3/apache/ohs -DSSL<br />
oracle    3794  3775  0 Oct31 ?        00:00:00 /u00/oracle/product/10.1.3/apache/ohs/bin/httpd -d /u00/oracle/product/10.1.3/apache/ohs -DSSL<br />
oracle    3801  3775  0 Oct31 ?        00:00:00 /u00/oracle/product/10.1.3/apache/ohs/bin/httpd -d /u00/oracle/product/10.1.3/apache/ohs -DSSL<br />
oracle    4042  3775  0 Oct31 ?        00:00:00 /u00/oracle/product/10.1.3/apache/ohs/bin/httpd -d /u00/oracle/product/10.1.3/apache/ohs -DSSL<br />
oracle    4050  3775  0 Oct31 ?        00:00:00 /u00/oracle/product/10.1.3/apache/ohs/bin/httpd -d /u00/oracle/product/10.1.3/apache/ohs -DSSL<br />
oracle    4327  3775  0 Oct31 ?        00:00:00 /u00/oracle/product/10.1.3/apache/ohs/bin/httpd -d /u00/oracle/product/10.1.3/apache/ohs -DSSL<br />
oracle   16187  3775  0 Nov02 ?        00:00:00 /u00/oracle/product/10.1.3/apache/ohs/bin/httpd -d /u00/oracle/product/10.1.3/apache/ohs -DSSL<br />
oracle   18433  3775  0 Nov01 ?        00:00:00 /u00/oracle/product/10.1.3/apache/ohs/bin/httpd -d /u00/oracle/product/10.1.3/apache/ohs -DSSL<br />
oracle   22394  3775  0 Nov01 ?        00:00:00 /u00/oracle/product/10.1.3/apache/ohs/bin/httpd -d /u00/oracle/product/10.1.3/apache/ohs -DSSL<br />
oracle   30316  3775  0 Nov02 ?        00:00:00 /u00/oracle/product/10.1.3/apache/ohs/bin/httpd -d /u00/oracle/product/10.1.3/apache/ohs -DSSL<br />
oracle   30439  3775  0 Nov02 ?        00:00:00 /u00/oracle/product/10.1.3/apache/ohs/bin/httpd -d /u00/oracle/product/10.1.3/apache/ohs -DSSL
</p></blockquote>
<p>Here you can clearly see there is no worker process active, but instead the old fashion prefork processes are used.</p>
<p>The following can be done to implement the worker method which will add multi-threading to your httpd configuration.</p>
<p>open your opmn.xml  ( located : $ORACLE_HOME/opmn/conf ) and find the following section :</p>
<pre class="brush: xml;">
    &lt;ias-component id=&quot;HTTP_Server&quot;&gt;
        &lt;process-type id=&quot;HTTP_Server&quot; module-id=&quot;OHS2&quot;&gt;
          &lt;module-data&gt;
            &lt;category id=&quot;start-parameters&quot;&gt;
              &lt;data id=&quot;start-mode&quot; value=&quot;ssl-enabled&quot;/&gt;
            &lt;/category&gt;
          &lt;/module-data&gt;
          &lt;process-set id=&quot;HTTP_Server&quot; numprocs=&quot;1&quot;/&gt;
        &lt;/process-type&gt;
      &lt;/ias-component&gt;
</pre>
<p>Change it to ;</p>
<pre class="brush: xml;">
    &lt;ias-component id=&quot;HTTP_Server&quot;&gt;
        &lt;process-type id=&quot;HTTP_Server&quot; module-id=&quot;OHS2&quot;&gt;
          &lt;module-data&gt;
            &lt;category id=&quot;start-parameters&quot;&gt;
              &lt;data id=&quot;start-mode&quot; value=&quot;ssl-enabled&quot;/&gt;
              &lt;data id=&quot;mpm&quot; value=&quot;worker&quot;/&gt;
            &lt;/category&gt;
          &lt;/module-data&gt;
          &lt;process-set id=&quot;HTTP_Server&quot; numprocs=&quot;1&quot;/&gt;
        &lt;/process-type&gt;
      &lt;/ias-component&gt;
</pre>
<p>After this just restart your opmn services</p>
<blockquote><p>
[apache] xxx:bin&gt; ./opmnctl stopall<br />
opmnctl: stopping opmn and all managed processes&#8230;<br />
[apache] xxx:bin&gt; ./opmnctl startall<br />
opmnctl: starting opmn and all managed processes&#8230;
</p></blockquote>
<p>Now lets check if the worker method is implemented correctly;</p>
<blockquote><p>
[apache] xxx:bin&gt; ps -ef | grep httpd<br />
oracle   23556 23521  3 14:26 ?        00:00:00 /u00/oracle/product/10.1.3/apache/ohs/bin/httpd.worker -d /u00/oracle/product/10.1.3/apache/ohs -DSSL<br />
oracle   23560 23556  0 14:26 ?        00:00:00 /u00/oracle/product/10.1.3/apache/ohs/bin/httpd.worker -d /u00/oracle/product/10.1.3/apache/ohs -DSSL<br />
oracle   23562 23556  0 14:26 ?        00:00:00 /u00/oracle/product/10.1.3/apache/ohs/bin/httpd.worker -d /u00/oracle/product/10.1.3/apache/ohs -DSSL<br />
oracle   23564 23556  0 14:26 ?        00:00:00 /u00/oracle/product/10.1.3/apache/ohs/bin/httpd.worker -d /u00/oracle/product/10.1.3/apache/ohs -DSSL<br />
oracle   23565 23556  0 14:26 ?        00:00:00 /u00/oracle/product/10.1.3/apache/ohs/bin/httpd.worker -d /u00/oracle/product/10.1.3/apache/ohs -DSSL
</p></blockquote>
<p>When you are getting back the httpd.worker process you are running the multithreaded (MPM) method of the Apache 2.0 HTTP Server.</p>
Posted in Application Server  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhelvoort.wordpress.com/1210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhelvoort.wordpress.com/1210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhelvoort.wordpress.com/1210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhelvoort.wordpress.com/1210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhelvoort.wordpress.com/1210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhelvoort.wordpress.com/1210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhelvoort.wordpress.com/1210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhelvoort.wordpress.com/1210/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhelvoort.wordpress.com/1210/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhelvoort.wordpress.com/1210/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhelvoort.wordpress.com&blog=5979595&post=1210&subd=jhelvoort&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhelvoort.wordpress.com/2009/11/03/tuning-your-oracle-http-server-apache-2-0-to-use-multi-threading/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">John Paul van Helvoort</media:title>
		</media:content>
	</item>
		<item>
		<title>error while loading shared libraries: libgdbm.so.2 or libdb-3.3.so</title>
		<link>http://jhelvoort.wordpress.com/2009/11/01/error-while-loading-shared-libraries-libgdbm-so-2-or-ibdb-3-3-so/</link>
		<comments>http://jhelvoort.wordpress.com/2009/11/01/error-while-loading-shared-libraries-libgdbm-so-2-or-ibdb-3-3-so/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 06:00:33 +0000</pubDate>
		<dc:creator>John Paul van Helvoort</dc:creator>
				<category><![CDATA[Application Server]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jhelvoort.wordpress.com/?p=1200</guid>
		<description><![CDATA[While installing the latest HTTP Server (Oracle HTTP Server (Apache 2.0) (10.1.3.3.0)  ) from oracle to take advantage of the modplsql module that is provided.
The installation completed succesfully but still the httpd process could not start because of missing library dependencies.
When opening your $ORACLE_ACACHE_HOME/opmn/logs/HTTP_Server~1.log
you could find the following errors there :

&#8212;&#8212;&#8211;
09/10/31 18:28:32 Start process
&#8212;&#8212;&#8211;
/u00/oracle/product/10.1.3/apache/ohs/bin/apachectl [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhelvoort.wordpress.com&blog=5979595&post=1200&subd=jhelvoort&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>While installing the latest HTTP Server (<a href="http://download.oracle.com/otn/linux/ias/10133/as_101330_apache2_lnx.zip">Oracle HTTP Server (Apache 2.0) (10.1.3.3.0) </a> ) from oracle to take advantage of the modplsql module that is provided.<br />
The installation completed succesfully but still the httpd process could not start because of missing library dependencies.</p>
<p>When opening your $ORACLE_ACACHE_HOME/opmn/logs/HTTP_Server~1.log</p>
<p>you could find the following errors there :</p>
<blockquote><p>
&#8212;&#8212;&#8211;<br />
09/10/31 18:28:32 Start process<br />
&#8212;&#8212;&#8211;</p>
<p>/u00/oracle/product/10.1.3/apache/ohs/bin/apachectl startssl: execing httpd<br />
/u00/oracle/product/10.1.3/apache/ohs/bin/httpd: error while loading shared libraries: libgdbm.so.2: cannot open shared object file: No such file or directory
</p></blockquote>
<blockquote><p>
&#8212;&#8212;&#8211;<br />
09/10/31 18:37:31 Start process<br />
&#8212;&#8212;&#8211;<br />
/u00/oracle/product/10.1.3/apache/ohs/bin/apachectl startssl: execing httpd<br />
/u00/oracle/product/10.1.3/apache/ohs/bin/httpd: error while loading shared libraries: libdb-3.3.so: cannot open shared object file: No such file or directory
</p></blockquote>
<p>In the same order you could fix this by creating symbolic links to the current shared library for each missing library.</p>
<blockquote><p>
( execute as root user )<br />
cd /usr/lib</p>
<p>ln -s libgdbm.so.3.0.0 libgdbm.so.2</p>
<p>ln -s libdb-4.3.so libdb-3.3.so
</p></blockquote>
<p>These versions are found on &#8220;SUSE Linux Enterprise Server 10 SP2 (i586)&#8221; , your symbolic links can be different when the problem is faced on a different version operating system.<br />
Please adjust accordingly.</p>
<blockquote><p>
( execute as root user )<br />
cd /usr/lib</p>
<p>ln -s libgdbm.so.X.0.0 libgdbm.so.2</p>
<p>ln -s libdb-4.X.so libdb-3.3.so
</p></blockquote>
Posted in Application Server, Linux  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhelvoort.wordpress.com/1200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhelvoort.wordpress.com/1200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhelvoort.wordpress.com/1200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhelvoort.wordpress.com/1200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhelvoort.wordpress.com/1200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhelvoort.wordpress.com/1200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhelvoort.wordpress.com/1200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhelvoort.wordpress.com/1200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhelvoort.wordpress.com/1200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhelvoort.wordpress.com/1200/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhelvoort.wordpress.com&blog=5979595&post=1200&subd=jhelvoort&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhelvoort.wordpress.com/2009/11/01/error-while-loading-shared-libraries-libgdbm-so-2-or-ibdb-3-3-so/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">John Paul van Helvoort</media:title>
		</media:content>
	</item>
		<item>
		<title>Creating standby database 10.1.0.4.0 using OMF</title>
		<link>http://jhelvoort.wordpress.com/2009/10/28/creating-standby-database-10-1-4-0-using-omf/</link>
		<comments>http://jhelvoort.wordpress.com/2009/10/28/creating-standby-database-10-1-4-0-using-omf/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 19:26:00 +0000</pubDate>
		<dc:creator>John Paul van Helvoort</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[RMAN]]></category>

		<guid isPermaLink="false">http://jhelvoort.wordpress.com/?p=1188</guid>
		<description><![CDATA[While creating a standby database on 10.1.0.4.0 , i ran in some trouble while performing the following RMAN statements :

RMAN&#62; run{
               ALLOCATE AUXILIARY CHANNEL dup1 DEVICE TYPE DISK
              [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhelvoort.wordpress.com&blog=5979595&post=1188&subd=jhelvoort&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>While creating a standby database on 10.1.0.4.0 , i ran in some trouble while performing the following RMAN statements :</p>
<blockquote><p>
RMAN&gt; run{<br />
               ALLOCATE AUXILIARY CHANNEL dup1 DEVICE TYPE DISK<br />
               DUPLICATE TARGET DATABASE FOR STANDBY DORECOVER;<br />
               }
</p></blockquote>
<p>First a channel will be allocated on which the duplication starts. The datafiles are places in the right location. But when it comes to the point where the duplicate action executes :</p>
<blockquote><p>
contents of Memory Script:<br />
{<br />
   switch clone datafile all;<br />
}<br />
executing Memory Script
</p></blockquote>
<p>The following error is thrown :</p>
<blockquote><p>
RMAN-00571: ===========================================================<br />
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============<br />
RMAN-00571: ===========================================================<br />
RMAN-03002: failure of Duplicate Db command at 10/28/2009 19:08:41<br />
RMAN-03015: error occurred in stored script Memory Script<br />
RMAN-06136: ORACLE error from auxiliary database: ORA-19625: error identifying file /u02/oradata/COREF/datafile/o1_mf_system_5fyfx677_.dbf<br />
ORA-27037: unable to obtain file status<br />
Linux Error: 2: No such file or directory<br />
Additional information: 3</p>
<p>RMAN&gt;
</p></blockquote>
<p>Here i could see that the filename which is called for , is indeed the correct one.</p>
<p>After some researching i found that there is a difference in the database version in which the performed actions take place.<br />
I did set the DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT , which actually should NOT be done in rdbms version 10.1.4.0.  ( other versions you should , if appropriate )<br />
Also , when performing a duplicate when the primairy database is using OMF , you should set the standby_file_management=AUTO as this will restore datafile using %u which will be converted in the correct name to be picked up by the script.</p>
<p>After setting the following parameters in the auxiliary pfile, the RMAN duplicate finished successfully.</p>
<blockquote><p>
db_name 			= COREP		(- must be set to a name of the primary db_name)<br />
db_unique_name 		= COREF		(- must be set to a name different from primary db_unique_name)<br />
standby_file_management 	= AUTO		(- must set to AUTO)<br />
db_create_file_dest 		= &#8216;/u02/oradata&#8217; 	(- must be set)
</p></blockquote>
Posted in Database, RMAN  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jhelvoort.wordpress.com/1188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jhelvoort.wordpress.com/1188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jhelvoort.wordpress.com/1188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jhelvoort.wordpress.com/1188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jhelvoort.wordpress.com/1188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jhelvoort.wordpress.com/1188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jhelvoort.wordpress.com/1188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jhelvoort.wordpress.com/1188/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jhelvoort.wordpress.com/1188/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jhelvoort.wordpress.com/1188/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jhelvoort.wordpress.com&blog=5979595&post=1188&subd=jhelvoort&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://jhelvoort.wordpress.com/2009/10/28/creating-standby-database-10-1-4-0-using-omf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">John Paul van Helvoort</media:title>
		</media:content>
	</item>
	</channel>
</rss>