<?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; Java</title>
	<atom:link href="http://ltd.kentw.co.uk/tag/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://ltd.kentw.co.uk</link>
	<description>Appsblog 2.1</description>
	<lastBuildDate>Mon, 07 Jun 2010 19:55:31 +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 &#8211; Virtualbox Connection</title>
		<link>http://ltd.kentw.co.uk/technical/r12-connect-using-virtualbox/</link>
		<comments>http://ltd.kentw.co.uk/technical/r12-connect-using-virtualbox/#comments</comments>
		<pubDate>Mon, 18 May 2009 09:38:14 +0000</pubDate>
		<dc:creator>Kent</dc:creator>
				<category><![CDATA[Technical]]></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>&#160;<a href="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/screenshotvirtualboxsettings1.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px" title="Screenshot-VirtualBox - Settings" border="0" alt="Screenshot-VirtualBox - Settings" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/screenshotvirtualboxsettings-thumb1.png" 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="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Screenshot-Host-only Network Details" border="0" alt="Screenshot-Host-only Network Details" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/screenshothostonlynetworkdetails-thumb.png" width="398" height="226" /></a>&#160;</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="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Screenshot-Host-only Network Details - dhcp" border="0" alt="Screenshot-Host-only Network Details - dhcp" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/screenshothostonlynetworkdetailsdhcp-thumb.png" 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="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Screenshot-ping" border="0" alt="Screenshot-ping" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/screenshotping-thumb.png" 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="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Screenshot-Virtual Media Manager" border="0" alt="Screenshot-Virtual Media Manager" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/screenshotvirtualmediamanager-thumb.png" width="457" height="355" /></a>&#160;</p>
<p>You get it from here:</p>
<p>&#160;</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="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Screenshot-Windows 7 - Settings" border="0" alt="Screenshot-Windows 7 - Settings" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/screenshotwindows7settings-thumb.png" 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="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/2009/05/image-thumb13.png" 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="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/2009/05/image-thumb14.png" 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="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/2009/05/image-thumb15.png" 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="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/2009/05/image-thumb16.png" 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="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/2009/05/image-thumb17.png" 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="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Screenshot-Login - Mozilla Firefox" border="0" alt="Screenshot-Login - Mozilla Firefox" src="http://ltd.kentw.co.uk/wp-content/uploads/2009/05/screenshotloginmozillafirefox-thumb.png" 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="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/2009/05/image-thumb18.png" 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-connect-using-virtualbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>R12 &#8211; Firefox and Java</title>
		<link>http://ltd.kentw.co.uk/technical/r12-firefox-and-java/</link>
		<comments>http://ltd.kentw.co.uk/technical/r12-firefox-and-java/#comments</comments>
		<pubDate>Fri, 08 May 2009 11:33:00 +0000</pubDate>
		<dc:creator>Kent</dc:creator>
				<category><![CDATA[Technical]]></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>

		<guid isPermaLink="false">http://ltd.kentw.co.uk/technical/r12-firefox-and-java/</guid>
		<description><![CDATA[I recommend you to start with this article to get R12 up and running.
Firefox
Firefox 3 does not work with R12. I could get forms to work however framework pages had problems with buttons. So install Firefox 2 instead.
Java Plug-in
For R12.0.4 on OEL desktop you want to use JRE 1.5.0.13 otherwise you have to fiddle with [...]]]></description>
			<content:encoded><![CDATA[<p>I recommend you to start with <a href="http://ltd.kentw.co.uk/technical/r12-vis-installation/" target="_blank">this article</a> to get R12 up and running.</p>
<h3>Firefox</h3>
<p>Firefox 3 does not work with R12. I could get forms to work however framework pages had problems with buttons. So install Firefox 2 instead.</p>
<h3>Java Plug-in</h3>
<p>For R12.0.4 on OEL desktop you want to use JRE 1.5.0.13 otherwise you have to fiddle with the context file.</p>
<p>You can always connect to the EBS from Windows but you want to test if the EBS stack works at all first.</p>
<p>I tried and could not get it to work in Linux with any other JRE version.</p>
<p>Download Java plug-in JRE 1.5.0.13 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" target="_blank">http://java.sun.com/products/archive/j2se/5.0_13/index.html</a></p>
<h3>For Linux</h3>
<p>Install JRE using this script (java.sh):</p>
<table border="1" cellspacing="0" cellpadding="0" width="600">
<tbody>
<tr>
<td valign="top" width="600">
<p><font size="1" face="Courier New"></font></p>
<p><font size="1" face="Courier New">#!/bin/bash              <br />SOURCE=/oracle/install/jre               <br />JAVA=/usr/java               <br />DIR=jre1.5.0_13               <br />PLUGIN=libjavaplugin_oji.so               <br />if [ ! -d $JAVA/$DIR ] #check if already installed               <br />then               <br />&#160;&#160;&#160; if [ ! -d $DIR ] #check if already unpacked               <br />&#160;&#160;&#160; then               <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $SOURCE/jre-1_5_0_13-linux-i586.bin               <br />&#160;&#160;&#160; fi               <br />fi               <br />if [ ! -d $JAVA/$DIR ] #check if already installed               <br />then               <br />&#160;&#160;&#160; mv $DIR $JAVA               <br />fi               <br />if [ -d $JAVA/$DIR ] #check if already installed               <br />then               <br />&#160;&#160;&#160; rm -f /usr/lib/mozilla/plugins/$PLUGIN #remove plugin               <br />&#160;&#160;&#160; ln -s $JAVA/$DIR/plugin/i386/ns7/$PLUGIN /usr/lib/mozilla/plugins #recreate plugin link               <br />fi</font></p>
</td>
</tr>
</tbody>
</table>
<p>The script is using the plugin in …/ns7/… otherwise Firefox will regularly crash especially “manage addons” in preferences.</p>
<h3>For WindowsXP</h3>
<p>First ensure no NP* plug-in files exist in C:\Program Files\Mozilla Firefox\plugins:</p>
<p>$ del C:\Program Files\Mozilla Firefox\plugins\NP*</p>
<p>Manually copy the correct java version plug-in to the Mozilla plug-in:</p>
<p>$ copy C:\Program Files\Java\jre1.5.0_13\bin\NP* C:\Program Files\Mozilla Firefox\plugins</p>
<p>In case you have more than one version of java installed you may need to disable Mozilla Java plugin scan.</p>
<p>Enter the URL: about:config like this:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2009/08/image.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/2009/08/image_thumb.png" width="243" height="117" /></a></p>
<p>In the filer box enter JRE and you will get:</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2009/08/image1.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/2009/08/image_thumb1.png" width="512" height="76" /></a></p>
<p>Double click on the value and update to 1.9 which is a java version that does not exist yet and hence essentially disables the java plug-in scan.</p>
<p><a href="http://ltd.kentw.co.uk/wp-content/uploads/2009/08/image2.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/2009/08/image_thumb2.png" width="244" height="113" /></a></p>
<p>Close and restart the browser and now 1.5.13 should always be the default.</p>
<h3>Connect</h3>
<p>Enter the following URL in Firefox to connect to EBS</p>
<p><a href="http://localhost.localdomain:8000/OA_HTML/AppsLogin" target="_blank">http://localhost.localdomain:8000/OA_HTML/AppsLogin</a></p>
<p>Login as SYSADMIN and password SYSADMIN</p>
]]></content:encoded>
			<wfw:commentRss>http://ltd.kentw.co.uk/technical/r12-firefox-and-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
