From: Harsh D. <hda...@io...> - 2002-12-04 19:35:10
|
Here are the details: C:\WINNT>java -version java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode) Try this for reproducing: 1. Change EchoProfile as follows and build beepcore.jar. public void startChannel(Channel channel, String encoding, String data) throws StartChannelException { log.debug("EchoCCL StartChannel Callback"); // exception - begin try { channel.setReceiveBufferSize(8096); } catch (BEEPException e) { e.printStackTrace(); } // exception - end channel.setMessageListener(this); } 2. Run Beepd and Bing in that order. (I usually have beepcore.jar in CLASSPATH) Regards, -- Harsh Daharwal IOS Networks Inc. http://www.iosnetworks.com Huston said: >> I'm trying to set a Channel's receive buffer size using >> Channel::setReceiveBufferSize(8096); in startChannel() method >> of my profile which implements StartChannelListener. The attempt >> results in following exception: >> >> java.net.SocketException: Software caused connection abort: recv >> failed at java.net.SocketInputStream.socketRead0(Native Method) >> at java.net.SocketInputStream.read(SocketInputStream.java:129) >> at org.beepcore.beep.transport.tcp.TCPSession.processNextFrame >> (TCPSession.java:434) >> at org.beepcore.beep.transport.tcp.TCPSession.access$000 >> (TCPSession.java:55) >> at org.beepcore.beep.transport.tcp.TCPSession$1.run >> (TCPSession.java:230) >> >> >> Are there any pre-conditions for using this method. >> I'm using 9.07 version of framework. > > No, which jvm are you using? This looks like a bug, I'll see what I can > find after I get your reply. > > --Huston |