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

<channel>
	<title>Rob@Rojotek &#187; Oracle</title>
	<atom:link href="http://www.rojotek.com/blog/blog/oracle/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rojotek.com/blog</link>
	<description>Software Development in Brisbane</description>
	<lastBuildDate>Wed, 25 Jan 2012 10:34:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Database Security Product Vapourware</title>
		<link>http://www.rojotek.com/blog/2010/09/23/database-security-product-vapourware/</link>
		<comments>http://www.rojotek.com/blog/2010/09/23/database-security-product-vapourware/#comments</comments>
		<pubDate>Thu, 23 Sep 2010 00:32:47 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Oracle Open World]]></category>

		<guid isPermaLink="false">http://www.rojotek.com/blog/2010/09/23/database-security-product-vapourware/</guid>
		<description><![CDATA[from the posts that I never got around to posting department (originally dated at 26 July 2005)&#8230; posting now because Oracle Open World has a bunch of database security products now &#8211; and someone might actually implement this . I have got a product vapourware idea that has been floating around in my head for [...]]]></description>
			<content:encoded><![CDATA[<p><em>from the posts that I never got around to posting department (originally dated at 26 July 2005)&#8230; posting now because Oracle Open World has a bunch of database security products now &#8211; and someone might actually implement this <img src='http://www.rojotek.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</em></p>
<p>I have got a product vapourware idea that has been floating around in my head for a little while.  A product that will help protect databases.</p>
<p>The tool will do the following:</p>
<p>1) record checksum for key objects in the database (by default it shoud do the data dictionary).  It will allow users to record checksums for all objects, in particular supporting stored procedures, and views.  This will help prevent attackers from hiding there tracks.  This type of attack has been setup in a proof of concept shown at <a href="http://www.red-database-security.com/">Red Database Security Services</a><em> (edit &#8211; sorry &#8211; not sure of the deep link or if this is still publicly available).</em><br />
2) check the passwords of users in the database, ensuring that the password quality is good.</p>
<p>I can picture quite easily how to do this in Oracle, can see the feasability of it in SQL Server, and know that every database will provide a data dictionary that will make at least step 1 possible. So &#8211; to all you database security vendors out there &#8211; please implement.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rojotek.com/blog/2010/09/23/database-security-product-vapourware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up Oracle XE to work with IBM WebSphere Portal IWWCM</title>
		<link>http://www.rojotek.com/blog/2008/05/21/setting-up-oracle-xe-to-work-with-ibm-websphere-portal-iwwcm/</link>
		<comments>http://www.rojotek.com/blog/2008/05/21/setting-up-oracle-xe-to-work-with-ibm-websphere-portal-iwwcm/#comments</comments>
		<pubDate>Wed, 21 May 2008 07:11:20 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[WebSphere Portal]]></category>

		<guid isPermaLink="false">http://www.rojotek.com/blog/2008/05/21/setting-up-oracle-xe-to-work-with-ibm-websphere-portal-iwwcm/</guid>
		<description><![CDATA[In order to make the Oracle XE database work with IBM WebSphere Portal IWWCM there are a number of steps to perform. Ensure that the database is accessible using the Oracle SID (see the early post Oracle SID!=Service name) Next you will need to increase the number of proceses that can be connected to the [...]]]></description>
			<content:encoded><![CDATA[<p>       In order to make the Oracle XE database work with IBM WebSphere Portal IWWCM there are a number of steps to perform.    </p>
<ol>
<li>        Ensure that the database is accessible using the Oracle SID (see the early post <a href="http://www.rojotek.com/blog/2008/01/04/oracle-sid-service_name/">Oracle SID!=Service name</a>)      </li>
<li>        Next you will need to increase the number of proceses that can be connected to the instance, as there are a large number of connection pools set up by the system, which the database will need to support. The following command worked in my environment:
<pre>    ALTER SYSTEM SET PROCESSES=150 SCOPE=SPFILE;</pre>
</li>
<li>        After having performed these base setup commands and options, you can run the IWWCM migration scripts to migrate existing data.      </li>
<li>        To ensure that the connection pooling works correctly, you will need to grant the following privileges to public:
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">grant select on pending_trans$ to public;</div></td></tr></tbody></table></div>
<p></p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">grant select on dba_2pc_pending to public;</div></td></tr></tbody></table></div>
<p></p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">grant select on dba_pending_transactions to public;</div></td></tr></tbody></table></div>
<p>      </li>
<li>        Finally, grant the following privilege to each user to which connections are made from the application server.
<pre>    grant execute on dbms_system to &#60;user&#62;;</pre>
</li>
</ol>
<p>       After having performed these steps you will have an Oracle XE database that will work happily with IWWCM.    </p>
]]></content:encoded>
			<wfw:commentRss>http://www.rojotek.com/blog/2008/05/21/setting-up-oracle-xe-to-work-with-ibm-websphere-portal-iwwcm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle SID != SERVICE_NAME</title>
		<link>http://www.rojotek.com/blog/2008/01/04/oracle-sid-service_name/</link>
		<comments>http://www.rojotek.com/blog/2008/01/04/oracle-sid-service_name/#comments</comments>
		<pubDate>Fri, 04 Jan 2008 12:14:32 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[WebSphere Portal]]></category>

		<guid isPermaLink="false">http://www.rojotek.com/blog/2008/01/04/oracle-sid-service_name/</guid>
		<description><![CDATA[&#8230; or how to setup your Oracle XE database so that JDBC database urls will work like they traditionally have. For many years Oracle has been telling everyone Oracle SID != SERVICE_NAME. Java Developers have always smiled and nodded with this statement as the oracle thin client jdbc url would always be something like: jdbc:oracle:thin:@server:1521:SERVICE_NAME, [...]]]></description>
			<content:encoded><![CDATA[<p>
       <em>&#8230; or how to setup your Oracle XE database so that <span class="caps">JDBC</span> database urls will work like they traditionally have.</em>
    </p>
<p>
       For many years Oracle has been telling everyone Oracle <span class="caps">SID</span> != <span class="caps">SERVICE</span>_NAME.
    </p>
<p>
       Java Developers have always smiled and nodded with this statement as the oracle thin client jdbc url would always be something like:
    </p>
<p>
       jdbc:oracle:thin:@server:1521:SERVICE_NAME, or<br />
       jdbc:oracle:thin:@server:1521:SID&#160;
    </p>
<p>
       which would work because databases always either had the <span class="caps">SID</span> and <span class="caps">SERVICE</span>_NAME as the same, or there was some magic that the Oracle listeners did to make this work.
    </p>
<p>
       Somewhere in the past couple of releases of Oracle this transparent mapping has ceased to exist. In particular Oracle 10G XE out of the box doesn’t support this sort of option.
    </p>
<p>
       It seems the new preferred way of doing Oracle <span class="caps">JDBC</span> URLs is:<br />
       jdbc:oracle:thin:@server:1521/SERVICE_NAME.
    </p>
<p>
       I discovered this information while working with making a WebSphere Portal instance use Oracle as it’s data repository. The documentation for doing this suggested using the old school SID&#160;style of url. &#160;I tried this first as it felt familiar, but things didn&#39;t work. &#160;Changing the url to use the <strong>PORT/SERVICE_NAME</strong> approach looked to mostly work, but didn’t quite spread the changes to everywhere required. I needed to run <strong>WPSConfig connect-database</strong> to update all the hidden bits of configuration around the portal installation. Unfortunately, this failed as the wpsconfig script calls out to programs that expect the url to follow the old school syntax (the stack trace show an index-out-of-bounds exception while parsing connect srings). I then had to go in and update the configuration on the database to enable connection via the old <span class="caps">SID</span> style approach.
    </p>
<p>
       This was done by working on the listener.ora file<br />
       (C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN) to add in a <span class="caps">SID</span>_LIST_LISTENER entry for the database.
    </p>
<p>
       This was simply to add:<br />
       (SID_DESC =<br />
       &#160;&#160;&#160;&#160;(GLOBAL_NAME = XE)<br />
       &#160;&#160;&#160;&#160;(SID_NAME = XE)<br />
       &#160;&#160;&#160;&#160;(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)<br />
       )
    </p>
<p>
       to the <span class="caps">SID</span>_LIST of the <span class="caps">SID</span>_LIST_LISTENER
    </p>
<p>
       I ended up with a <span class="caps">SID</span>_LIST_LISTENER that looks like this:
    </p>
<p>
       <span class="caps">SID</span>_LIST_LISTENER =<br />
       &#160;&#160;&#160;&#160;(SID_LIST =<br />
       &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;(SID_DESC =<br />
       &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;(SID_NAME = PLSExtProc)<br />
       &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)<br />
       &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;(PROGRAM = extproc)<br />
       &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;)<br />
       &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;(SID_DESC =<br />
       &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;(SID_NAME = CLRExtProc)<br />
       &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)<br />
       &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;(PROGRAM = extproc)<br />
       &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;)<br />
       &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;(SID_DESC =<br />
       &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;(GLOBAL_NAME = XE)<br />
       &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;(SID_NAME = XE)<br />
       &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)<br />
       &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;)<br />
       &#160;&#160;&#160;&#160;)
    </p>
<p>
       This configuration works with an out of the box Oracle XE installation, and lets me use the jdbc:oracle:thin:@server:1521:SID.
    </p>
]]></content:encoded>
			<wfw:commentRss>http://www.rojotek.com/blog/2008/01/04/oracle-sid-service_name/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

