Wednesday, April 25, 2012

JDeveloper Startup Error: Unable to create an instance of Java Virtual Machine



Faced this error the other day while starting Oracle JDev 11g (known to happen across JDEv versions) and may appear suddenly even after you have already used the same it several times.
Solution:
In order to fix this go to <Install_Directoy>\Middleware\JDeveloper\jdev\bin folder
and edit file "jdev.conf

Locate the line "AddVMOption -XX:MaxPermSize=256M" in the file and add another line just below this line:

AddVMOption -Xmx256M
  
[ Additionally, you may also want to increase the IDE JVM memory allocation by modifying the file "ide.conf" located at <Install_Directoy>\Middleware\jdeveloper\ide\bin folder.
Locate and edit the VMOption parameters to increase the Xmx to 1024M and Xms to 256 or 512M
#
AddVMOption  -Xmx1024M
AddVMOption  -Xms256M ]


Monday, January 9, 2012

SOA10g: BPEL Process going into Active "Off " State / Inactive /Dead state automatically

Scenario:
    BPEL process with DB Adapter for Polling operation.
    Deployed successfully but upon deployment goes into "OFF" process state by default.
    Changing the Process State to ON --> Apply , doesnot affects or changes back to OFF state automatically.

Cause: DB Adapter is unable to read from the table or is unable to send the data to the BPEL instance.

Solution Steps:
By checking the following you should be able to locate the problem and resolve it:
   1. Connectivity details : if not using adapter mcf.properties check the data store, managed DB pool entries for erroneous connectivity details
   2. Table structure changes : even though there was a change and then reverted back to original, problem may persist
   3. Primary or Mandatory field data missing:
   4. Stale/older version of same process exists  --> search and un-deploy the redundant process

Tuesday, November 22, 2011

Obligatory Introductory Post:: Why and what should you expect

Finally its done.
At long last I have gone and created a blog of my own -at least for now it has a name and URL of its own. :) :)


first this is a technical blog (as if the name was not enough )
meant to post and discuss my learning in the field of service oriented architecture (focusing primarily on Oracle SOA Suite and Fusion MW).

This is a reflection of my celebrations and frustrations while learning, using and trying to unravel the nuances of Oracle' s SOA Suite and its related technologies. I will try to log the many issues faced by me and the little tricks  n tips which made all the difference; between what Oracle's user guides claim "will work" and what actually does work.

Disclaimer: Please note that I don't claim to post facts totally-originally-discovered by me. Its more what an  engineer does. Pick up the good already-working pieces - custom-fit it into your solution :) - or else if that does not work get inspired from them and build your own solution!

This blog is aimed at accompanying people in their trials and tribulations of working with Oracle SOA Suite  and related technologies and help them find a solution to the issues and surprises that this product tends to spring from time to time upon its hapless developers.

Warm Regards and Best of Luck!