Launching SAW@java.net

SAW-LogoAnnouncing the launch of SAW at java.net. I created the SAW project at java.net today!!!

The Simple API for Workflow(SAW) is intended to offer a generic workflow api to perform human workflow interaction with various workflow engines. This generic workflow api will ship with a default implementation for Sun Java Composite Application Platform Suite(aka JCAPS).

The SAW will also be consumed by other features e.g. OpenPortal and Project Mirage

The deliverables from this project will be consumed by the OpenPortal project to provide Workflow functionality to the portal product. The current plan is to provide in terms of deliverables :

  • Workflow API
  • Workflow Tag Library
  • Sample portlets which will be a part of the Portlet Repository. The sample portlets will showcase how to use SAW to manage task with the help of backend Java CAPS.
  • Tooling Plugins for developer IDE's which empower the developer to use the SAW API and Tag Libraries with the greatest of ease. These will be available under the Portal Pack Project.

Subscribe to announce@saw.dev.java.net for further details on SAW.


<script type="text/javascript" src="http://www.google-analytics.com/urchin.js"> </script> <script type="text/javascript"> _uacct = "UA-1110410-3"; urchinTracker(); </script>
Comments:

Sounds great!! I looked over the documentation and tried to install the sample .war file from the Portlet repository to the Open Portal Container 2.0 Beta, but no luck. Is there a resource for SAW that I can refer to?

Thanks in advance,
Cliff

Posted by t on January 23, 2008 at 12:37 AM IST #

Hi Cliff,

Thank you for your interest in SAW Workflow Portlet. I strongly recommend you to go to https://saw.dev.java.net and study the objective of SAW.
The Workflow Portlet as of now, will work with Sun Java CAPS only.

Ofcourse, I also wish if you could go through this SDN article "http://developers.sun.com/portalserver/reference/techart/workflow.html"

We are planning to come up with SAW implementation for jBPM and other workflow engines. Let me know if you will be willing to do the same.

Thanks,
Vihang

Posted by Vihang Pathak on January 23, 2008 at 03:14 AM IST #

Hi Cliff,

You can also refer to the Workflow Portlet User Guide.

http://wiki.java.net/bin/view/OpenPortal/WorkflowPortlet

Thanks,
Vihang

Posted by Vihang Pathak on January 23, 2008 at 03:21 AM IST #

Hi there

This sounds really great. Is it possible to download a trial / demo version of JCAPS?

Regards
JMan

Posted by Jason on February 20, 2008 at 12:04 AM IST #

Hi Vihang,

I tried Installing the workflowPortlet.war file and able to get the portlet using the doedit and do help but the doView method is throwing a null pointer exception as show below.

jspAction in doView is null
In WorkflowFactory, classToInstantiate is: null
Any help is appreciated.

Thanks & regards

Srikanth

Posted by Srikanth on June 09, 2008 at 09:38 AM IST #

Hi Vihang,

We are trying to use workflowService with Java CAPS following your article.
Now, we are getting the following error while running the process:

java.lang.NoClassDefFoundError: com.stc.bpms.bpel.runtime.PersistentBeanMessage

Do we need to install something else?

Thanks,
Gustavo.

Posted by Gustavo on June 11, 2008 at 02:20 PM IST #

Hi Gustavo,

I presume you are having JCAPS installation.
Are you having the WorkflowServiceClient.jar in your classpath?

This is the client stub required to connect to JCAPS.

Alternatively, we are coming up with a SAW impl for OS Workflow Engines as well.

Stay tuned!!!

If you are having JCAPS install and still facing the issue,let me know.

Thanks,
Vihang

Posted by Vihang on June 11, 2008 at 02:30 PM IST #

Hi Gustavo,

Please remove the WorkflowServiceClient.jar from the server classpath and put it in WEB-INF/lib folder of your web-app. Let the WorkflowServiceClient.jar be ONLY at WEB-INF/lib and try.

I am referring to JCAPS 5.1.3 here. In the version of WorkflowServiceClient.jar that I have, I also do not see this class appearing.

Thanks,
Vihang

Posted by Vihang on June 11, 2008 at 02:58 PM IST #

Just to bring us on the same page, I guess you are distinguishing between WorkflowServiceClient.jar which is a generated stub, used to access the WorkflowService and the WorkflowService.jar(Which is the EJB deployed on the JCAPS Integration Server)

Posted by guest on June 11, 2008 at 03:01 PM IST #

As per the logs I observe that it is not while invoking SAW that you are getting the error.

The exception that you are getting indicates that while build/deploy you are getting this exception(see "codegen" part of the exception). Please restart JCAPS(including edesigner) and try redeploying the application.
1. Are you able to deploy the Business Process successfully?

2. If so, then do one test of invoking the business process with sample input and checking the task table in whichever database you are using and checking if the task is created or not?

Posted by Vihang on June 11, 2008 at 03:22 PM IST #

You mentioned "You are running the business process ?" How?

Posted by Vihang on June 11, 2008 at 03:23 PM IST #

Please send a zip of the project you are using. Choose File -> Export Project to export into a zip format.

I will try this out.

On a side note, this has been working for many , so I am sure it will in this case as well :-)

Posted by guest on June 11, 2008 at 03:44 PM IST #

Please change your database to something else and then send the zip. I am getting an import error.

Posted by VIhang on June 11, 2008 at 04:12 PM IST #

Hi Gustavo,

I took the business process that you sent, imported into my eDesigner and deployed it.

I then created a task and tried executing it using WLMAPI.

It worked!!!
May be some issue with the Workflow EJB that is deployed on your system
Thanks,
Vihang

Posted by guest on June 12, 2008 at 04:37 AM IST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

vihangpathak

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today