Posts

Showing posts from January 17, 2010

How to Deploy BPEL process using ANT Script on UNIX server.

1) Set ANT_HOME, BPEL_HOME,ORACLE_HOME 2) Copy BPEL Artifacts to the location of app server 3) Edit ant-orabpel.properties in ($BPEL_HOME/utilities) and provide the domainname under which deployment has to be made and the revision no. (BPEL control revision no.) Change domain = domainname rev =0.12.6.0 Note : Make sure that there is no space after domainname and rev(revision no.) 4) Go to Copied BPEL Folder and to the sub-directory where the “build.xml” is present. 5) Execute ant $ant deployProcess: [echo] [echo] -------------------------------------------------------------- [echo] Deploying bpel process Xyz on hostname, port 7777 [echo] -------------------------------------------------------------- [echo] [deployProcess] Deploying process /u03/app/BPEL/Xyz/output/bpel_Xyz_0.12.6.0.jar [deployProcess] Successfully deployed the process "Xyz" on server "hostname" and port "7777" deployTaskForm: [echo] [echo] ----------------

To Create Web URL (interface) for accessing logs using Apache

1) Create a folder logs in following location :- /opt/hpws/apache/htdocs drwxrwxrwx 7 root sys 8192 Jun 1 2009 logs bash-3.2$ pwd /opt/hpws/apache/htdocs 2) Create folders in logs :- apachelogs opmnlogs bash-3.2$ ls -ltr total 32 drwxrwxrwx 2 root sys 96 Feb 12 2009 opmnlogs drwxrwxrwx 2 root sys 96 Feb 12 2009 apachelogs Note :- a) Replace “/u03/app/home” with ORACLE HOME PATH b) Use this command to make a soft link :- ln –s logs /u03/app/home/opmn/logs 3) Go to opmnlogs :- Create a folder logs and create a soft link like below:- bash-3.2$ ls -ltr total 0 lrwx------ 1 root sys 26 Feb 12 2009 logs -> /u03/app/home/opmn/logs 4) Go to apachelogs :- Create a folder logs and create a soft link like below:- bash-3.2$ cd apachelogs/ bash-3.2$ ls -ltr total 0 lrwx------ 1 root sys 35 Feb 12 2009 logs -> /u03/app/home/Apache/Apache/logs bash-3.2$ 5) Restart apache server ./apachectl stop ./apachectl start