Getting JDK from Oracle using curl

I forget stuff.  Found this on gist.

curl -L -b “oraclelicense=a” -O

Check the website for the correct url path, but this should get you the idk you always wanted.  This should work for other stuff on otn, but no promises.🙂



Oracle Public Cloud – Oracle Service Bus – Opening up a network port for the Service Proxy

This is a brief article on using the Oracle Service Bus capability of SOACS in the Oracle Public Cloud.  If you want to try it out, go ahead and ask for a public trial.  SOACS comes as part of the JCS Trial environment.

Continue reading

Oracle EBS 12.2.4 Single Node on VirtualBox – Getting the Binaries

Installing EBS 12.2.3 Vision on Virtualbox using pre-built VM appliance (on a Windows host) | Srini Chavali’s Blog

This is a great blog from Srini Chavali on the Oracle PM team on installing EBS on VirtualBox.  The issue that I have had is that it shows the old E-Delivery Site.😦

Here is a link to his blog.

My screen shots will show you the "new and improved" EDelivery site and then unpackng with the "Assembly" tool on my Mac

Oracle Software Delivery Cloud

Select the product.

You can de-select "Programs" and have only Linux/OVM/VMs

Click through

Click through

Accept Terms and Restrictions

Download the Binaries (16 Files Total)

This is not so obvious on which files to select.

Select the following:



Login into

You need to follow the MOS Notes from Srini’s Blog.

On MacOS EBS1224 — unzip ◂ — 80×53

On MacOS EBS1224 — unzip ◂ — 80×53

Oracle Java Cloud Service Make a MultiVM DataGrid with One Call – Run this from your Firefox REST Client or cURL

We have all read about AWS instance creation and saving steps….;-)
This single REST call makes a scale out datagrid in one call. (Well you do need a DB instance and storage container in place…ok. three calls and some patience).



Authorization:  {hash of username and password}

BODY (You can also put this in a create.json file):
"serviceName" : "fmw02",
"level" : "PAAS",
"subscriptionType" : "MONTHLY",
"description" : "DevOps and Coherence Demo",
"provisionOTD" : false,
"cloudStorageUser" : “YOUR_USER_ID",
"cloudStoragePassword" : “YOUR_IDENTITY_DOMAIN_PASSWORD",
"sampleAppDeploymentRequests" : false,
"parameters" : [
"type" : "weblogic",
"version" : "",
"edition" : "SUITE",
"domainMode" : "PRODUCTION",
"managedServerCount" : "2",
"adminPort" : "7001",
"deploymentChannelPort" : "9001",
"securedAdminPort" : "7002",
"contentPort" : "8001",
"securedContentPort" : "8002",
"domainName" : "fmw02",
"clusterName" : "FMW02_Cluster",
"adminUserName" : "weblogic",
"adminPassword" : "Welcome_111",
"nodeManagerPort" : "6555",
"nodeManagerUserName" : "nodeMangerAdmin",
"nodeManagerPassword" : "Welcome_111",
"dbServiceName" : “YOUR_DBSERVICE",
"dbaName" : "SYS",
"dbaPassword" : “YOUR_DBPASSWORD",
"shape" : "oc3",
"VMsPublicKey" : "ssh-rsa YOUR SSH KEY"
"type" : "datagrid",
"scalingUnitCount" : "1",
"clusterName" : "CoherenceDGCluster",
"scalingUnit" :
"shape" : "oc3",
"vmCount" : "1",
"heapSize" : "4G",
"jvmCount" : "1"

If you want to avoid the REST Client then do this:

curl -i -X POST -u YOU@ORACLE.COM:YOUR_ACCOUNT_PASSWORD -d @create.json -H "Content-Type:application/" -H "X-ID-TENANT-NAME:YOUR_IDENITY_DOMAIN"
Have fun..
Tagged ,

How to use Selenium with Oracle Developer Cloud Service

Colleague of mine wrote about how he used Oracle Developer Cloud Service configuring Selenium tests.

First he set the below screenshot variables in the hudson job configuration.


Next , in the selenium java test case , he set the proxy with below code.

String PROXY = “″;
org.openqa.selenium.Proxy proxy = new org.openqa.selenium.Proxy();
DesiredCapabilities cap = new DesiredCapabilities();
cap.setCapability(CapabilityType.PROXY, proxy);

Last, executed the test with Maven 3 with the selenium dependencies included.


Tagged ,

Oracle OEPE 12.1.3 – Crashes with Oracle Linux 6.5

The error message is:
eclipse: cairo-misc.c:380: _cairo_operator_bounded_by_source: Assertion `NOT_REACHED’ failed.”

I found this also seems to be the case with Centos as well:

Found the solution here:

Work around is “-Dorg.eclipse.swt.internal.gtk.cairoGraphics=false” to eclipse.ini.

Oracle Database 12c Modifications from Vagrant – Getting EM to work

I published a blog on installing a 12c database with vagrant a few weeks back. I just want to update some slight modifications that might be useful for you and help me remember as well.

As oracle user nano .bash_profile in the /home/oracle directory.


You can then source the .bash_profile and add the ORACLE_SID and then export ORACLE_SID.  Connect to the database:

sqlplus / as sysdba

Password = oracle

This allows you to run the following commands to get em working from your desktop machine.

SQL> show parameters dispatchers;

Which should show:


———————————— ———– ——————————

dispatchers     string (PROTOCOL=TCP) (SERVICE=db1210


max_dispatchers      integer

SQL> select dbms_xdb_config.gethttpsport () from dual;

Which should show:




SQL> exec dbms_xdb_config.sethttpsport(5502);

PL/SQL procedure successfully completed.

SQL> commit;

SQL> select dbms_xdb_config.gethttpsport () from dual;




From your desktop


Vagrant 1.7 in GUI Mode with VirtualBox

Came across a Vagrant issue where the VM boots up in GUI Mode ( vb.gui=true ) and the host wouldn’t connect via ssh.  Vagrant would retry until the connection failed.  The GUI would come-up of the box.

The answer I found was login into the GUI console

run as root “dhclient”

Man on dhclient

Answer from here:


Oracle Database install with Vagrant on Centos 6.5 (Jellema and Biemond)

Lucas Jellema writes the following in August 2014.

Based upon Edwon Biemonds work:

This leverages Edwin Biemonds repos’s so bug fixes might be there.  The only issue I had was taking out the X libraries in db.pp in the manifests directory.

===> ‘libXext’ and ‘libXtst’

These are not needed anymore.

Total install time after downloading binaries from Oracle.

==> db12102: Notice: Finished catalog run in 1376.77 seconds or 22 Minutes.

Not bad!

Tagged ,

VirtualBox on Mac Nit with Cisco VPN

I have to use Cisco VPN to log into the corporate network.  This causes me to lose connectivity to my VBox guest via the host only adapter (vboxnet0).  This is expected.  However, once I logoff the VPN, I am unable to ping the adapter.  In my case, the adapter for this guest is assigned ip address The simple solution is to Log into Terminal and refresh the interface…so you don’t have to reboot.

sudo ifconfig vboxnet0 down
sudo ifconfig vboxnet0 up

Probably should write an Automater script for that…something like

do shell script "sudo ifconfig vboxnet0 down" with administrator privileges

Ahh better.


Get every new post delivered to your Inbox.