File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Linux / UNIX and the fly likes Broken pipe Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark " Broken pipe" Watch " Broken pipe" New topic
Author Broken pipe

Hemanth H Bhat

Joined: Apr 14, 2008
Posts: 15
Hi All

I am trying to post a message of 21MB (String message) on the JMS queue and i am getting the either of the following exception's during this .I am using weblogic 8.1 sp5

Kindly Note: I am successfully able to do this on the same version of weblogic server installed on my desktop machine with windows 2000 professional OS But when i am trying to do this on the UNIX OS(SunOS 5.8 Generic_117350-25) the following error occurs

....I googled a lot for the solution but this only says me that it is an networking issue can any one of you exactly guide me as to what do i need to change in the settings of either the Unix sun OS or the weblogic server to do away with this exception

I would really appreciate your inputs on this

Exception 1

weblogic.jms.common.LostServerException: ; nested exception is:
at weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSyncNoTran(
at weblogic.jms.client.JMSProducer.sendInternal(
at weblogic.jms.client.JMSProducer.send(
at clsPostingMsg.main(

Exception 2

weblogic.jms.common.JMSException: Error sending message
at weblogic.jms.client.JMSProducer.sendInternal(
at weblogic.jms.client.JMSProducer.send(
at clsPostingMsg.main(
Caused by: weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
[ Broken pipe]
at weblogic.jms.dispatcher.DispatcherImpl_815_WLStub.dispatchSyncNoTranFuture(Unknown Source)
at weblogic.jms.dispatcher.DispatcherWrapperState.dispatchSyncNoTran(
at weblogic.jms.client.JMSProducer.sendInternal(
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17410

My definition of "message" is a little bit smaller than 21MB, so I'd suspect that you're overloading the transport mechanism and it's terminating transmission midway through. You might want to research recommended alternative ways to transmit that much data.

Also, of course, check the system, server, and client logs to see if there is any additional information available.

An IDE is no substitute for an Intelligent Developer.
Hemanth H Bhat

Joined: Apr 14, 2008
Posts: 15
Thanks Tim for your Reply

I have found a solution for this problem and the problem is resolved

I made some configuration changes on the weblogic server as below

Click on the Name of the server (On which you have deployed your application and queues etc...)in the left Pane

Goto --> Protocols-->General--> Advanced Options
Increase the following Parameters

Complete Message Timeout:
Idle Connection Timeout:
Maximum Message Size:

After these changes i am not getting the Exception and its working fine as desired

I agree. Here's the link:
subject: Broken pipe
It's not a secret anymore!