Monday, December 22, 2014

some solution to increase jdeveloper and integrated weblogic performance

Go to your JDeveloper root directory, is should be something like
     C:\Oracle\jdev\Middleware\jdeveloper

1- Open the file ide\bin\ide.conf, scroll down to the default memory settings:
                 AddVMOption -Xms128M
                 AddVMOption -Xmx768M

Boost the memory to something larger, like so:
        AddVMOption -Xms1024M
        AddVMOption -Xmx1024M


2- Open the file jdev\bin\jdev.conf
Add the following config settings:
        # optimize the JVM for strings / text editing
        AddVMOption -XX:+UseStringCache
        AddVMOption -XX:+OptimizeStringConcat
        AddVMOption -XX:+UseCompressedStrings

 # if on a 64-bit system, but using less than 32 GB RAM, this reduces object pointer memory size
        AddVMOption -XX:+UseCompressedOops

        # use an aggressive garbage collector (constant small collections)
        AddVMOption -XX:+AggressiveOpts

 # for multi-core machines, use multiple threads to create objects and reduce pause times
        AddVMOption -XX:+UseConcMarkSweepGC
         AddVMOption -DVFS_ENABLE=true      AddVMOption -Dsun.java2d.ddoffscreen=false      AddVMOption -XX:+UseParNewGC      AddVMOption -XX:+CMSIncrementalMode     AddVMOption -XX:+CMSIncrementalPacing     AddVMOption -XX:CMSIncrementalDutyCycleMin=0     AddVMOption -XX:CMSIncrementalDutyCycle=10
Then restart JDeveloper... If it doesn't start, you'll need to reduce the amount of memory allocate in the ide.conf 

to increase heap size of the integrated weblogic server

go to 

%APPDATA%\JDeveloper\system11.*****/DefaultDomain/bin
then edit setDomainEnv.cmd

change the following parameter depend on if you are using Jdk or jrocket

#if you are using jdk 

set XMS_SUN_64BIT=2048
set XMX_SUN_64BIT=4096

#if you are using 32 bit

set XMS_SUN_32BIT=1024
set XMX_SUN_32BIT=1024


if you are using jrocket

set XMS_JROCKIT_64BIT=2048
set XMX_JROCKIT_64BIT=4096

#32bit

set XMS_JROCKIT_32BIT=1024
set XMX_JROCKIT_32BIT=1024
 



Preparing Oracle ADF application to run on High Availability Architecure

i found a good topic that explain high availability  architecture  and how to prepare the application to run in that architecture here is the link

Running Adf Application on High Availability architecure

Monday, May 19, 2014

Installing SOA & BPM

i found a topic in a blog that explain how to install oracle SOA and BPM  with  screenshots to make it easy for you and below is the link
Click here to go to the topic

Tuesday, April 8, 2014

(ADF&BPM ) how to convert variable in HumanTask to DataBase Driven List of Values

If you are working in BPM Project and Want to customize UI of the generated HumanTask to convert variable in the Data object to be Database Driven List (ex: selectOneChoice)

Then you find the following Post Useful to You

ADF Using a Database Driven List of Values to Populate a BPM Variable

Monday, April 7, 2014

How to fix msg=ORA-01882: timezone region not found

After Greeting,

lets starts

1. Go Tools > Project Properties then 

2. (Project Properties) open select Run/Debug/Profile > in right you will see Default > Double click here or click Edit 
3. (Edit run configuration) select Launch Settings > in 'Java option' text item past this line -Duser.timezone="+02:00"    you can replace the timezone with your own one
4.close and re-open JDeveloper 
5. Run entire project 

deploy and try

 if it didn't work lets try the second solution 

 change the timezone region of your weblogic server

Go to the bin directory in your domain directory

for me it's located in C:\Oracle\Middleware\user_projects\domains\"mydomain"\bin\

Edit setDomainEnv.cmd

scroll untill you find

EXTRA_JAVA_PARAMETERS

Add -Duser.timezone="+02:00" 

you can replace the timezone with your own one

save file and restart weblogic server 

try and give me the feedback 

thanks,