Archive for July, 2008

Today I want to introduce an exciting new feature of WID 6.1.2 that I came across while reading a developer works article http://www.ibm.com/developerworks/websphere/library/techarticles/0807_fasbinder1/0807_fasbinder.html?S_TACT=105AGX01&S_CMP=HP&ca=drs- .
In WebSphere Integration Developer 6.1.2 we have the option to create a business calendar which is very crucial when we deal with human tasks. I haven’t upgraded to WID 6.1.2 yet. [...]

Most of the WCS developers are confused with the member subsystem and different types of users in WCS. Here is a small post on the different types of WCS users and their differences.
The member subsystem of WCS handles the users of a WebSphere Commerce site (Member subsystem also covers the organizations, member groups, roles and [...]

Creating a webservice using RAD 7

Creating a webservice using RAD 7
Few months back I had posted about webservice Hello World tutorial in Java. At that time I did not find any simple tutorial on how to create a Hello World webservice in Java. Today I will explain how to create a simple webservice in Java using Rational Application Developer version [...]

A beautiful comment

Today when I checked my blog’s comments list, there was a cool comment waiting for approval. It was a big collection of smilies. I was about to delete that comment, then I thought I will keep it because I like this comment. Not sure it is spam or not. So I haven’t approved that comment [...]

Running a business process that contains correlation set.
My previous post was about creating a correlation set using WID. Today my post is about running a correlation set using BPC explorer. Unlike running a process or human task, running a process that contains the correlation set is little tricky.
Starting a business process is straight forward. [...]

This is something I was planning to post for a long time. Due to some or other exceptions I was getting, I couldn’t make it till today. Today’s post is about creating a correlation set in WebSphere Integration Developer. In my example I used a new module for creating the correlation set.
A correlation set [...]

Another exception with correlation sets. This exception comes if initiation property of correlation set is set to No. The exception stacktrace is

com.ibm.bpe.api.CreateRejectedException: CWWBA0140E: No process instance found for the process template ‘XXXX’ and createInstance is false for port type ‘{http://XXXX/XXX}XXX’ and operation ‘XXXX’
at com.ibm.bpe.engine.BpelEngineCore.createAndStartProcessInstance(BpelEngineCore.java:513)
at com.ibm.bpe.engine.BpelEngine.createAndStartProcessInstance(BpelEngine.java:188)
at com.ibm.bpe.framework.sca.ProcessSessionBean.createOrFindInstance(ProcessSessionBean.java:1429)
at com.ibm.bpe.framework.sca.ProcessSessionBean.invokeEngineSync(ProcessSessionBean.java:911)

The solution for this problem is to change the [...]

CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method “bpc_invoke” on bean “BeanId(XXXApp#XXXEJB.jar#component.XXXX, null)”. Exception data: com.ibm.bpe.database.TomDuplicateKeyException: (com.ibm.bpe.database.CorrelationSetInstanceB: PNUDx)
This is the exception I got when I tried to send an event to an operation. The complete stacktrace of the application is

CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "bpc_invoke" on [...]

java.lang.NoSuchMethodError “main”. This was the exception one of colleague got when he tried to run a simple java application from within Eclipse. The java file that we were trying to execute had a main method and its syntax also matches with what Java wants.
For resolving this issue we tried to execute the file using [...]

One more exception stacktrace from me. This time my WebSphere Commerce Test server produced this error. The error is very simple and I just thought of documenting it as there might be some people who still use WCS 5.6.1. The error I got was

[7/15/08 11:30:13:405 IST] 3cfdd9d3 WsServer E [...]