users@glassfish.java.net

How to add Exception in BPEL

From: <glassfish_at_javadesktop.org>
Date: Thu, 03 Apr 2008 06:17:30 PST

Hello

I am reading a HL7 message from the port using BPEL.



[b]How should i implement the Exception...[/b]to get the more details for the exception

It is showing exception as following


MLLPDecoder.decode(): Invalid MLLP data,.The configuration value of Start Block Character is [ }] ,It does not match with the actual data.
-2674791333 [AnonymousIoService-10] WARN com.sun.jbi.hl7bc.extservice.server.HL7EventHandler - [/127.0.0.1:2960] EXCEPTION, [u][b]please implement com.sun.jbi.hl7bc.extservice.server.HL7EventHandler.exceptionCaught() for proper handling:[/b][/u]
org.apache.mina.filter.codec.ProtocolDecoderException: org.apache.mina.filter.codec.ProtocolCodecException: MLLPDecoder.decode(): Invalid MLLP data,.The configuration value of Start Block Character is [ }] ,It does not match with the actual data. (Hexdump: empty)
        at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:184)
        at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:362)
        at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:54)
        at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:800)
        at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:247)
        at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:307)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.mina.filter.codec.ProtocolCodecException: MLLPDecoder.decode(): Invalid MLLP data,.The configuration value of Start Block Character is [ }] ,It does not match with the actual data.
        at com.sun.jbi.hl7bc.extservice.llp.MLLPDecoder.decode(MLLPDecoder.java:219)
        at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:172)
        ... 8 more
[u][/u]
[Message sent by forum member 'krishnag' (krishnag)]

http://forums.java.net/jive/thread.jspa?messageID=267562