Wednesday, September 01, 2010

The invocation resulted in an error: java.lang.reflect.UndeclaredThrowableException

You are calling a asynchronous bpel process from OSB and you are using either opmn or ormi protocol to call the business process while calling so you are getting error in the console

The invocation resulted in an error: java.lang.reflect.UndeclaredThrowableException

This error occurs because the opmn or ormi port mentioned is not correct.\

YOu need to verify it from em console

log in to the em console

and click on runtime ports



Now verify the port and use the correct port for calling bpel process




If you get and error like this


<> <Error> <netuix> <BEA-423405> <An exception [Softwa
re caused connection abort: socket write error] was thrown while rendering the c
ontent at [/jsp/welcome/Welcome.jsp].
java.net.SocketException: Software caused connection abort: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at weblogic.servlet.internal.ChunkOutput.writeChunkTransfer(ChunkOutput.
java:525)
at weblogic.servlet.internal.ChunkOutput.writeChunks(ChunkOutput.java:50
4)
Truncated. see log file for complete stacktrace
>

This may happen if you bpel engine is not reachable ,i.e check if the bpel process manager is up and running or not.

Also need to verify the listener and database for bpel process manager is up and running.

1 comment:

Anonymous said...

Hmm it seems like your website ate my first comment (it was super long) so I guess I'll just
sum it up what I had written and say, I'm thoroughly enjoying
your blog. I as well am an aspiring blog writer but I'm still new to the whole thing.
Do you have any helpful hints for newbie blog writers? I'd certainly appreciate it.