<?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"
	>

<channel>
	<title>OracleBrains.Com</title>
	<atom:link href="http://www.oraclebrains.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.oraclebrains.com</link>
	<description>Oracle Blog</description>
	<pubDate>Thu, 22 Oct 2009 08:16:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>How developers should ask for help -Tom Kyte</title>
		<link>http://www.oraclebrains.com/2009/10/how-developers-should-ask-for-help-tom-kyte/</link>
		<comments>http://www.oraclebrains.com/2009/10/how-developers-should-ask-for-help-tom-kyte/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 08:11:36 +0000</pubDate>
		<dc:creator>Rajender Singh</dc:creator>
		
		<category><![CDATA[Oracle News]]></category>

		<guid isPermaLink="false">http://www.oraclebrains.com/?p=271</guid>
		<description><![CDATA[In this video interview with ZDNet.com.au, Kyte explains how many questions he receives equate to &#8220;my car won&#8217;t start&#8221;.
Check Out

]]></description>
			<content:encoded><![CDATA[<p>In this video interview with ZDNet.com.au, Kyte explains how many questions he receives equate to &#8220;my car won&#8217;t start&#8221;.</p>
<p><a href="http://www.zdnet.com.au/video/soa/How-developers-should-ask-for-help/0,2000065477,22488727p,00.htm" target="_blank">Check Out</a></p>

]]></content:encoded>
			<wfw:commentRss>http://www.oraclebrains.com/2009/10/how-developers-should-ask-for-help-tom-kyte/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Application Express :: Copying Application Items from one application to another.</title>
		<link>http://www.oraclebrains.com/2009/09/application-express-copying-application-items-from-one-application-to-another/</link>
		<comments>http://www.oraclebrains.com/2009/09/application-express-copying-application-items-from-one-application-to-another/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 03:32:34 +0000</pubDate>
		<dc:creator>Rajender Singh</dc:creator>
		
		<category><![CDATA[Application Express]]></category>

		<category><![CDATA[Development Tools]]></category>

		<guid isPermaLink="false">http://www.oraclebrains.com/?p=270</guid>
		<description><![CDATA[Today while working on Oracle Application Express, I came across a situation, where I need to define same variables (Application [...]]]></description>
			<content:encoded><![CDATA[<p>Today while working on Oracle Application Express, I came across a situation, where I need to define same variables (Application Items) in another 2-3 different applications. Moreover these application may or may not be residing in same Workspace.</p>
<p>I could have created the item manually across all the applications, but being a programmer brain plus lazy butt, I don&#8217;t wanted to give up.</p>
<p>I did following and it worked more than fine to me.</p>
<p>I <strong>navigate to &#8220;Share Components&#8221; Page</strong> of source Application</p>
<p>On the right hand side under &#8220;Tasks&#8221;, I <strong>selected &#8220;Export Application Components&#8221;</strong></p>
<p><strong>Exported</strong> only the &#8221; <strong>Application Items</strong>&#8221;</p>
<p><strong>Save the file</strong> as &#8220;f110_components.SQL&#8221;</p>
<p><strong>Open the file in notepad</strong></p>
<p><strong>Changed following three things depending on the target application number and workspace</strong>.</p>
<p><strong>Get the Workspace ID</strong> using following SQL at your target and note down the Workspace ID.<br />
&#8220;select WORKSPACE_ID from APEX_WORKSPACES&#8221;</p>
<p>Search for following function in the file:<br />
wwv_flow_api.set_security_group_id</p>
<p><strong>Change it using following syntax</strong><br />
<strong>wwv_flow_api.set_security_group_id(p_security_group_id=&gt;OB_WORKSPACE_ID);</strong></p>
<p>Where OB_WORKSPACE_ID is Workspace ID</p>
<p>example in my case it was &#8220;5622003592886707&#8243; so I changes as follows:<br />
wwv_flow_api.set_security_group_id(p_security_group_id=&gt;5622003592886707);</p>
<p>The search for the line where following variable is being initialized<br />
wwv_flow.g_flow_id</p>
<p><strong>Change it using following syntax<br />
wwv_flow.g_flow_id := OB_APPLICATION_ID;</strong></p>
<p>Where OB_APPLICATION_ID is the Application ID or you can say Application Number</p>
<p>In my case it was 136 I changed it as follows:<br />
wwv_flow.g_flow_id := 136;</p>
<p>Hint: Application Express always shows Application ID beside your application name.</p>
<p>The search for the line where following variable is being initialized<br />
wwv_flow_api.g_id_offset</p>
<p><strong>Change it using following syntax<br />
wwv_flow_api.g_id_offset := OB_RANDOM_NUMBER;</strong></p>
<p>Where OB_RANDOM_NUMBER is any random INTEGER other than zero</p>
<p><strong>Script Before Change:</strong><br />
&#8230;&#8230;&#8230;.<br />
&#8230;..<br />
prompt  Set Credentials&#8230;</p>
<p>begin</p>
<p>&#8211; Assumes you are running the script connected to SQL*Plus as the Oracle user APEX_030200 or as the owner (parsing schema) of the application.<br />
wwv_flow_api.set_security_group_id(p_security_group_id=&gt;1122003592886707);</p>
<p>end;<br />
/<br />
&#8230;..<br />
&#8230;&#8230;</p>
<p>prompt  Set Application ID&#8230;</p>
<p>begin</p>
<p>&#8211; SET APPLICATION ID<br />
wwv_flow.g_flow_id := 110;<br />
wwv_flow_api.g_id_offset := 0;<br />
null;</p>
<p>end;<br />
/<br />
&#8230;&#8230;<br />
&#8230;&#8230;</p>
<p><strong>Script After Change:</strong><br />
&#8230;&#8230;&#8230;.<br />
&#8230;..<br />
prompt  Set Credentials&#8230;</p>
<p>begin</p>
<p>&#8211; Assumes you are running the script connected to SQL*Plus as the Oracle user APEX_030200 or as the owner (parsing schema) of the application.<br />
wwv_flow_api.set_security_group_id(p_security_group_id=&gt;5622003592886707);</p>
<p>end;<br />
/<br />
&#8230;..<br />
&#8230;&#8230;</p>
<p>prompt  Set Application ID&#8230;</p>
<p>begin</p>
<p>&#8211; SET APPLICATION ID<br />
wwv_flow.g_flow_id := 136;<br />
wwv_flow_api.g_id_offset := 1;<br />
null;</p>
<p>end;<br />
/<br />
&#8230;&#8230;<br />
&#8230;&#8230;</p>
<p><strong>After that imported into my target application without any error.</strong></p>
<p> <img src='http://www.oraclebrains.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> hope this will help somebody!</p>

]]></content:encoded>
			<wfw:commentRss>http://www.oraclebrains.com/2009/09/application-express-copying-application-items-from-one-application-to-another/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Database Link coming handy!!!</title>
		<link>http://www.oraclebrains.com/2009/08/database-link-coming-handy/</link>
		<comments>http://www.oraclebrains.com/2009/08/database-link-coming-handy/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 06:06:07 +0000</pubDate>
		<dc:creator>Rajender Singh</dc:creator>
		
		<category><![CDATA[Oracle Administration]]></category>

		<category><![CDATA[Oracle Database]]></category>

		<guid isPermaLink="false">http://www.oraclebrains.com/?p=269</guid>
		<description><![CDATA[Today I had a situation at my client&#8217;s place which I need to tackle as soon as possible and I [...]]]></description>
			<content:encoded><![CDATA[<p>Today I had a situation at my client&#8217;s place which I need to tackle as soon as possible and I did tackle it nicely.</p>
<p> <img src='http://www.oraclebrains.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> I think so&#8230;&#8230;.</p>
<p>Any way let me explain the situation and how I tackle it.</p>
<p>Lets assume there are two database one is prod (live one) and another one dev (development).</p>
<p>There came a request from one non oracle developer that he want to have a readonly access to the &#8220;production_note&#8221; table in prod database as he wanted to access live data of &#8220;production_note&#8221; table.</p>
<p>In normal situation if it was development environment then I would have done following:</p>
<p><strong>Login</strong> into SQL*Plus as <strong>SYSTEM </strong>in<strong> &#8220;prod&#8221; database</strong></p>
<p>SQL&gt; <strong>connect</strong> system/system@biz11<br />
Connected.</p>
<p>SQL&gt; <strong>create user </strong>production identified by production default tablespace users;</p>
<p>User created.</p>
<p>SQL&gt; <strong>grant </strong>connect, resource to production;</p>
<p>Grant succeeded.</p>
<p>SQL&gt; <strong>connect actual_user</strong>/actual_user@biz11<br />
Connected.</p>
<p>SQL&gt; <strong>grant </strong>select on production_notes to production;</p>
<p>Grant succeeded.</p>
<p>SQL&gt; <strong>connect production</strong>/production@biz11<br />
Connected.</p>
<p>SQL&gt; <strong>create synonym</strong> production_notes for <strong>actual_user.production_notes</strong>;</p>
<p>Synonym created.</p>
<p><strong>Then give him access to this new user.</strong></p>
<p>But now here <strong>situation is different</strong>.I have <strong>security by IP addresses</strong> in &#8220;prod&#8221; database. Only Oracle Application Server and &#8220;dev&#8221; database server can access the  &#8220;prod&#8221; database and I <strong>don&#8217;t want to give access to IP address</strong> of this developer&#8217;s machine. If I <strong>do so it might open some loop hole in security infra</strong> of my client.</p>
<p>So to <strong>tackle this situation I did as follows</strong>:</p>
<p><strong>First </strong>I did <strong>same as above</strong> in <strong>&#8220;Prod&#8221; database</strong>.</p>
<p>Then I <strong>Login</strong> into SQL*Plus as <strong>SYSTEM </strong>in<strong> &#8220;dev&#8221; database</strong></p>
<p>SQL&gt;<strong>CREATE PUBLIC DATABASE LINK</strong> prod_remote<br />
2     CONNECT TO production IDENTIFIED BY production<br />
3     USING &#8216;biz11&#8242;;</p>
<p>Database link created.</p>
<p>SQL&gt; <strong>create user </strong>production identified by production default tablespace users;</p>
<p>User created.</p>
<p>SQL&gt; <strong>grant </strong>connect, resource to production;</p>
<p>Grant succeeded.</p>
<p>SQL&gt; <strong>CREATE SYNONYM</strong> production_notes<br />
2     FOR <strong>production.production_notes@prod_remote</strong>;</p>
<p>Synonym created.</p>
<p>Then I <strong>just gave him access</strong> to this new user in <strong>&#8220;dev&#8221; database</strong> without making things complicated for this non oracle user.</p>
<p>Thats it, Mission Accomplished <img src='http://www.oraclebrains.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I hope this post will help somebody and offcourse me as a reference material for future!</p>

]]></content:encoded>
			<wfw:commentRss>http://www.oraclebrains.com/2009/08/database-link-coming-handy/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ORA-20001 error in Application Express 3.2.0.00.27 with Oracle Database 11g release 1 (11.1)</title>
		<link>http://www.oraclebrains.com/2009/03/ora-20001-error-in-application-express-3200027-with-oracle-database-11g-release-1-111/</link>
		<comments>http://www.oraclebrains.com/2009/03/ora-20001-error-in-application-express-3200027-with-oracle-database-11g-release-1-111/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 13:49:04 +0000</pubDate>
		<dc:creator>Rajender Singh</dc:creator>
		
		<category><![CDATA[Application Express]]></category>

		<category><![CDATA[Development Tools]]></category>

		<guid isPermaLink="false">http://www.oraclebrains.com/?p=266</guid>
		<description><![CDATA[ORA-20001 is a most common error that occur when we first configure Application Express for PDF/report printing.
Error is displayed as [...]]]></description>
			<content:encoded><![CDATA[<p>ORA-20001 is a most common error that occur when we <strong>first configure Application Express for PDF/report printing</strong>.</p>
<p><strong>Error is displayed as follows:</strong><br />
<strong>ORA-20001:</strong> The printing engine could not be reached because either the <strong>URL specified is incorrect</strong> or a <strong>proxy URL needs to be specified</strong>.</p>
<p>Actually this happens due to security related enhancement done in Oracle Database 11g release 1.</p>
<p>Now starting with Oracle Database 11g,  by default, the ability to interact with network services is disabled in Oracle Database.</p>
<p>If you want to enable it for certain host or user then you need to use the <strong>new</strong> <strong>DBMS_NETWORK_ACL_ADMIN</strong> package to grant connect privileges to them.</p>
<p>So here too we need to <strong>grant connect privilege to APEX_030200</strong> apex database user as follows:</p>
<p><strong>DECLARE</strong><br />
ACL_PATH  VARCHAR2(4000);<br />
ACL_ID    RAW(16);<br />
<strong>BEGIN</strong><br />
SELECT ACL INTO ACL_PATH FROM DBA_NETWORK_ACLS<br />
WHERE HOST = &#8216;*&#8217; AND LOWER_PORT IS NULL AND UPPER_PORT IS NULL;</p>
<p>SELECT SYS_OP_R2O(extractValue(P.RES, &#8216;/Resource/XMLRef&#8217;)) INTO ACL_ID<br />
FROM XDB.XDB$ACL A, PATH_VIEW P<br />
WHERE extractValue(P.RES, &#8216;/Resource/XMLRef&#8217;) = REF(A) AND<br />
EQUALS_PATH(P.RES, ACL_PATH) = 1;</p>
<p>DBMS_XDBZ.ValidateACL(ACL_ID);<br />
IF DBMS_NETWORK_ACL_ADMIN.CHECK_PRIVILEGE(ACL_PATH, &#8216;<strong>APEX_030200</strong>&#8216;,<br />
&#8216;connect&#8217;) IS NULL THEN<br />
DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(ACL_PATH,<br />
&#8216;<strong>APEX_030200</strong>&#8216;, TRUE, &#8216;connect&#8217;);<br />
END IF;</p>
<p><strong>EXCEPTION</strong></p>
<p>WHEN NO_DATA_FOUND THEN<br />
DBMS_NETWORK_ACL_ADMIN.CREATE_ACL(&#8217;power_users.xml&#8217;,<br />
&#8216;ACL that lets power users to connect to everywhere&#8217;,<br />
&#8216;APEX_030200&#8242;, TRUE, &#8216;connect&#8217;);<br />
DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL(&#8217;power_users.xml&#8217;,'*&#8217;);<br />
<strong>END;</strong></p>
<p><strong>COMMIT;</strong></p>
<p>Please refer <a href="http://www.udot.utah.gov/i/doc/sec_connect_host.htm#BHADHHFH" target="_blank">Oracle Documentation page</a> for more details.</p>
<p>I have simply replaced <strong>FLOWS_030100 with APEX_030200</strong>.</p>
<p><strong>Thing to Notice: </strong>Starting Application Express 3.2.0.00.27, the Application Express Database user is prefix <strong>APEX_</strong> instead of <strong>FLOWS_</strong>.</p>
<p>Hope this post will help others!</p>

]]></content:encoded>
			<wfw:commentRss>http://www.oraclebrains.com/2009/03/ora-20001-error-in-application-express-3200027-with-oracle-database-11g-release-1-111/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SQL Command problem in Application Express 3.2.0.00.27</title>
		<link>http://www.oraclebrains.com/2009/03/sql-command-problem-in-application-express-3200027/</link>
		<comments>http://www.oraclebrains.com/2009/03/sql-command-problem-in-application-express-3200027/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 02:50:02 +0000</pubDate>
		<dc:creator>Rajender Singh</dc:creator>
		
		<category><![CDATA[Application Express]]></category>

		<category><![CDATA[Development Tools]]></category>

		<guid isPermaLink="false">http://www.oraclebrains.com/?p=261</guid>
		<description><![CDATA[Yesterday I installed Oracle Application Express 3.2.0.00.27.
While doing my r&#38;d, I came across one problem in SQL Command.

For example I wanted [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I installed Oracle Application Express 3.2.0.00.27.<br />
While doing my r&amp;d, I came across one problem in SQL Command.<br />
<a href="http://www.oraclebrains.com/wp-content/uploads/2009/03/sql-command.jpg"><img class="alignleft size-full wp-image-262" title="sql-command" src="http://www.oraclebrains.com/wp-content/uploads/2009/03/sql-command.jpg" alt="" width="344" height="52" /></a></p>
<p>For example I wanted to run sql “select * from tab”<br />
When I checked “Autocommit” checkbox, it worked fine as follows:</p>
<p><a href="http://www.oraclebrains.com/wp-content/uploads/2009/03/with-commit.jpg"><img class="alignleft size-full wp-image-263" title="with-commit" src="http://www.oraclebrains.com/wp-content/uploads/2009/03/with-commit.jpg" alt="" width="411" height="354" /></a></p>
<p>But when I unchecked the “Autocommit” checkbox it gave me following error:<br />
ORA-01003: no statement parsed</p>
<p><a href="http://www.oraclebrains.com/wp-content/uploads/2009/03/without-commit.jpg"><img class="alignleft size-full wp-image-264" title="without-commit" src="http://www.oraclebrains.com/wp-content/uploads/2009/03/without-commit.jpg" alt="" width="415" height="332" /></a></p>

]]></content:encoded>
			<wfw:commentRss>http://www.oraclebrains.com/2009/03/sql-command-problem-in-application-express-3200027/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Oracle Application Express 3.2 New Features!!!</title>
		<link>http://www.oraclebrains.com/2009/02/oracle-application-express-32-new-features/</link>
		<comments>http://www.oraclebrains.com/2009/02/oracle-application-express-32-new-features/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 15:27:27 +0000</pubDate>
		<dc:creator>Rajender Singh</dc:creator>
		
		<category><![CDATA[Application Express]]></category>

		<category><![CDATA[Development Tools]]></category>

		<category><![CDATA[apex news]]></category>

		<guid isPermaLink="false">http://www.oraclebrains.com/?p=260</guid>
		<description><![CDATA[At last new release of Oracle Application Express 3.2 seem to be near!
Oracle hasn&#8217;t made it available for download, but [...]]]></description>
			<content:encoded><![CDATA[<p>At <strong><a href="http://joelkallman.blogspot.com/2009/02/apexoraclecom-upgraded-to-application.html" target="_blank">last new release</a></strong> of Oracle Application Express 3.2 seem to be near!</p>
<p>Oracle hasn&#8217;t made it available for download, but they have made it available in their hosted development <a href="http://apex.oracle.com/">site.</a></p>
<p>Get details on feature notes <a href="http://www.oracle.com/technology/products/database/application_express/html/3.2_new_features.html">here</a></p>

]]></content:encoded>
			<wfw:commentRss>http://www.oraclebrains.com/2009/02/oracle-application-express-32-new-features/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tearful homage to Carl Backstrom!</title>
		<link>http://www.oraclebrains.com/2009/01/tearful-homage-to-carl-backstrom/</link>
		<comments>http://www.oraclebrains.com/2009/01/tearful-homage-to-carl-backstrom/#comments</comments>
		<pubDate>Sat, 03 Jan 2009 11:35:01 +0000</pubDate>
		<dc:creator>Rajender Singh</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.oraclebrains.com/?p=259</guid>
		<description><![CDATA[Today I got to know about Carl Backstrom who died in a tragic car accident on October 26, 2008. The [...]]]></description>
			<content:encoded><![CDATA[<p>Today I got to know about Carl Backstrom who died in a tragic car accident on October 26, 2008. The death was tragic and untimely.</p>
<p>When I first read the news I couldn’t believe it&#8230;..</p>
<p>My tearful homage to Carl Backstrom, who left for heavenly abode on October 26, 2008.</p>
<p>I don&#8217;t know Carl personally but his work in Oracle Application Express have always inspires me for new ideas and helped me in difficult situations.</p>
<p>May the Lord grant everlasting peace to his soul.</p>
<p>My deepest condolences to Carl&#8217;s daughter ,Destany, and all his family members.<br />
<strong>Carl&#8217;s Memorial Fund has been setup by Carl’s friends which will be set aside to send his daughter, Destany, to college to ensure she has the future Carl dreamed for her.</strong></p>
<p><strong>Donations to Carl&#8217;s Memorial Fund</strong> can be made several ways:</p>
<p><strong>Domestic wire transfers</strong><br />
Account Number 152460903<br />
Citibank ABA Number 322271724</p>
<p><strong>International wire transfers SWIFT Code:</strong> CITI US 33</p>
<p><strong>Checks</strong><br />
Make payable to Susan Bailey (Carl&#8217;s Mother)<br />
Address: 3395 S. Jones Blvd #403<br />
Las Vegas, NV 89146</p>

]]></content:encoded>
			<wfw:commentRss>http://www.oraclebrains.com/2009/01/tearful-homage-to-carl-backstrom/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Merry Christmas And Happy New Year 2009</title>
		<link>http://www.oraclebrains.com/2008/12/merry-christmas-and-happy-new-year-2008/</link>
		<comments>http://www.oraclebrains.com/2008/12/merry-christmas-and-happy-new-year-2008/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 17:36:38 +0000</pubDate>
		<dc:creator>rajs</dc:creator>
		
		<category><![CDATA[coffee bytes]]></category>

		<guid isPermaLink="false">http://www.oraclebrains.com/?p=154</guid>
		<description><![CDATA[Wishing Everybody Merry Christmas And Happy New Year 2009!
May All Your Wishes Come True And Lead You Into The Path [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Wishing Everybody Merry Christmas And Happy New Year 2009!</strong></p>
<p>May All Your Wishes Come True And Lead You Into The Path of Continued Success, Prosperity, Good Health and Never Ending Happiness&#8230;&#8230;</p>

]]></content:encoded>
			<wfw:commentRss>http://www.oraclebrains.com/2008/12/merry-christmas-and-happy-new-year-2008/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ORA-01092: ORACLE instance terminated. Disconnection forced, error while creating database manually!</title>
		<link>http://www.oraclebrains.com/2008/12/ora-01092-oracle-instance-terminated-disconnection-forced-error-while-creating-database-manually/</link>
		<comments>http://www.oraclebrains.com/2008/12/ora-01092-oracle-instance-terminated-disconnection-forced-error-while-creating-database-manually/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 10:35:01 +0000</pubDate>
		<dc:creator>Rajender Singh</dc:creator>
		
		<category><![CDATA[Oracle Database]]></category>

		<category><![CDATA[Oracle Installation]]></category>

		<guid isPermaLink="false">http://www.oraclebrains.com/?p=255</guid>
		<description><![CDATA[Today while creating the database manually for our development environment, I incurred following error.

When I checked my alter log It [...]]]></description>
			<content:encoded><![CDATA[<p>Today while creating the database manually for our development environment, I incurred following error.</p>
<p><a href="http://www.oraclebrains.com/wp-content/uploads/2008/12/dbcreate1.gif"><img class="alignleft size-full wp-image-256" title="dbcreate1" src="http://www.oraclebrains.com/wp-content/uploads/2008/12/dbcreate1.gif" alt="" width="500" height="337" /></a></p>
<p><strong>When I checked my alter log It showed me as follows:</strong></p>
<p><a href="http://www.oraclebrains.com/wp-content/uploads/2008/12/dbcreate3.gif"><img class="alignnone size-full wp-image-257" title="dbcreate3" src="http://www.oraclebrains.com/wp-content/uploads/2008/12/dbcreate3.gif" alt="" width="500" height="347" /></a></p>
<p>After that I checked <strong>parameter file</strong> which showed me value of undo tablespace as follows:</p>
<p><a href="http://www.oraclebrains.com/wp-content/uploads/2008/12/dbcreate2.gif"><img class="alignnone size-full wp-image-258" title="dbcreate2" src="http://www.oraclebrains.com/wp-content/uploads/2008/12/dbcreate2.gif" alt="" width="334" height="90" /></a></p>
<p>After this I change the name in my create database script same as above i.e. &#8220;UNDOTBS&#8221;. Once done the database was created without any error.</p>
<p>I hope this will help out somebody!</p>

]]></content:encoded>
			<wfw:commentRss>http://www.oraclebrains.com/2008/12/ora-01092-oracle-instance-terminated-disconnection-forced-error-while-creating-database-manually/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Connecting Oracle Reports 10g to Oracle Database 11g</title>
		<link>http://www.oraclebrains.com/2008/09/connecting-oracle-reports-10g-application-to-oracle-database-11g/</link>
		<comments>http://www.oraclebrains.com/2008/09/connecting-oracle-reports-10g-application-to-oracle-database-11g/#comments</comments>
		<pubDate>Sat, 27 Sep 2008 07:53:29 +0000</pubDate>
		<dc:creator>Rajender Singh</dc:creator>
		
		<category><![CDATA[Oracle 11g New Features]]></category>

		<category><![CDATA[Oracle Forms]]></category>

		<category><![CDATA[Oracle Reports]]></category>

		<guid isPermaLink="false">http://www.oraclebrains.com/?p=254</guid>
		<description><![CDATA[Yesterday I tested migration of one of the oracle forms 10g release 1 application&#8217;s database from Oracle 10g Release 1 [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I tested migration of one of the oracle forms 10g release 1 application&#8217;s database from <strong>Oracle 10g Release 1</strong> to <strong>Oracle 11g</strong>.</p>
<p>Everything ran smooth and I was able to run my forms and do transaction and so on.</p>
<p>But the <strong>problem started when I tried to run reports</strong>. When ever I try running any report, it failed and <strong>gave me error </strong>that it u<strong>nable to connect to the database</strong>.</p>
<p>I was scratching my head where exactly I am going wrong.</p>
<p><strong>When my forms server can connect the database</strong> with same setting from conf file then <strong>why report server is giving error</strong>.</p>
<p>After checking the log and trace file I got following:</p>
<p><em>REP-501: Unable to connect to the specified database.<br />
[2008/9/27 2:38:28:240] Debug 50103 (JobManager:notifyWaitingJobs): Master job 76257 notify its duplicated jobs.<br />
[2008/9/27 2:38:28:240] Debug 50103 (JobManager:updateJobStatus): Finished updating job: 76257<br />
[2008/9/27 2:38:28:240] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Ready<br />
[2008/9/27 2:38:28:240] Exception 501 (): Unable to connect to the specified database.<br />
exception oracle.reports.RWException {<br />
oracle.reports.RWError[] errorChain={struct oracle.reports.RWError {<br />
int errorCode=501,<br />
java.lang.String errorString=&#8221;Unable to connect to the specified database.&#8221;,<br />
java.lang.String moduleName=&#8221;REP&#8221;<br />
}}<br />
}</em></p>
<p>I don&#8217;t remember setting any other database setting for the reports.</p>
<p>After <strong>4-5 hours of doing my investigation</strong> and going around in <strong>googling, checking trace and log</strong> files again and again.</p>
<p>At last I got to know following fact:</p>
<p><strong>By default, Username and Password are passed to Reports from Forms are in upper case<br />
</strong><br />
Bang I was knocked off&#8230;&#8230;&#8230;&#8230;&#8230;..</p>
<p>Later I found two solutions given by Oracle for this problem as follows:</p>
<p><strong>Solution 1</strong></p>
<p><strong><em>For forms 10g release 1 or</em></strong> less<br />
<strong> Disable Password Case Sensitivity in Oracle 11g</strong><br />
set the <strong>SEC_CASE_SENSITIVE_LOGON</strong> initialization parameter to FALSE and restart the database.</p>
<p><strong>Solution 2</strong><br />
<strong><em> For forms 10g release 1 ( with </em></strong><a href="http://updates.oracle.com/ARULink/PatchDetails/process_form?patch_num=4399342" target="_blank"><strong><em>Patch 4399342</em></strong></a><strong><em>) or above</em></strong><br />
Add the variable: FORMS_USERNAME_CASESENSITIVE = 1, in application environment file<br />
([ORACLE_HOME/forms/server/default.env] or any custom envFile)</p>
<p>I <strong>went for solution 1</strong> as <strong>my forms and reports are in 10g Release 1</strong> (<strong>without Patch 4399342</strong>)</p>
<p>That was great relief and was my time to sleep.</p>
<p>So wished the Good Morning to my Laptop and went for slumber!</p>

]]></content:encoded>
			<wfw:commentRss>http://www.oraclebrains.com/2008/09/connecting-oracle-reports-10g-application-to-oracle-database-11g/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
