<?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>KentW Limited &#187; Technical</title>
	<atom:link href="http://ltd.kentw.co.uk/blog/technical/feed/" rel="self" type="application/rss+xml" />
	<link>http://ltd.kentw.co.uk</link>
	<description>Appsblog 2.1</description>
	<lastBuildDate>Sat, 10 Sep 2011 11:34:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>R12 FND User password lock down</title>
		<link>http://ltd.kentw.co.uk/technical/r12-installation/r12-fnd-user-password-lock-down/</link>
		<comments>http://ltd.kentw.co.uk/technical/r12-installation/r12-fnd-user-password-lock-down/#comments</comments>
		<pubDate>Sat, 26 Feb 2011 10:48:10 +0000</pubDate>
		<dc:creator>Kent</dc:creator>
				<category><![CDATA[R12 Installation]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[R12]]></category>

		<guid isPermaLink="false">http://ltd.kentw.co.uk/technical/r12-installation/r12-fnd-user-password-lock-down/</guid>
		<description><![CDATA[When making your R12 server available on-line you need to protect your FND user password.
This assumes that you have ONLY opened port 8000 for APPS login access.
For any other access I can only recommend to use VPN as a full OEL and RDBMS lock down is very complex.
I used the following script (use at your [...]]]></description>
			<content:encoded><![CDATA[<p>When making your R12 server available on-line you need to protect your FND user password.</p>
<p>This assumes that you have ONLY opened port 8000 for APPS login access.</p>
<p>For any other access I can only recommend to use VPN as a full OEL and RDBMS lock down is very complex.</p>
<p>I used the following script (use at your own risk):</p>
<blockquote><p><font size="1"><em>begin         <br />&#160;&#160;&#160; /* lock ALL seeded accounts first */          <br />&#160;&#160;&#160; update fnd_user set end_date=sysdate;          <br />&#160;&#160;&#160; commit;          <br />&#160;&#160;&#160; /* then unlock the necessary ones */          <br />&#160;&#160;&#160; update fnd_user set end_date=null where user_name in (          <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8216;ANONYMOUS&#8217;,          <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8216;APPSMGR&#8217;,          <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8216;AUTOINSTALL&#8217;,          <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8216;CONCURRENT MANAGER&#8217;,          <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8216;FEEDER SYSTEM&#8217;,          <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8216;GUEST&#8217;, /* NEVER touch this account as this enables APPS login */          <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8216;INITIAL SETUP&#8217;,          <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8216;ORACLE&#8217;, /* my demo account */&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8216;SYSADMIN&#8217;          <br />&#160;&#160;&#160; );          <br />&#160;&#160;&#160; commit;          <br />&#160;&#160;&#160; /* set password – but NOT for GUEST */          <br />&#160;&#160;&#160; fnd_user_pkg.updateuser(&#8216;ANONYMOUS&#8217;,null,&#8217;password&#8217;);          <br />&#160;&#160;&#160; fnd_user_pkg.updateuser(&#8216;APPSMGR&#8217;,null,&#8217;password&#8217;);          <br />&#160;&#160;&#160; fnd_user_pkg.updateuser(&#8216;AUTOINSTALL&#8217;,null,&#8217;password&#8217;);          <br />&#160;&#160;&#160; fnd_user_pkg.updateuser(&#8216;CONCURRENT MANAGER&#8217;,null,&#8217;password&#8217;);          <br />&#160;&#160;&#160; fnd_user_pkg.updateuser(&#8216;FEEDER SYSTEM&#8217;,null,&#8217;password&#8217;);          <br />&#160;&#160;&#160; fnd_user_pkg.updateuser(&#8216;INITIAL SETUP&#8217;,null,&#8217;password&#8217;);          <br />&#160;&#160;&#160; fnd_user_pkg.updateuser(&#8216;SYSADMIN&#8217;,null,&#8217;password&#8217;);          <br />&#160;&#160;&#160; fnd_user_pkg.updateuser(&#8216;ORACLE&#8217;,null,&#8217;password&#8217;);          <br />&#160;&#160;&#160; commit;          <br />end;          <br />/          <br />exit;</em></font></p>
</blockquote>
<p>Note: Do NOT to touch the GUEST user.</p>
]]></content:encoded>
			<wfw:commentRss>http://ltd.kentw.co.uk/technical/r12-installation/r12-fnd-user-password-lock-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>R12 on a HTPC</title>
		<link>http://ltd.kentw.co.uk/technical/r12-installation/r12-on-a-htpc/</link>
		<comments>http://ltd.kentw.co.uk/technical/r12-installation/r12-on-a-htpc/#comments</comments>
		<pubDate>Sat, 26 Feb 2011 10:10:44 +0000</pubDate>
		<dc:creator>Kent</dc:creator>
				<category><![CDATA[R12 Installation]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[R12]]></category>

		<guid isPermaLink="false">http://ltd.kentw.co.uk/technical/r12-installation/r12-on-a-htpc/</guid>
		<description><![CDATA[Want to access your R12 installation from a client site?
No problem – pick up the R12 installation described earlier and install the hard disk in a HTPC!
For the purpose I bought a Acer AspireRevo R3700 with the following relevant specifications:

Processor Intel® Atom D525 processor 1.8GHz
Memory 2GB DDR3 800MHz
Graphics NVIDIA ION graphics solution
Networking Gigabit Ethernet, Wake-on-LAN [...]]]></description>
			<content:encoded><![CDATA[<p>Want to access your R12 installation from a client site?</p>
<p>No problem – pick up the R12 installation described <a href="http://ltd.kentw.co.uk/technical/r12-installation/r12-vis-installation/" target="_blank">earlier</a> and install the hard disk in a HTPC!<a href="http://ltd.kentw.co.uk/wp-content/uploads/2011/02/image.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 10px 5px 10px 0px; padding-left: 0px; padding-right: 0px; display: inline; float: left; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" align="left" src="http://ltd.kentw.co.uk/wp-content/uploads/2011/02/image_thumb.png" width="199" height="243" /></a></p>
<p>For the purpose I bought a Acer AspireRevo R3700 with the following relevant specifications:</p>
<ul>
<li>Processor Intel® Atom D525 processor 1.8GHz</li>
<li>Memory 2GB DDR3 800MHz</li>
<li>Graphics NVIDIA ION graphics solution</li>
<li>Networking Gigabit Ethernet, Wake-on-LAN ready and WLAN: 802.11b/g/n</li>
</ul>
<p>Replace the built-in harddisk with the R12 harddisk and boot the machine.</p>
<p>The machine can be accessed from your network using <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/" target="_blank">Putty</a> or <a href="http://sourceforge.net/projects/xming/" target="_blank">Xming</a>.</p>
<p>The only problem experienced was to fix the Realtek LAN networking.</p>
<p>A Linux driver is needed for the network card <a href="http://218.210.127.131/downloads/" target="_blank">Realtek R8168</a>. </p>
<p>Unpack the file and follow the instructions in the readme file.</p>
<p>Don’t forget to open port 8000 in your firewall and <a href="http://ltd.kentw.co.uk/technical/r12-installation/r12-fnd-user-password-lock-down/" target="_blank">lock down your FND USER passwords</a>.</p>
<h3>Conclusion</h3>
<p>Performance is good and rather improved thanks to the internal SATA connection which is much faster than using an external USB 2.0 connection. </p>
<p>The dual core Intel Atom D525 netbook CPU seems unimpressed with the R12 technical stack and performs well.</p>
<p>Running one Java client and a concurrent manager report does not stress the CPU.</p>
<p>The R12 system with a single user logged on tops out around 1.7Gb RAM so the built-in 2Gb RAM is plenty.</p>
<p>Note the hyper threading shows as additional CPU’s:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2011/02/image1.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://ltd.kentw.co.uk/wp-content/uploads/2011/02/image_thumb1.png" width="644" height="416" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ltd.kentw.co.uk/technical/r12-installation/r12-on-a-htpc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>R12 &#8211; MOAC Security</title>
		<link>http://ltd.kentw.co.uk/technical/security-technical/r12-moac-security/</link>
		<comments>http://ltd.kentw.co.uk/technical/security-technical/r12-moac-security/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 11:14:59 +0000</pubDate>
		<dc:creator>Kent</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[MOAC]]></category>
		<category><![CDATA[R12]]></category>

		<guid isPermaLink="false">http://ltd.kentw.co.uk/technical/security-technical/r12-moac-security/</guid>
		<description><![CDATA[Multiple Organizations Access Control (MOAC) security give the possibility of querying or seeing transactions of one or more Operating Units (OU) without changing responsibility.
In 11i we were securing transactions by Operating Unit (OU) only and we would have to choose a corresponding responsibility to see the transactions:

OU1 &#8211; Receivables Manager 
OU2 &#8211; Receivables Manager 
OU3 [...]]]></description>
			<content:encoded><![CDATA[<p>Multiple Organizations Access Control (MOAC) security give the possibility of querying or seeing transactions of one or more Operating Units (OU) without changing responsibility.</p>
<p>In 11i we were securing transactions by Operating Unit (OU) only and we would have to choose a corresponding responsibility to see the transactions:</p>
<ul>
<li>OU1 &#8211; Receivables Manager </li>
<li>OU2 &#8211; Receivables Manager </li>
<li>OU3 &#8211; Receivables Manager </li>
</ul>
<p>In R12 it is now possible to have a shared services responsibility like:</p>
<ul>
<li>ALL – Receivables Manager </li>
</ul>
<p>This new kind of security is based on Security Profiles which is a hierarchy of operating units.</p>
<p>So best practice in R12 is now to secure all responsibilities by Security Profile rather than by Operating Unit.</p>
<p><strong>11i non-MOAC setup:</strong></p>
<table border="1" cellspacing="0" cellpadding="2" width="486">
<tbody>
<tr>
<td valign="top" width="197"><strong></strong></td>
<td valign="top" width="126"><strong>Site Level</strong></td>
<td valign="top" width="161"><strong>Receivables (Vision)</strong></td>
</tr>
<tr>
<td valign="top" width="196"><strong>MO: Default Operating Unit</strong></td>
<td valign="top" width="128"><strong></strong></td>
<td valign="top" width="160">&nbsp;</td>
</tr>
<tr>
<td valign="top" width="195"><strong>MO: Operating Unit</strong></td>
<td valign="top" width="129">Vision Operations</td>
<td valign="top" width="160">Vision Operations</td>
</tr>
<tr>
<td valign="top" width="194"><strong>MO: Security Profile</strong></td>
<td valign="top" width="130">&nbsp;</td>
<td valign="top" width="159">&nbsp;</td>
</tr>
<tr>
<td valign="top" width="194"><strong>GL Set of Books Name</strong></td>
<td valign="top" width="131">&nbsp;</td>
<td valign="top" width="160">Vision Operations</td>
</tr>
</tbody>
</table>
<p>So a global shared service responsibility was not possible in 11i so some companies had very long lists of responsibilities.</p>
<p>Also note in R11i site level setting takes precedence at lower levels so the responsibility level setting in this case is not needed – only if the OU had been different.</p>
<p><strong>R12 MOAC setup:</strong></p>
<table border="1" cellspacing="0" cellpadding="2" width="628">
<tbody>
<tr>
<td valign="top" width="198">&nbsp;</td>
<td valign="top" width="121"><strong>Site Level</strong></td>
<td valign="top" width="163"><strong>Receivables (Vision)</strong></td>
<td valign="top" width="144"><strong>Receivables (Global)</strong></td>
</tr>
<tr>
<td valign="top" width="197"><strong>MO: Default Operating Unit</strong></td>
<td valign="top" width="121">&nbsp;</td>
<td valign="top" width="163">Vision Operations</td>
<td valign="top" width="145">Vision Services</td>
</tr>
<tr>
<td valign="top" width="197"><strong>MO: Operating Unit</strong></td>
<td valign="top" width="121">&nbsp;</td>
<td valign="top" width="163">&nbsp;</td>
<td valign="top" width="146">&nbsp;</td>
</tr>
<tr>
<td valign="top" width="197"><strong>MO: Security Profile</strong></td>
<td valign="top" width="121">Vision Global</td>
<td valign="top" width="162">Vision Operations</td>
<td valign="top" width="147">Vision Global</td>
</tr>
<tr>
<td valign="top" width="196">&nbsp;</td>
<td valign="top" width="121">&nbsp;</td>
<td valign="top" width="163">&nbsp;</td>
<td valign="top" width="148">&nbsp;</td>
</tr>
</tbody>
</table>
<p>Assuming we have a hierarchy like this where OU and security profiles have same names:</p>
<p>&gt; Vision Global    <br />&gt;&gt; Vision US     <br />&gt;&gt;&gt; Vision Operations (OU)     <br />&gt;&gt;&gt; Vision Services (OU)     <br />&gt;&gt; Vision Europe (OU)</p>
<p>We do not need to have a security profile for all branches in the hierarchy above but it is best practice to do so.</p>
<p>So in R12 GL Set of Books Name is gone and you leave <strong>MO: Operating Unit</strong> empty and leave it to the Security Profile.</p>
<p>Note: <strong>MO: Default Operating Unit</strong> is not required and can be left empty however I have had several bugs in R12.1.1 and R12.1.2 related to missing default operating unit in IEX so try leaving it empty first and if you get problems put a default value in this and try again.</p>
<p>So Oracle has created MOAC but forgot a few details here and there.</p>
<p><strong>Mixed R11i/R12 MOAC setup:</strong></p>
<p>Some modules in R12 does not yet fully support MOAC so a mixed setup may be needed.</p>
<p>Luckily Oracle changed the MO profile settings inheritance so the site level setting does NOT override at responsibility level as in R11i – well at least this setup worked in R12.1.1.</p>
<table border="1" cellspacing="0" cellpadding="2" width="628">
<tbody>
<tr>
<td valign="top" width="198">&nbsp;</td>
<td valign="top" width="121"><strong>Site Level</strong></td>
<td valign="top" width="163"><strong>Receivables (Vision)</strong></td>
<td valign="top" width="144"><strong>Receivables (Global)</strong></td>
</tr>
<tr>
<td valign="top" width="197"><strong>MO: Default Operating Unit</strong></td>
<td valign="top" width="121">&nbsp;</td>
<td valign="top" width="163">&nbsp;</td>
<td valign="top" width="145">Vision Operations</td>
</tr>
<tr>
<td valign="top" width="197"><strong>MO: Operating Unit</strong></td>
<td valign="top" width="121">Vision Operations</td>
<td valign="top" width="163">&nbsp;</td>
<td valign="top" width="146">&nbsp;</td>
</tr>
<tr>
<td valign="top" width="197"><strong>MO: Security Profile</strong></td>
<td valign="top" width="121">Vision Global</td>
<td valign="top" width="162">Vision Operations</td>
<td valign="top" width="147">Vision Global</td>
</tr>
<tr>
<td valign="top" width="196">&nbsp;</td>
<td valign="top" width="121">&nbsp;</td>
<td valign="top" width="163">&nbsp;</td>
<td valign="top" width="148">&nbsp;</td>
</tr>
</tbody>
</table>
<p>Using the setup above you will get a site level default OU of “Vision Operations” however at responsibility level the security profile takes precedence so Receivables (Global) will be able to see all OU’s within “Vision Global”. In 11i you would have been locked down to “Vision Operations”.</p>
<h3>Technical</h3>
<h4>11i – View Based Security</h4>
<p>11i used views to secure transactions in individual schemas:</p>
<p>APPS.AR_PAYMENT_SCHEDULES on AR.AR_PAYMENT_SCHEDULES_ALL</p>
<p>With where clause using CLIENT_INFO set from the responsibility context.</p>
<p>In PL/SQL programs you would set:</p>
<ul>
<li>fnd_global.apps_initialize( var_user_id, var_resp_id, var_application_id); </li>
</ul>
<p>and:</p>
<ul>
<li>dbms_application_info.set_client_info(var_organization_id); </li>
</ul>
<h4>R12 – VPD Based Security</h4>
<p>R12 uses the Virtual Private Database (VPD) technology for MOAC security.</p>
<p>Synonym APPS.AR_PAYMENT_SCHEDULES on AR.AR_PAYMENT_SCHEDULES_ALL</p>
<p>With a policy attached to synonym APPS.AR_PAYMENT_SCHEDULES.</p>
<p>In PL/SQL program you <strong>still</strong> need to set:</p>
<ul>
<li>fnd_global.apps_initialize( var_user_id, var_resp_id, var_application_id); </li>
</ul>
<p>and for single OU access:</p>
<ul>
<li>mo_global.set_policy_context(&#8216;S&#8217;,var_organization_id); </li>
</ul>
<p>or for multi OU access:</p>
<ul>
<li>mo_global.set_policy_context(&#8216;M&#8217;,null); </li>
</ul>
<h4>Accessible Organisation Units</h4>
<p>In 11i it was easy to see what access you had:</p>
<ul>
<li>dbms_application_info.read_client_info(var_organization_id); </li>
</ul>
<p>Which would return your current org_id however in R12 you need to do the following:</p>
<ul>
<li>select organization_id      <br />from HR_ORGANIZATION_UNITS       <br />where MO_GLOBAL.CHECK_ACCESS(organization_id)=&#8217;Y&#8217;       <br />; </li>
</ul>
<p>I usually use the following script:</p>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #0000ff">declare</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">  l_user_id number;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">  l_responsibility_id number;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">  l_application_id number;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">  l_organization_id number;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #0000ff">begin</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #008000">--  dbms_output.enable;</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">  <span style="color: #0000ff">select</span> application_id,responsibility_id</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #0000ff">into</span> l_application_id,l_responsibility_id</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #0000ff">from</span> fnd_responsibility_tl</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #0000ff">where</span> responsibility_name = <span style="color: #006080">'General Ledger Super User'</span>;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">  <span style="color: #0000ff">select</span> user_id</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #0000ff">into</span> l_user_id</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #0000ff">from</span> fnd_user <span style="color: #0000ff">where</span> user_name=<span style="color: #006080">'ORACLE'</span>;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">  <span style="color: #0000ff">select</span> organization_id</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #0000ff">into</span> l_organization_id</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #0000ff">from</span> hr_all_organization_units</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    <span style="color: #0000ff">where</span> name=<span style="color: #006080">'Vision Operations'</span>;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">  fnd_global.apps_initialize(l_user_id,l_responsibility_id,l_application_id);  </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">  --mo_global.set_policy_context(<span style="color: #006080">'S'</span>,l_organization_id);</pre>
<p><!--CRLF--><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">  mo_global.set_policy_context(<span style="color: #006080">'M'</span>,l_organization_id);</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #008000">--  dbms_output.put_line('Done...');</span></pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #0000ff">end</span>;</pre>
<p><!--CRLF--></p>
</p></div>
</div>
<h3>Concurrent Requests</h3>
<p>Concurrent request can now be setup to run as in 11i (default) or as MOAC compliant programs.</p>
<p>Use the “System Administrator” OAF screen “Concurrent Program” to set Operating Unit Mode to Single (OU) or Multi (MOAC compliant):</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2010/08/image15.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://ltd.kentw.co.uk/wp-content/uploads/2010/08/image_thumb15.png" width="484" height="259" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ltd.kentw.co.uk/technical/security-technical/r12-moac-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>R12 on two Laptops</title>
		<link>http://ltd.kentw.co.uk/technical/r12-installation/r12-on-two-laptops/</link>
		<comments>http://ltd.kentw.co.uk/technical/r12-installation/r12-on-two-laptops/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 14:41:21 +0000</pubDate>
		<dc:creator>Kent</dc:creator>
				<category><![CDATA[R12 Installation]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[R12]]></category>

		<guid isPermaLink="false">http://ltd.kentw.co.uk/uncategorized/r12-on-two-laptops/</guid>
		<description><![CDATA[So we have installed R12 on a external USB hard disk according to my instructions but now we want more performance and flexibility?
You can either run out and buy a huge server and re-install on that or try to use two laptops instead of one?
Equipment used:

Router – Draytek 2820 
Laptop 1 – R12 server: Lenovo [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2010/08/image8.png"><img style="border-right-width: 0px; margin: 0px 0px 5px 10px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" align="right" src="http://ltd.kentw.co.uk/wp-content/uploads/2010/08/image_thumb8.png" width="324" height="159" /></a>So we have installed R12 on a external USB hard disk according to my <a href="http://ltd.kentw.co.uk/technical/r12-installation/r12-vis-installation/" target="_blank">instructions</a> but now we want more performance and flexibility?</p>
<p>You can either run out and buy a huge server and re-install on that or try to use two laptops instead of one?</p>
<p><strong>Equipment used:</strong></p>
<ul>
<li>Router – Draytek 2820 </li>
<li>Laptop 1 – R12 server: Lenovo Edge 13 with AMD Turion Neo X2 CPU and 4Gb RAM </li>
<li>Laptop 2 – Client: Dell XPS M1530 with Intel T8300 CPU and 6Gb RAM </li>
<li>Hard disk – R12 disk: Akasa eSata/USB2.0 case with Seagate 500Gb 7200RPM </li>
</ul>
<p><strong>Follow this to make it work:</strong></p>
<ol>
<li>In the router set a static IP address for laptop 1 – I use 192.168.1.4 </li>
<li>Connect the hard disk to laptop 1 and boot </li>
<li>So laptop 1 still thinks it is 127.0.0.1 but router makes it 192.168.1.4 for other computers </li>
<li>Start R12 on laptop 1 and ensure everything is up and running nicely </li>
<li>Update hosts file on laptop 2:      <br />192.168.1.4 localhost.localdomain       <br />Localhost is normally the loopback but as the R12 server is using this name we must do the same </li>
<li>In the browser on laptop 2 connect to <a href="http://localhost.localdomain:8000">http://localhost.localdomain:8000</a> </li>
<li>Login and go! </li>
</ol>
<p><strong>Conclusion</strong></p>
<p>R12 Performance is fine only taking 1.7Gb RAM on Laptop 1. </p>
<p>Cpu level is very low as well &lt; 25% overall. </p>
<p>I/O could be better as the USB2 is not that fast.</p>
<p>Fitting the R12 hard disk inside Laptop 1 may boot performance thanks to Sata being 10+ times faster than USB2.</p>
]]></content:encoded>
			<wfw:commentRss>http://ltd.kentw.co.uk/technical/r12-installation/r12-on-two-laptops/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programming a Concurrent Request Set</title>
		<link>http://ltd.kentw.co.uk/technical/concurrent-manager/programming-a-discrete-concurrent-request-set/</link>
		<comments>http://ltd.kentw.co.uk/technical/concurrent-manager/programming-a-discrete-concurrent-request-set/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 12:49:46 +0000</pubDate>
		<dc:creator>Kent</dc:creator>
				<category><![CDATA[Concurrent Manager]]></category>
		<category><![CDATA[Concurrent Request Set]]></category>
		<category><![CDATA[Request]]></category>

		<guid isPermaLink="false">http://ltd.kentw.co.uk/technical/concurrent-manager/programming-a-discrete-concurrent-request-set/</guid>
		<description><![CDATA[Concurrent Request Sets are great to use when having to submit multiple programs like period-end programs.
However it in large scale projects you may have to submit very large request sets depending on some logic which is virtually impossible to implement as a Concurrent Request Set.
It is easy to submit a program from a PL/SQL program [...]]]></description>
			<content:encoded><![CDATA[<p>Concurrent Request Sets are great to use when having to submit multiple programs like period-end programs.</p>
<p>However it in large scale projects you may have to submit very large request sets depending on some logic which is virtually impossible to implement as a Concurrent Request Set.</p>
<p>It is easy to submit a program from a PL/SQL program using:</p>
<p>FND_REQUEST.SUBMIT_REQUEST</p>
<p>However how do we keep track of all the submitted sub-programs in similar way as a normal concurrent request set do it – retaining the parent request id?</p>
<p>So what we want to have is:</p>
<p>&gt; Request Set   <br />&gt;&gt; Request Job (parent request id = Request Set)</p>
<p>Also how do we ensure that we do not submit too many sub-programs at any one time in order not to clutter the request queue?</p>
<p>So what we really want to have is:</p>
<p>&gt; Request Set   <br />&gt;&gt; Request Job (parent request id = Request Set)    <br />&gt; Wait for child requests to complete    <br />&gt;&gt; Request Job (parent request id = Request Set)</p>
<p>The problem is that when a parent program wakes up it re-submits itself. So in order to make this work you need to use recursive programming methods.</p>
<p>The trick is to use these three calls:</p>
<ul>
<li>FND_CONC_GLOBAL.SET_REQ_GLOBALS with Status=PAUSED and REQUEST_DATA     <br />Status = PAUSED will put the parent program into a wait state until child processes have completed      <br />REQUEST_DATA parameter will save data between runs</li>
<li>FND_CONC_GLOBAL.REQUEST_DATA     <br />Retrieves data from previous run</li>
<li>FND_REQUEST.SUBMIT_REQUEST with SUB_REQUEST=&gt;true     <br />Submits the sub-programs with control of a parent program.      <br />If set to “false” you have no control of the sub-programs.      <br />If you set this to “true” but without setting parent program status to PAUSED you will get the issue where child programs are phase=“inactive” and status=“no manager”</li>
</ul>
<p>So in my test I will create to sets of two jobs:</p>
<p>&gt; Request Set   <br />&gt; Set 1:     <br />&gt;&gt; 1: Request Job (parent request id = Request Set)    <br />&gt;&gt; 2: Request Job (parent request id = Request Set)    <br />&gt; Wait for child requests to complete    <br />&gt; Set 2:    <br />&gt;&gt; 1: Request Job (parent request id = Request Set)    <br />&gt;&gt; 2: Request Job (parent request id = Request Set)</p>
<p>So running my concurrent request set:</p>
<p>Set 1:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2010/08/image.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://ltd.kentw.co.uk/wp-content/uploads/2010/08/image_thumb.png" width="484" height="127" /></a></p>
<p>So two first programs has just run and parent quest is about to start the second job set.</p>
<p>Set 2: </p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2010/08/image1.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://ltd.kentw.co.uk/wp-content/uploads/2010/08/image_thumb1.png" width="484" height="157" /></a> </p>
<p>Note all jobs has the same Parent Request ID.</p>
<p>Nice and controlled.</p>
<h3>Create the PL/SQL code:</h3>
<p>Package:</p>
<p><font size="1" face="Courier New">create or replace     <br />package XXKWICONCSET authid current_user as      <br />&#160; &#8212; this is exposed for conc manager      <br />&#160; procedure XXKWI_REQUEST_SET_CONCUR (      <br />&#160;&#160;&#160; ERRBUF OUT NOCOPY varchar2,      <br />&#160;&#160;&#160; RETCODE OUT NOCOPY varchar2      <br />&#160; );      <br />&#160; procedure XXKWI_REQUEST_CONCUR (      <br />&#160;&#160;&#160; ERRBUF OUT NOCOPY varchar2,      <br />&#160;&#160;&#160; RETCODE OUT NOCOPY varchar2,      <br />&#160;&#160;&#160; PARAM IN varchar2      <br />&#160; );      <br />end XXKWICONCSET;      <br />/</font></p>
<p>Package Body:</p>
<p><font size="1" face="Courier New">create or replace     <br />package body XXKWICONCSET as      <br />&#160; &#8212; Concurrent child program      <br />&#160; procedure XXKWI_REQUEST_CONCUR (      <br />&#160;&#160;&#160; ERRBUF OUT NOCOPY varchar2,      <br />&#160;&#160;&#160; RETCODE OUT NOCOPY varchar2,      <br />&#160;&#160;&#160; PARAM IN varchar2      <br />&#160; ) is      <br />&#160; begin      <br />&#160;&#160;&#160; fnd_file.put_line(fnd_file.output,&#8217;Running job: &#8216;||param);      <br />&#160;&#160;&#160; ERRBUF:=&#8217;Done Job&#8230;&#8217;;      <br />&#160;&#160;&#160; RETCODE:=0;      <br />&#160; end XXKWI_REQUEST_CONCUR;      <br />&#160; &#8212; Concurrent Request Set      <br />&#160; procedure XXKWI_REQUEST_SET_CONCUR (      <br />&#160;&#160;&#160; ERRBUF OUT NOCOPY varchar2,      <br />&#160;&#160;&#160; RETCODE OUT NOCOPY varchar2      <br />&#160; ) is      <br />&#160;&#160;&#160; L_REQUEST_ID number;      <br />&#160;&#160;&#160; L_REQ_DATA varchar2(10);      <br />&#160;&#160;&#160; job_count number;      <br />&#160;&#160;&#160; set_count number;      <br />&#160; begin      <br />&#160;&#160;&#160; L_REQ_DATA:=FND_CONC_GLOBAL.REQUEST_DATA; &#8212; get previous job data      <br />&#160;&#160;&#160; if L_REQ_DATA is null then &#8212; first run set count to &#8216;0&#8242;      <br />&#160;&#160;&#160;&#160;&#160; L_REQ_DATA:=&#8217;0&#8242;;      <br />&#160;&#160;&#160; end if;      <br />&#160;&#160;&#160; set_count:=to_number(l_req_data)+1; &#8212; increment for every job      <br />&#160;&#160;&#160; fnd_file.put_line(fnd_file.output,&#8217;Running set: &#8216;||to_char(set_count));      <br />&#160;&#160;&#160; if set_count&gt;2 then &#8212; stop after 2 jobs      <br />&#160;&#160;&#160;&#160;&#160; ERRBUF:=&#8217;Done Set&#8230;&#8217;;      <br />&#160;&#160;&#160;&#160;&#160; RETCODE:=0;      <br />&#160;&#160;&#160;&#160;&#160; return;      <br />&#160;&#160;&#160; end if;      <br />&#160;&#160;&#160; &#8212; submit 3 child programs      <br />&#160;&#160;&#160; for job_count in 1..2 loop      <br />&#160;&#160;&#160;&#160;&#160; fnd_file.put_line(fnd_file.output,&#8217;Submitting job: &#8216;||to_char(job_count));      <br />&#160;&#160;&#160;&#160;&#160; L_REQUEST_ID:=FND_REQUEST.SUBMIT_REQUEST(      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; APPLICATION=&gt;&#8217;FND&#8217;,      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; program=&gt;&#8217;XXKWI_REQUEST_CONCUR&#8217;,      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; DESCRIPTION=&gt;to_char(job_count),      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; START_TIME=&gt;null,      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; SUB_REQUEST=&gt;true, &#8212; True = This is a child program      <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; ARGUMENT1=&gt;to_char(job_count) &#8212; data to job      <br />&#160;&#160;&#160;&#160;&#160; );      <br />&#160;&#160;&#160; end loop;      <br />&#160;&#160;&#160; &#8212; Wait until done and save set count:      <br /></font><font size="1" face="Courier New">&#160;&#160;&#160; FND_CONC_GLOBAL.SET_REQ_GLOBALS(     <br />&#160;&#160;&#160;&#160;&#160; CONC_STATUS=&gt;&#8217;PAUSED&#8217;, &#8212; wait for child request to complete      <br />&#160;&#160;&#160;&#160;&#160; REQUEST_DATA=&gt;to_char(set_count) &#8212; save set data      <br />&#160;&#160;&#160; );&#160; <br /></font><font size="1" face="Courier New">&#160;&#160;&#160; Commit;     <br />&#160; end XXKWI_REQUEST_SET_CONCUR;      <br />end XXKWICONCSET;      <br />/</font></p>
<h3>Register the two executables and programs.</h3>
<p>Concurrent Job:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2010/08/image2.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://ltd.kentw.co.uk/wp-content/uploads/2010/08/image_thumb2.png" width="484" height="231" /></a> </p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2010/08/image3.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://ltd.kentw.co.uk/wp-content/uploads/2010/08/image_thumb3.png" width="444" height="364" /></a> </p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2010/08/image4.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://ltd.kentw.co.uk/wp-content/uploads/2010/08/image_thumb4.png" width="484" height="325" /></a> </p>
<p>Concurrent Set:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2010/08/image5.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://ltd.kentw.co.uk/wp-content/uploads/2010/08/image_thumb5.png" width="484" height="231" /></a> </p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2010/08/image6.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://ltd.kentw.co.uk/wp-content/uploads/2010/08/image_thumb6.png" width="437" height="364" /></a> </p>
</p>
</p>
<p>Request Group:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2010/08/image7.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://ltd.kentw.co.uk/wp-content/uploads/2010/08/image_thumb7.png" width="484" height="180" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://ltd.kentw.co.uk/technical/concurrent-manager/programming-a-discrete-concurrent-request-set/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>R12.1 &#8211; Installation</title>
		<link>http://ltd.kentw.co.uk/technical/r12-installation/installing-r12-1/</link>
		<comments>http://ltd.kentw.co.uk/technical/r12-installation/installing-r12-1/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 11:41:03 +0000</pubDate>
		<dc:creator>Kent</dc:creator>
				<category><![CDATA[R12 Installation]]></category>
		<category><![CDATA[Oracle Enterprise Linux]]></category>
		<category><![CDATA[R12.1]]></category>

		<guid isPermaLink="false">http://ltd.kentw.co.uk/technical/installation/installing-r12-1/</guid>
		<description><![CDATA[Well having installed and worked with R12.0.4  it very fast becomes clear that a new version is needed.
So I downloaded R12.1.1 from Oracle eDelivery. 40 files in excess of 45Gb to the joy of my ISP.
NOTE until 20/11-2009 there was a corrupt file on eDelivery and it took me a while to convince Oracle that [...]]]></description>
			<content:encoded><![CDATA[<p>Well having installed and worked with R12.0.4  it very fast becomes clear that a new version is needed.</p>
<p>So I downloaded R12.1.1 from Oracle eDelivery. 40 files in excess of 45Gb to the joy of my ISP.</p>
<p>NOTE until 20/11-2009 there was a corrupt file on eDelivery and it took me a while to convince Oracle that it was the case.</p>
<p>The sick file was: V15571-01_2of3.zip</p>
<p>However the file has been fixed after the above date but be sure to test your downloaded files anyway using <a href="http://ltd.kentw.co.uk/technical/ziptest/">ziptest</a>.</p>
<p>Otherwise follow the procedure for <a href="http://ltd.kentw.co.uk/technical/e-business-suite-1204-installation-draft/">R12 Installation</a>.</p>
<p>Some of the initial rapidwiz screen has changed though.</p>
<p>The Welcome screen is saying 12.1.1 – great:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2009/11/Screenshot1.png"><img style="display: inline; border-width: 0px;" title="Screenshot-1" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/11/Screenshot1_thumb.png" border="0" alt="Screenshot-1" width="644" height="438" /></a></p>
<p>Select express install:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2009/11/Screenshot2.png"><img style="display: inline; border-width: 0px;" title="Screenshot-2" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/11/Screenshot2_thumb.png" border="0" alt="Screenshot-2" width="644" height="431" /></a></p>
<p>Just click next on this one:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2009/11/Screenshot3.png"><img style="display: inline; border-width: 0px;" title="Screenshot-3" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/11/Screenshot3_thumb.png" border="0" alt="Screenshot-3" width="644" height="430" /></a></p>
<p>Update base directory:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2009/11/Screenshot4.png"><img style="display: inline; border-width: 0px;" title="Screenshot-4" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/11/Screenshot4_thumb.png" border="0" alt="Screenshot-4" width="644" height="434" /></a></p>
<p>Before logging in you should compile the jsp pages – see how to <strong><a href="http://ltd.kentw.co.uk/technical/r12-managing/">Compile JSP</a></strong>.</p>
<p>And then it is business as usual like in R12.0.4</p>
<p>Also in you environment script – the one I call vis.sh change this:</p>
<p>from:<br />
TECHENV=/oracle/VIS/db/tech_st/10.2.0/$CONTEXT_NAME.env<br />
to:<br />
TECHENV=/oracle/VIS/db/tech_st/11.1.0/$CONTEXT_NAME.env</p>
<p>Have fun…</p>
]]></content:encoded>
			<wfw:commentRss>http://ltd.kentw.co.uk/technical/r12-installation/installing-r12-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ziptest</title>
		<link>http://ltd.kentw.co.uk/technical/r12-installation/ziptest/</link>
		<comments>http://ltd.kentw.co.uk/technical/r12-installation/ziptest/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 11:36:01 +0000</pubDate>
		<dc:creator>Kent</dc:creator>
				<category><![CDATA[R12 Installation]]></category>
		<category><![CDATA[Oracle Enterprise Linux]]></category>
		<category><![CDATA[WIN]]></category>

		<guid isPermaLink="false">http://ltd.kentw.co.uk/technical/ziptest/</guid>
		<description><![CDATA[This is a couple of useful scripts to test downloaded files.
This approach is recommended when downloading huge amounts of data like when downloading Oracle R12 installations files.
In addition to testing the downloaded files also be sure to use a download manager.
The basic zip test command is:
$ unzip –t –qq {zipfile}
I made a Linux script for [...]]]></description>
			<content:encoded><![CDATA[<p>This is a couple of useful scripts to test downloaded files.</p>
<p>This approach is recommended when downloading huge amounts of data like when downloading Oracle R12 installations files.</p>
<p>In addition to testing the downloaded files also be sure to use a download manager.</p>
<p>The basic zip test command is:</p>
<p>$ unzip –t –qq {zipfile}</p>
<p>I made a Linux script for it named ziptest.sh:</p>
<table border="1" cellspacing="0" cellpadding="2" width="400">
<tbody>
<tr>
<td width="400" valign="top"><span style="font-family: 'Courier New'; font-size: x-small;">#!/bin/bash<br />
# ziptest.sh<br />
SOURCE=/util/install/R12.1.1-32<br />
if [ -z "$1" ]<br />
then<br />
name=&#8221;*.zip&#8221;<br />
else<br />
name=&#8221;$1.zip&#8221;<br />
fi<br />
for zipfile in $SOURCE/$name<br />
do<br />
unzip -t -qq $zipfile<br />
if [ $? -eq 0 ]<br />
then<br />
echo -n &#8220;.&#8221;<br />
else<br />
echo &#8221; &#8221;<br />
fi<br />
done<br />
echo &#8221; &#8220;</span></td>
</tr>
</tbody>
</table>
<p>A similar script can be made for Windows names ziptest.cmd:</p>
<table border="1" cellspacing="0" cellpadding="2" width="400">
<tbody>
<tr>
<td width="400" valign="top"><span style="font-family: 'Courier New'; font-size: x-small;">@echo off<br />
rem ziptest.cmd {zipfilename}<br />
set zipdir=..\R12.1.1-32<br />
rem do all zip files unless arg received<br />
set zipfile=*.zip<br />
if [%1]==[] goto doit<br />
set zipfile=%1.zip<br />
:doit<br />
set target=%zipdir%\%zipfile%<br />
for %%a in ( %target% ) do call ziptest_call %%a</span></td>
</tr>
</tbody>
</table>
<p>As command line programming in windows isn’t great we need to call a subprogram names ziptest_call:</p>
<table border="1" cellspacing="0" cellpadding="2" width="400">
<tbody>
<tr>
<td width="400" valign="top"><span style="font-family: 'Courier New'; font-size: x-small;">@echo off<br />
rem ziptest_call.cmd {zipfile}<br />
if [%1]==[] goto noarg<br />
if not exist %1 goto nofile<br />
:main<br />
unzip –t –qq %1<br />
if errorlevel 1 goto badfile<br />
goto xit<br />
:noarg<br />
echo ARG missing – use only with ziptest.cmd<br />
goto xit<br />
:nofile<br />
echo FILE %1 does not exist<br />
goto xit<br />
:badfile<br />
echo %1 BAD<br />
goto xit<br />
:xit</span></td>
</tr>
</tbody>
</table>
<p>That should be it.</p>
<p>Be sure to update directory references for your own purpose.</p>
]]></content:encoded>
			<wfw:commentRss>http://ltd.kentw.co.uk/technical/r12-installation/ziptest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Explorer 8</title>
		<link>http://ltd.kentw.co.uk/technical/internet-explorer-8/</link>
		<comments>http://ltd.kentw.co.uk/technical/internet-explorer-8/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 11:16:52 +0000</pubDate>
		<dc:creator>Kent</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[e-Business Suite]]></category>
		<category><![CDATA[Internet Explorer 8]]></category>
		<category><![CDATA[R12]]></category>

		<guid isPermaLink="false">http://ltd.kentw.co.uk/technical/internet-explorer-8/</guid>
		<description><![CDATA[First Install Java JRE 1.5.0.13 as usual as the download from the Apps server to IE8 would not work – and just install the version required by default so you might need a different version
Then add your Apps server to IE8 security settings:
 
Lower the security setting to medium-low for Trusted Sites:
 

Allow pop-ups from [...]]]></description>
			<content:encoded><![CDATA[<p>First Install Java JRE 1.5.0.13 as usual as the download from the Apps server to IE8 would not work – and just install the version required by default so you might need a different version</p>
<p>Then add your Apps server to IE8 security settings:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2009/09/image33.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/09/image_thumb36.png" width="393" height="346" /></a> </p>
<p>Lower the security setting to medium-low for Trusted Sites:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2009/09/image34.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/09/image_thumb37.png" width="393" height="503" /></a> </p>
</p>
<p>Allow pop-ups from the Apps server:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2009/09/image35.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/09/image_thumb38.png" width="394" height="428" /></a> </p>
<p>When you start the application for the first time you may get one or more warnings like this:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2009/09/image36.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/09/image_thumb39.png" width="398" height="201" /></a> </p>
<p>Just keep clicking run and it should work.</p>
<p>Note IE8 is not yet supported by Oracle.</p>
]]></content:encoded>
			<wfw:commentRss>http://ltd.kentw.co.uk/technical/internet-explorer-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>R12 &#8211; Virtualbox Connection</title>
		<link>http://ltd.kentw.co.uk/technical/r12-installation/r12-connect-using-virtualbox/</link>
		<comments>http://ltd.kentw.co.uk/technical/r12-installation/r12-connect-using-virtualbox/#comments</comments>
		<pubDate>Mon, 18 May 2009 09:38:14 +0000</pubDate>
		<dc:creator>Kent</dc:creator>
				<category><![CDATA[R12 Installation]]></category>
		<category><![CDATA[e-Business Suite]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Oracle Enterprise Linux]]></category>
		<category><![CDATA[R12]]></category>
		<category><![CDATA[Red Hat Enterprise Linux]]></category>
		<category><![CDATA[Virtualbox]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://ltd.kentw.co.uk/technical/r12-connect-using-virtualbox/</guid>
		<description><![CDATA[So you got R12 up and running and want to connect to it from a Vbox machine?
I’m running R12.0.4 on OEL5.3 with Virtualbox 2.2.2 having a Windows 7 machine.
R12
R12 is installed on OEL with the hostname: localhost.localdomain
Firefox works locally against R12 so the EBS stack in working at this point.
Start the database, listener and apps. [...]]]></description>
			<content:encoded><![CDATA[<p>So you got R12 up and running and want to connect to it from a Vbox machine?</p>
<p>I’m running R12.0.4 on OEL5.3 with Virtualbox 2.2.2 having a Windows 7 machine.</p>
<h3>R12</h3>
<p>R12 is installed on OEL with the hostname: localhost.localdomain</p>
<p>Firefox works locally against R12 so the EBS stack in working at this point.</p>
<p>Start the database, listener and apps. See <a href="http://ltd.kentw.co.uk/technical/r12-managing/" target="_blank">Managing R12</a>:</p>
<p>$ addbctl start</p>
<p>$ addlnctl start VIS</p>
<p>$ adstrtal apps/apps</p>
<p>To test if a database network connection would work try:</p>
<p>$ sqlplus apps/apps@VIS</p>
<h3>Virtualbox</h3>
<p>Installed Vbox 2.2.2 on OEL. Get it from <a href="http://www.virtualbox.org">http://www.virtualbox.org</a></p>
<p>Setup Vbox host-only network in \File\Preferences</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/screenshotvirtualboxsettings1.png"><img style="display: inline; margin-left: 0px; margin-right: 0px; border-width: 0px;" title="Screenshot-VirtualBox - Settings" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/screenshotvirtualboxsettings-thumb1.png" border="0" alt="Screenshot-VirtualBox - Settings" width="450" height="425" /></a></p>
<p>and give it a ip like 192.168.2.7 on the adapter tab:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/screenshothostonlynetworkdetails.png"><img style="display: inline; border-width: 0px;" title="Screenshot-Host-only Network Details" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/screenshothostonlynetworkdetails-thumb.png" border="0" alt="Screenshot-Host-only Network Details" width="398" height="226" /></a></p>
<p>and setup the dhcp tab like this:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/screenshothostonlynetworkdetailsdhcp.png"><img style="display: inline; border-width: 0px;" title="Screenshot-Host-only Network Details - dhcp" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/screenshothostonlynetworkdetailsdhcp-thumb.png" border="0" alt="Screenshot-Host-only Network Details - dhcp" width="406" height="230" /></a></p>
<p>When the Vbox machine is started you should be able to ping it:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/screenshotping.png"><img style="display: inline; border-width: 0px;" title="Screenshot-ping" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/screenshotping-thumb.png" border="0" alt="Screenshot-ping" width="453" height="316" /></a></p>
<h3>Windows 7 in Virtualbox</h3>
<p>I use Windows 7 RC.</p>
<p>Create a Vbox machine and mount the downloaded Win7 ISO as CDROM and run install:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/screenshotvirtualmediamanager.png"><img style="display: inline; border-width: 0px;" title="Screenshot-Virtual Media Manager" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/screenshotvirtualmediamanager-thumb.png" border="0" alt="Screenshot-Virtual Media Manager" width="457" height="355" /></a></p>
<p>You get it from here:</p>
<p>Setup Vbox networking like this:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/screenshotwindows7settings.png"><img style="display: inline; border-width: 0px;" title="Screenshot-Windows 7 - Settings" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/screenshotwindows7settings-thumb.png" border="0" alt="Screenshot-Windows 7 - Settings" width="455" height="436" /></a></p>
<p>This will communicate through the 192.168.2.7 ip address.</p>
<p>When Window 7 is installed create a new entry in the file:</p>
<p>C:\windows\system32\drivers\etc\hosts</p>
<p>like this:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/image13.png"><img style="display: inline; border-width: 0px;" title="image" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/image-thumb13.png" border="0" alt="image" width="456" height="312" /></a></p>
<p>Pointing to localhost.localdomain so Firefox R12 login works.</p>
<p>To ensure everything work try to ping localhost:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/image14.png"><img style="display: inline; border-width: 0px;" title="image" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/image-thumb14.png" border="0" alt="image" width="462" height="235" /></a></p>
<h3>SQLDeveloper</h3>
<p>If you want to do development then this tool is great. Get it from:</p>
<p><a title="http://www.oracle.com/technology/products/database/sql_developer/index.html" href="http://www.oracle.com/technology/products/database/sql_developer/index.html">http://www.oracle.com/technology/products/database/sql_developer/index.html</a></p>
<p>I installed version 1.5.1.</p>
<p>Setup the connection:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/image15.png"><img style="display: inline; border-width: 0px;" title="image" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/image-thumb15.png" border="0" alt="image" width="467" height="334" /></a></p>
<p>I just used the ip address here and it works fine.</p>
<h3>Firefox</h3>
<p>To run R12 forms and framework you need Firefox 2.</p>
<p>Install Firefox 2 in Win7. I installed version 2.0.0.14. Get it from:</p>
<p><a title="http://www.mozilla.com/en-US/firefox/all-older.html" href="http://www.mozilla.com/en-US/firefox/all-older.html">http://www.mozilla.com/en-US/firefox/all-older.html</a></p>
<p>Allow localhost.localdomain is Firefox security:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/image16.png"><img style="display: inline; border-width: 0px;" title="image" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/image-thumb16.png" border="0" alt="image" width="465" height="423" /></a></p>
<p>and pop-ups:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/image17.png"><img style="display: inline; border-width: 0px;" title="image" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/image-thumb17.png" border="0" alt="image" width="468" height="425" /></a></p>
<p>To start R12 enter the URL:</p>
<p><a title="http://localhost.localdomain:8000/OA_HTML" href="http://localhost.localdomain:8000/OA_HTML">http://localhost.localdomain:8000/OA_HTML</a></p>
<p>And you get the login screen:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/screenshotloginmozillafirefox.png"><img style="display: inline; border-width: 0px;" title="Screenshot-Login - Mozilla Firefox" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/screenshotloginmozillafirefox-thumb.png" border="0" alt="Screenshot-Login - Mozilla Firefox" width="594" height="312" /></a></p>
<h3>Java</h3>
<p>Java is a must for R12. Check the version required when you have logged in to R12 and click a forms screen</p>
<p>In 12.0.4 it is 1.5.0.13:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/image18.png"><img style="display: inline; border-width: 0px;" title="image" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/image-thumb18.png" border="0" alt="image" width="477" height="89" /></a></p>
<p>Then install Java 1.5.0.13 to ensure you don’t get plug-in issues with R12. Get it from:</p>
<p><a title="http://java.sun.com/products/archive/j2se/5.0_13/index.html" href="http://java.sun.com/products/archive/j2se/5.0_13/index.html">http://java.sun.com/products/archive/j2se/5.0_13/index.html</a></p>
<p>As Firefox only supports one Java plug-in at any one time check the directory for plug-ins:</p>
<p>C:\ &gt; DIR “C:\Program Files\Mozilla Firefox\plugins”</p>
<p>Ensure you only have one Java plug-in here. If it is missing the do this:</p>
<p>C:\ &gt; copy C:\Program Files\Java\jre1.5.0_13\bin\NPJPI150_13.dll C:\Program Files\Mozilla Firefox\plugins</p>
<p>Restart Firefox and now everything should work.</p>
]]></content:encoded>
			<wfw:commentRss>http://ltd.kentw.co.uk/technical/r12-installation/r12-connect-using-virtualbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dell XPS M1530 and OEL 5.3</title>
		<link>http://ltd.kentw.co.uk/technical/r12-installation/dell-xps-m1530-and-oel-53/</link>
		<comments>http://ltd.kentw.co.uk/technical/r12-installation/dell-xps-m1530-and-oel-53/#comments</comments>
		<pubDate>Fri, 15 May 2009 20:31:42 +0000</pubDate>
		<dc:creator>Kent</dc:creator>
				<category><![CDATA[R12 Installation]]></category>
		<category><![CDATA[Dell XPS M1530]]></category>
		<category><![CDATA[Oracle Enterprise Linux]]></category>

		<guid isPermaLink="false">http://ltd.kentw.co.uk/oracle/technology/dell-xps-m1530-and-oel-53/</guid>
		<description><![CDATA[Well why make a post about this?
OEL does not seem to be a complete operating system &#8211; it feels like Linux 5 years ago with loads of drivers missing and command line fiddling.
One chapter for each part…
Graphics
This does work out of the box but the built in driver is not great and make the fan [...]]]></description>
			<content:encoded><![CDATA[<p>Well why make a post about this?</p>
<p>OEL does not seem to be a complete operating system &#8211; it feels like Linux 5 years ago with loads of drivers missing and command line fiddling.</p>
<p>One chapter for each part…</p>
<h3>Graphics</h3>
<p>This does work out of the box but the built in driver is not great and make the fan run at full all the time.</p>
<p>If you installed in Virtualbox then fix the graphics card by getting this driver:</p>
<p><a title="http://www.nvidia.com/object/linux_display_ia32_180.51.html" href="http://www.nvidia.com/object/linux_display_ia32_180.51.html">http://www.nvidia.com/object/linux_display_ia32_180.51.html</a></p>
<p>You have to install it outside X11 so issue this command:</p>
<p>$ init 3</p>
<p>To exit X11 and login to a command prompt.</p>
<p>Then run the Nvidia install script:</p>
<p>$ ./NVDIA*run</p>
<p>When done then:</p>
<p>$ init 5</p>
<p>To get X11 back.</p>
<h3>Network</h3>
<p>Should work. Ensure that \System\Administration\Network has a entry using Marvell network driver.</p>
<h3>Wireless</h3>
<p>I configured the network is two steps.</p>
<p>First ensure you got a wlan0 device in \System\Administration\Network in Devices and Hardware tab.</p>
<p>Next ensure you have define wlan security in \System\Preferences\More Preferences\Network Connections in Wireless tab.</p>
<p>After all this wireless still doesn’t work but try these two lines:</p>
<p>$ chkconfig NetworkManager on<br />
$ service NetworkManager start</p>
<p>This starts the wireless service and now it should work.</p>
<h3>Bluetooth</h3>
<p>Bluetooth does not work immediately &#8211; for some reason it does not detect any devices. You normally get this:</p>
<p>$ hcitool scan<br />
Scanning &#8230;<br />
Inquiry failed: Connection timed out</p>
<p>First reset Bluetooth to enable discovery:</p>
<p>$ hciconfig hci0 reset</p>
<p>If the Bluetooth does not discover after reboot try to add the reset to /etc/modprobe.con</p>
<p>options hci_usb reset=1</p>
<p>Then scan for any devices:</p>
<p>$ hcitool scan<br />
00:1D:D8:98:6F:23       Microsoft Bluetooth Notebook Mouse 5000</p>
<p>Bingo &#8211; things start to work now…</p>
<p>Next configure the security settings by editing /etc/bluetooth/hcid.conf and change to (in bold):</p>
<table border="1" cellspacing="0" cellpadding="2" width="600">
<tbody>
<tr>
<td width="598" valign="top"># HCId options<br />
options {<br />
# Automatically initialize new devices<br />
autoinit yes;</p>
<p># Security Manager mode<br />
#   none &#8211; Security manager disabled<br />
#   auto &#8211; Use local PIN for incoming connections<br />
#   user &#8211; Always ask user for a PIN<br />
#<br />
<strong>security</strong> <strong>auto</strong>;</p>
<p># Pairing mode<br />
#   none  &#8211; Pairing disabled<br />
#   multi &#8211; Allow pairing with already paired devices<br />
#   once  &#8211; Pair once and deny successive attempts<br />
pairing multi;</p>
<p># Default PIN code for incoming connections<br />
<strong>passkey</strong> <strong>&#8220;&#8221;</strong>;<br />
}</p>
<p><strong>device 00:1D:D8:98:6F:23  {<br />
name &#8220;Microsoft Bluetooth Notebook Mouse 5000&#8243;;<br />
}</strong></td>
</tr>
</tbody>
</table>
<p>Then ensure the Bluetooth manager discovers the device by editing /etc/default/bluetooth:</p>
<table border="1" cellspacing="0" cellpadding="2" width="600">
<tbody>
<tr>
<td width="598" valign="top"># Defaults for bluez</p>
<p># start bluetooth on boot?<br />
# compatibility note: If this variable is not found bluetooth will<br />
# start<br />
BLUETOOTH_ENABLED=1</p>
<p># This setting will switch HID devices (e.g mouse/keyboad) to HCI mode, that is<br />
# you will have bluetooth functionality from your dongle instead of only HID.<br />
# Note that not every bluetooth dongle is capable of switching back to HID<br />
# mode, see <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=355497">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=355497</a><br />
HID2HCI_ENABLED=1<br />
HID2HCI_UNDO=1<br />
HIDD_ENABLED=1<br />
HIDD_OPTIONS=&#8221;&#8211;connect 00:1D:D8:98:6F:23 &#8211;server&#8221;</td>
</tr>
</tbody>
</table>
<p>Then restart Bluetooth:</p>
<p>$ /etc/init.d/bluetooth restart</p>
<p>Connect to the new device using:</p>
<p>$ hidd &#8211;search<br />
Searching &#8230;<br />
Connecting to device 00:1D:D8:98:6F:23</p>
<p>And everything should work now!!!</p>
<p>At least my MS BT mouse did except for the scroll wheel.</p>
<h3>MS BT Mouse &#8211; Microsoft Bluetooth Notebook Mouse 5000</h3>
<p>First get the Bluetooth to work as above.</p>
<h3>Touchpad</h3>
<p>When touching my touchpad it is erratic.</p>
<p>First get hold of your input devices.</p>
<p>Probe the mouse devices using this command:</p>
<p>$ udevinfo -a -p `udevinfo -q path -n /dev/input/mouse1`</p>
<p>And change the mouse# until you get an output like:</p>
<table border="1" cellspacing="0" cellpadding="2" width="600">
<tbody>
<tr>
<td width="600" valign="top">looking at device &#8216;/class/input/input2/mouse1&#8242;:<br />
KERNEL==&#8221;mouse1&#8243;<br />
SUBSYSTEM==&#8221;input&#8221;<br />
SYSFS{dev}==&#8221;13:33&#8243;</p>
<p>looking at parent device &#8216;/class/input/input2&#8242;:<br />
ID==&#8221;input2&#8243;<br />
BUS==&#8221;input&#8221;<br />
DRIVER==&#8221;"<br />
SYSFS{modalias}==&#8221;input:b0011v0002p0008e7321-e0,1,2,3,k110,111,112,145,14A,r0,1,a0,1,18,mlsfw&#8221;<br />
SYSFS{uniq}==&#8221;"<br />
SYSFS{phys}==&#8221;isa0060/serio1/input0&#8243;<br />
SYSFS{name}==&#8221;AlpsPS/2 ALPS GlidePoint&#8221;</td>
</tr>
</tbody>
</table>
<p>The ALPS is your touchpad.</p>
<p>Update your /etc/X11/xorg.conf to include mouse1:</p>
<table border="1" cellspacing="0" cellpadding="2" width="600">
<tbody>
<tr>
<td width="600" valign="top">…Section &#8220;ServerLayout&#8221;<br />
Identifier     &#8220;single head configuration&#8221;<br />
Screen      0  &#8220;Screen0&#8243; 0 0<br />
InputDevice    &#8220;Mouse0&#8243; &#8220;CorePointer&#8221;<br />
InputDevice    &#8220;Mouse1&#8243; &#8220;SendCoreEvents&#8221;<br />
InputDevice    &#8220;Keyboard0&#8243; &#8220;CoreKeyboard&#8221;<br />
EndSection</p>
<p>Section &#8220;InputDevice&#8221;<br />
# KWI: Synaptics<br />
Identifier     &#8220;Mouse1&#8243;<br />
Driver         &#8220;synaptics&#8221;<br />
Option         &#8220;Protocol&#8221; &#8220;auto-dev&#8221;<br />
Option         &#8220;Device&#8221; &#8220;/dev/input/mice&#8221;<br />
Option         &#8220;SendCoreEvents&#8221; &#8220;true&#8221;<br />
Option &#8220;LeftEdge&#8221; &#8220;120&#8243;<br />
Option &#8220;RightEdge&#8221; &#8220;830&#8243;<br />
Option &#8220;TopEdge&#8221; &#8220;120&#8243;<br />
Option &#8220;BottomEdge&#8221; &#8220;650&#8243;<br />
Option &#8220;FingerLow&#8221; &#8220;14&#8243;<br />
Option &#8220;FingerHigh&#8221; &#8220;15&#8243;<br />
Option &#8220;MaxTapTime&#8221; &#8220;180&#8243;<br />
Option &#8220;MaxTapMove&#8221; &#8220;110&#8243;<br />
Option &#8220;ClickTime&#8221; &#8220;0&#8243;<br />
Option &#8220;EmulateMidButtonTime&#8221; &#8220;75&#8243;<br />
Option &#8220;VertScrollDelta&#8221; &#8220;10&#8243;<br />
Option &#8220;HorizScrollDelta&#8221; &#8220;0&#8243;<br />
Option &#8220;MinSpeed&#8221; &#8220;0.45&#8243;<br />
Option &#8220;MaxSpeed&#8221; &#8220;0.75&#8243;<br />
Option &#8220;AccelFactor&#8221; &#8220;0.020&#8243;<br />
Option &#8220;EdgeMotionMinSpeed&#8221; &#8220;200&#8243;<br />
Option &#8220;EdgeMotionMaxSpeed&#8221; &#8220;200&#8243;<br />
Option &#8220;UpDownScrolling&#8221; &#8220;1&#8243;<br />
Option &#8220;CircularScrolling&#8221; &#8220;0&#8243;<br />
Option &#8220;SHMConfig&#8221; &#8220;true&#8221;<br />
EndSection</td>
</tr>
</tbody>
</table>
<p>Now we need to fix the erratic behaviour.</p>
<p>Edit /boot/grub/menu.lst and include “i8042.nomux=1” when starting Linux:</p>
<table border="1" cellspacing="0" cellpadding="2" width="600">
<tbody>
<tr>
<td width="600" valign="top"># grub.conf generated by anaconda<br />
#<br />
# Note that you do not have to rerun grub after making changes to this file<br />
# NOTICE:  You do not have a /boot partition.  This means that<br />
#          all kernel and initrd paths are relative to /, eg.<br />
#          root (hd0,0)<br />
#          kernel /boot/vmlinuz-version ro root=/dev/sda1<br />
#          initrd /boot/initrd-version.img<br />
#boot=/dev/sda<br />
default=0<br />
timeout=5<br />
splashimage=(hd0,0)/boot/grub/splash.xpm.gz<br />
hiddenmenu<br />
title Enterprise Linux (2.6.18-128.el5)<br />
root (hd0,0)<br />
kernel /boot/vmlinuz-2.6.18-128.el5 ro root=LABEL=/ rhgb quiet <strong>i8042.nomux=1<br />
</strong> initrd /boot/initrd-2.6.18-128.el5.img</td>
</tr>
</tbody>
</table>
<p>Reboot and the touchpad should work now.</p>
]]></content:encoded>
			<wfw:commentRss>http://ltd.kentw.co.uk/technical/r12-installation/dell-xps-m1530-and-oel-53/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

