Category: Business Integration Tips

ANT & Building an EJB with the JAR task: ClassNotFoundException

Just a quick note. I was trying to build my EJB using ANT and the JAR task and when it ran, I was getting ClassNotFoundExceptions for my utility jars that should have been on the classpath. <jar jarfile=”${ejb-classes.dir}/EJB.jar” basedir=”${ejb-classes.dir}”” /> The reason is that the manifest file that existed in the directory was being overwritten […]

Read more

BPEL: Beware the use of nested loops in a short running process

One of the restrictions when dealing with a short running process is that it must always run within a single transaction. The implication is that the process must complete within the default transaction timeout window. On an application server, this is 120s. We had an issue where our Process Server was creating a large number […]

Read more

WAS: Resolution to Messages in the SIB locked forever

In a cluster where the messaging engine has failed over between nodes, a situation could arise where the transaction log (‘tranlog’) has become corrupt or is unrecoverable. In this situations, you may see messages on SIB Queues that are in the LOCKED state but are unprocessed. If you factor in a sequential delivering of messages, […]

Read more

WebSphere Application Server: -recovery flag

If you have a server that crashed without a clean shutdown, you may have transactions that are in progress and need to be recovered. In development, you would likely jusy delete the tranlog. On a production machine, you will likely need the following useful command line option when starting your server: startServer <server> -recovery This […]

Read more

Business Object Maps and ‘Required’ Attributes

Just ran into an interesting scenario. We have a business object with a required attribute (amongst a sea of non-required ones). In a business object map, we only set the non-required ones and never set the required ones to any value. In the above example, ‘productStatus’ is required, ‘name’ is not. This is the Mediation […]

Read more