Installation of JCAPS 5.1.3 for SAW(Simple API for workflow) Testing

The Homepage Simple API for workflow open source project is at the following location :

To Test these SAW API's, installation of JCAPS 5.1.2/5.1.3 is a pre-requisite. This entry deals with step-by-step process to install JCAPS on Windows XP.

1.Unzip Repository CD1 and CD2

2.Run install.bat from the unzipped Repository CD1

3.Select defaults. Make sure ports are not conflicting

4.It will create “repository” folder

5.From repository folder run startserver.bat

6.Access the repository (http://localhost:12000/eManager) Login with necessary credentials

7.Go to Administration and Install Products eGate.sar (once you upload this sar file, one can see the product list. Now you can start installing the required sar files mentioned below in the same way as eGate.sar)

  • Logicalhost-win32
  • ldapeWay.sar
  • FileeWay.sar
  • eInsight.sar
  • eVision.sar
  • Enterprise-Manager-win32.sar
 14.Go to downloads Tab of the repository (ie http://localhost:12000/eManager)
  • Download
  • Unzip
  • createdomain.bat
  • start_domain1.bat

15. Download Enterprise Designer(

  • runed.bat, this will open the edesigner page. Then click on Tools -> update manager ->select all install -> restart the ide

16. Download Workflow Service API (

  • Unzip
  • Go to WLM-API-JDK14 directory.
  • Unjar WorkflowService.jar (jar -xvf WorkflowService.jar)
  • Change the dbType=oracle, userId=wlm51, password=wlm51 in in the directory \\WLM-API-JDK14\\com\\stc\\bpms\\wlm\\
  • jar it again using jar -cvf WorkflowService.jar \*
  • Deploy it on the integration server http://localhost:18000/asadmin -> Applications -> EJB Modules -> Deploy

 17.Install the open ldap in C: and start the slapd.exe (ldap_install_dir/bin/slapd.exe)

18.Install Oracle 10G. Login using Oracle utility sql plus . Enter Login/password (ex: system/<password>) .

19. Login to e-designer(by running runed.bat) -> project Explorer -> Sun seebeyond -> eInsight -> WorkListViewer -> Database scripts -> oracle install script. Copy the contents of this file and paste it onto the sqlplus terminal so that wlm51/wlm51 user is created in the database and all the corresponding tables are created.


Human Workflow Creation using JCAPS 5.1.3 :

  1. JCAPS Workflow Engine is installed and a workflow is defined. Please go through the following link to define a workflow


Creation of Stubs :

<Logical host installdir>\\is\\bin>isadmin get-client-stubs --user Administrator --password <password> --appname WorkflowService "D:\\JavaCAPS51\\stubs"

The stubs(WorkflowServiceClient.jar) will be created under “D:\\JavaCAPS51\\stubs” directory.






Sharing a interesting case here within w.r.t JCAPS, which siddesh resolved for me :) Thanks siddesh for your JCAPS expertise !

Outcome of my comment: (please feel free to correct me :)
I think there is a limitation for JCAPS(as with JCAPS 5.1.3) that a JCAPS server will "only and always" talk to one Oracle Databse URL and a SID .This makes it difficult for each business process to have multiple Oracle DB. Note: Using each Business Process, it will allow me to put the content to a different Database but its not possible to retrieve/manipulate the table contents.i.e Each business process in a JCAPS server is capable of doing a "push" to a different datbase but "pull" from different DB is not possible .

In case you ever wanted to change the database URL/SID of a business process from existing one to another DB then you have to

(a) Undeploy existing WorkflowService ejb webapplication
(b) Go to "D:\\JavaCAPS51\\WorkflowService\\WLM-API-JDK14\\WorkflowService.jar" and unjar WorkflowService.jar using jar -xvf command
(c) Edit WorkflowService\\com\\stc\\bpms\\wlm\\ and point the new Database details (URL and SID)
(d) Jar it back to WorkflowService.jar using jar -cvf command
(e) Go to the JCAPS application server and deploy the new WorkflowService.jar under EJB Modules

Posted by Thekkadath on March 21, 2008 at 10:34 AM IST #

Just a note,
1. The default JCAPS repository user is "Administrator" and password is "STC". Both are case-sensitive. Took me some time to figure that out.

2. eGate.sar is on the Products CD1; eInsight.sar and eVision.sar are on on the Products CD2; Fileeway.sar and LDAPeWay.sar are on the Addon CD; Logicalhost-win32 and Enterprise-Manager-win32.sar are on the Windows CD.

Posted by hajma on April 22, 2008 at 03:56 PM IST #

The below blog contains more info about file of JCAPS (esp Database part)

Posted by Thekkadath on May 02, 2008 at 11:28 AM IST #

Also while installing JCAPS, different files are located in different CDs as mentioned below:

Logical host-Win32.sar -> Win32 CD
ldap eway.sar -> Add on CD1
fileeway.sar -> Add on CD1
einsight.sar -> Product CD2
evision.sar -> Product CD2
Enterprise Manager -> Win 32 CD

Posted by Thekkadath on May 02, 2008 at 11:30 AM IST #

LDAP should be directly available in C:\\LDAP

Posted by Thekkadath on May 04, 2008 at 08:36 AM IST #

if you are placing LDAP in some other directory, modifty the start.bat accordingly

Posted by Thekkadath on May 04, 2008 at 08:37 AM IST #

if you are placing LDAP in some other directory, modifty the start.bat accordingly

also while importing a workflow process into jcaps, if it fails during the build/deploy time, then create a new deployment file and build it again

Posted by Thekkadath on May 04, 2008 at 10:08 AM IST #

Post a Comment:
  • HTML Syntax: NOT allowed



« June 2016