Search This Blog

Tuesday, October 11, 2011

HTTP Proxy Server Settings for the SOA/Weblogic Server

 

Set the following env variables before staring the SOA Server ,

On Unix

export JAVA_OPTIONS="-Dhttp.proxySet=true -Dhttp.proxyHost=www-proxy.xxx.xxx.com  -Dhttp.proxyPort=80  -Dhttp.nonProxyHosts=localhost.localdomain|127.0.0.1|localhost|*.idc.oracle.com"  

On Windows

On Unix

set JAVA_OPTIONS="-Dhttp.proxySet=true -Dhttp.proxyHost=www-proxy.xx.xx.com  -Dhttp.proxyPort=80  -Dhttp.nonProxyHosts=localhost.localdomain|127.0.0.1|localhost|*.idc.oracle.com"  

 

After this start the WebLogic Server.

Tuesday, October 04, 2011

BPEL Example of Inserting to Array

 

I have the following XSD Element ,

Basically this structure stores the name and address (multiple values) , state , country and pincode etc ,
My requirement is to add the data to this element from a BPEL process ,

<complexType>
     <sequence>
  <element name="fullname" type="string"/>       
          <element name="addrline" type="string" maxOccurs="unbounded"/>
                <element name="state" type="string"/>
        <element name="country" type="string"/>
        <element name="zip" type="string"/>
            </sequence>
  </complexType>

Create a simple BPEL process , and for the output select the above XSD element , in the BPEL

 


























Near Dairy Circle




Next to Christ University




Bannerghata Road







How to start the VM in Single user mode in Oracle VM 2.2/3.0/XEN

 

Add the following line to the end of the file vm.cfg file ,

extra = 'single'

to the xen domU config file

After this start the VM using the command ,

xm create vm.cfg

This will start the VM in single user mode.

How to Run the Oracle VM 2.2 Images on Oracle VM 3.0 With out the Oracle VM Manager

 

I am having problems with the Oracle VM manager 3.0 as it needs 6GB machine to run in my home. Here is the procedure I followed to run the Oracle VM 2.2 images on Oracle VM 3.0.

 

1. You need to set the Bridged Networking on Oracle VM 3.0

open the file

vi /etc/xen/xend-config.sxp

Uncomment the following line , (Line no 163)

(network-script network-bridge)

And also ensure that you have the following line uncommented (line 178)

(vif-script vif-bridge)

After this restart the Oracle VM Server

Run the command ,

brctl show  (This displays the following , )

bridge name     bridge id               STP enabled     interfaces
bond0           8000.0021918b3e8a       no              pbond0

In the linux guest vm I have the following line ,

vfb = ['type=vnc,vncunused=1,vnclisten=0.0.0.0']
vif = ['type=netfront']

In the Windows Guest OS I have the following line ,

vif = ['bridge=bond0,mac=00:16:3E:26:BE:CE,type=ioemu']

Start the VM’s manually using the command

xm create vm.cfg