Posts

Showing posts with the label SOA

How to change the port of soa server offline

Start the WLST /data/app/oracle/Middleware/wlserver_10.3/common/bin/wlst.sh Run the following command readDomain("/data/app/oracle/Middleware/user_projects/domains/soa_domain") cd("Servers/AdminServer") cmo.setListenPort(7002) updateDomain()

Custom character set in Oracle B2B

Image
To add a custom character set in B2B follow the steps: 1. In Oracle B2B Document Editor, click Tools > Character Set Registry. In the Character Set Registry window, select the character set you want to duplicate. 2. Click the Duplicate icon, or Right click and Duplicate. 3. In the Duplicate Character Set Properties window, accept the defaults and add any other characters at the end of the Charset blank; then click OK. 4. Right click on the Custom Character Set and click the Export icon. Name the file CUST.cs and save it. 5. Copy CUST.cs to SOA_HOME\soa\thirdparty\edifecs\XEngine\config\charsets 6. Edit SOA_HOME\soa\thirdparty\edifecs\Common\Modules\XEngine.dat and add the entry File=XEngine\config\charsets\CUST.cs 7. Restart the SOA server.

Change the default heap size of JRockit JVM

To change the default heap size go to your <WebLogic Home>\user_projects\domains\soa_domain\bin\setSOADomainEnv.sh or .cmd and modify the values of PORT_MEM_ARGS=-Xms768m –Xmx1536m. By default it looks like set PORT_MEM_ARGS=-Xms768m -Xmx1536m I have modified it to set PORT_MEM_ARGS=-Xms6144m -Xmx6144m –Xns2048m -Xms sets the initial size of the heap. For SOA, its recommend to set it to the same size as the maximum heap size -Xmx sets the maximum size of the heap. -Xns sets the size of the young generation (nursery) in generational concurrent (-Xgc: gencon ) and generational copying garbage collectors (-Xgc: gencopy ) If the nursery size ( -Xns ) has not been set the default size depends on the type of garbage collector and the number of CPUs: For the generational copying garbage collector (-Xgc: gencopy ) the default nursery size is 320 KB per CPU; for example, the default for a ten CPU system using gencopy would be 3200 KB (3.2 MB). For the generati...

Moving database dbf files

I was recently creating a database VM (Oracle Linux 6 Update 3 on Oracle VM) on my laptop and encountered this issue. I have created a Virtual Disk for the database of 12 GB size and when I tried to install my schema using RCU I ran out of space. Solution was to create another Virtual Disk and move the database data files (.dbf) to this new drive. After few google search and looking at the blogs these are the steps I followed: Login to the database sqlplus / as sysdba Get the data file location  select file_name from dba_data_files; Shutdown the database shutdown immediate Shutdown the listener lsnrctl stop Shutdown the VM Guest OS. Created a new Virtual Disk of 20 GB. Start the Guest OS. Mount the drive. My mount point is u02. Move the dbf files under oradata/SID folder to the new disk. You will find the oradata folder under your Oracle home. E.g. move DEV_soainfra.dbf from /u01/app/oradata/soa to /u02/app/oradata. Start the database using command startup mount...