xsocket-develop Mailing List for xsocket (Page 19)
Status: Inactive
Brought to you by:
grro
You can subscribe to this list here.
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(12) |
Oct
(9) |
Nov
(11) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2008 |
Jan
(8) |
Feb
(9) |
Mar
(9) |
Apr
(22) |
May
(28) |
Jun
(17) |
Jul
(10) |
Aug
(19) |
Sep
(4) |
Oct
(14) |
Nov
(26) |
Dec
(25) |
| 2009 |
Jan
(13) |
Feb
(17) |
Mar
(12) |
Apr
(4) |
May
(16) |
Jun
(6) |
Jul
(10) |
Aug
(24) |
Sep
(6) |
Oct
(5) |
Nov
(13) |
Dec
(10) |
| 2010 |
Jan
(17) |
Feb
(21) |
Mar
(10) |
Apr
(8) |
May
(2) |
Jun
(14) |
Jul
(7) |
Aug
(10) |
Sep
(7) |
Oct
(3) |
Nov
|
Dec
(2) |
| 2011 |
Jan
(1) |
Feb
(5) |
Mar
(1) |
Apr
|
May
(5) |
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(3) |
Nov
|
Dec
|
| 2015 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
(3) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(6) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
|
From: Gregor R. <gre...@go...> - 2007-11-11 10:29:01
|
Hello Jeter, conceptional a BlockingConnection/NonBlockingConnection represents the link between to endpoints, which are addressed by host/port. A reconnect on tcp level would be cause a new connection (new endpoint address -> port). Therefore a higher level representation is required which encapsulates the underlying connection. Do you know the xSxocket ConnectionPool? May be this could help you to solve your problem. Gregor 2007/11/9, Jeter Chen <je...@ai...>: > > Hi, can we do that auto reconnect when client connection broken?? > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > xSocket-develop mailing list > xSo...@li... > https://lists.sourceforge.net/lists/listinfo/xsocket-develop > |
|
From: Gregor R. <gre...@go...> - 2007-11-11 10:16:28
|
Hi, the roadmap of xSocket has been updated Gregor xSocket V1.2.x -> status: stable (maintenance mode) -> requires Java SE 5 xSocket V2.x -> status: alpha -> requires Java SE 5 xSocket V3.x -> status: unplanned -> requires Java SE 7/uses NIO.2 features |
|
From: Jeter C. <je...@ai...> - 2007-11-09 19:11:06
|
Hi, can we do that auto reconnect when client connection broken?? |
|
From: Gregor R. <gre...@go...> - 2007-11-07 06:30:47
|
Hello Jeter, the idle timeout should work on the client-side as well as on the server-side. By setting the idle timeout the connection will be closed by xSocket, if the idle time has bee reached. By implementing an ITimeoutHandler, you will be notified if the idle time out occurs. If your ITimeoutHandler returns true, the connection will be closed after performing the onIdleTimeout call back method. If your ITimeoutHandler returns false, the xSocket framework does nothing by returning from the onIdleTimeout method, means the connection stays open. See http://xsocket.svn.sourceforge.net/viewvc/xsocket/xsocket/core/tags/V1_2_1/src/test/java/org/xsocket/stream/NonBlockingConnectionClientHandlerTest.java?view=markup(testIdleTimeout() & testConnectionTimeout()) In the case of BlockingConnection a idle timeout causes throwing a exception within a pending read operation. Please add a bug report incl. test code if this not works for your program. Gregor 2007/11/7, Jeter Chen <je...@ai...>: > > Hi, is that onIdleTimeout only work on server or client can use > this function too?? But for the test myself, > client seems not work for this, thanks... > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > xSocket-develop mailing list > xSo...@li... > https://lists.sourceforge.net/lists/listinfo/xsocket-develop > |
|
From: Jeter C. <je...@ai...> - 2007-11-07 02:49:37
|
Hi, is that onIdleTimeout only work on server or client can use this function too?? But for the test myself, client seems not work for this, thanks... |
|
From: Damien L. <ml...@dl...> - 2007-11-05 09:35:58
|
Hello, I would be great if xSocket jars could be OSGi bundles too. As xSovket is built with maven, building OSGi bundles would be easy to integrate (see http://felix.apache.org/site/maven-bundle-plugin-bnd.html) Is it possible ? Thanks Damien |
|
From: Gregor R. <gre...@go...> - 2007-11-04 16:02:03
|
Hello Jeter, currently there are a few additional places in the source code, where Java SE 6 constructs like Arrays.copyOf has been used. I haven't run any test to check if xSocket trunk is runnable under Java SE 5 (after compiling it with Java SE 6). As your test has been shown, it could. But I wouldn't recommend doing this for productive code. Anyway, thanks for information Gregor 2007/11/4, Jeter Chen <je...@ai...>: > > Hi Gregor, > I try setup the target and source to 1.5 and build it use 1.6, to > generate the file "xSocket-2.0-alpha-2-SNAPSHOT.jar" use jdk 6, then I use > this file with geronimo-annotation_1.0_spec-1.1.jar > to compile test code using jdk 5, and find that it can work well... But I > am not sure will all function I need work well now... > > On 11/4/07, Gregor Roth <gre...@go...> wrote: > > > > Hello Jeter, > > > > xSocket V2.x (trunk) requires Java SE 6.If you are forced to use Java SE > > 5, you have to go back to xSocket V1.x which is in maintenance mode. > > > > Gregor > > > > > > > > > > 2007/11/3, Jeter Chen <je...@ai...>: > > > > > > Hi, I find that trunk version need javax.annotation.Resource, can it > > > compile use jdk 5 or need jdk 6 ?? > > > thanks a lot... > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a > > > browser. > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > _______________________________________________ > > > xSocket-develop mailing list > > > xSo...@li... > > > https://lists.sourceforge.net/lists/listinfo/xsocket-develop > > > > > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > xSocket-develop mailing list > > xSo...@li... > > https://lists.sourceforge.net/lists/listinfo/xsocket-develop > > > > > > > -- > Jeter Chen. > Azure Information Technology Co., Ltd. > Tel: +886-2-2392-1558. > Fax: +886-2-2322-4217. > Email: je...@ai... > |
|
From: Jeter C. <je...@ai...> - 2007-11-04 15:27:36
|
Hi Gregor,
I try setup the target and source to 1.5 and build it use 1.6, to
generate the file "xSocket-2.0-alpha-2-SNAPSHOT.jar" use jdk 6, then I use
this file with geronimo-annotation_1.0_spec-1.1.jar
to compile test code using jdk 5, and find that it can work well... But I am
not sure will all function I need work well now...
On 11/4/07, Gregor Roth <gre...@go...> wrote:
>
> Hello Jeter,
>
> xSocket V2.x (trunk) requires Java SE 6.If you are forced to use Java SE
> 5, you have to go back to xSocket V1.x which is in maintenance mode.
>
> Gregor
>
>
>
>
> 2007/11/3, Jeter Chen <je...@ai...>:
> >
> > Hi, I find that trunk version need javax.annotation.Resource, can it
> > compile use jdk 5 or need jdk 6 ??
> > thanks a lot...
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems? Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > _______________________________________________
> > xSocket-develop mailing list
> > xSo...@li...
> > https://lists.sourceforge.net/lists/listinfo/xsocket-develop
> >
> >
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> xSocket-develop mailing list
> xSo...@li...
> https://lists.sourceforge.net/lists/listinfo/xsocket-develop
>
>
--
Jeter Chen.
Azure Information Technology Co., Ltd.
Tel: +886-2-2392-1558.
Fax: +886-2-2322-4217.
Email: je...@ai...
|
|
From: Gregor R. <gre...@go...> - 2007-11-04 07:01:32
|
Hello Jeter, xSocket V2.x (trunk) requires Java SE 6.If you are forced to use Java SE 5, you have to go back to xSocket V1.x which is in maintenance mode. Gregor 2007/11/3, Jeter Chen <je...@ai...>: > > Hi, I find that trunk version need javax.annotation.Resource, can it > compile use jdk 5 or need jdk 6 ?? > thanks a lot... > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > xSocket-develop mailing list > xSo...@li... > https://lists.sourceforge.net/lists/listinfo/xsocket-develop > > |
|
From: Jeter C. <je...@ai...> - 2007-11-03 19:12:43
|
Hi, I find that trunk version need javax.annotation.Resource, can it compile use jdk 5 or need jdk 6 ?? thanks a lot... |
|
From: Christiaan W. <cwi...@te...> - 2007-11-01 13:41:36
|
Hi Gregor, As It turns out, this is not a bug, but just plain and simple TCP behavior! I checked netstat, and it showed me a shitload of dead sockets to the webserver, all in the TIME_WAIT state. The sockets will stay in this state for about 240 seconds, and in that time, you cannot reuse it. So apparently, I used to many sockets, and therefore I got the exception. That explains why this happens only after a longer period of time. Basically, this sucks, because it means I'll need to implement HTTP keep alive to avoid using lots of sockets. To my other question (I forgot that one the first time ;) ): I also tried using the NonBlockingConnectionPool, but it doesn't seem to work very well... Above all it appears to be extremely very slow. Kind regards, Christiaan Willemsen Gregor Roth wrote: > Hi Christiaan, > > this could a bug. Please open a bug entry by adding your test code. > > Gregor > > > > > > 2007/10/31, Christiaan Willemsen <cwi...@te... > <mailto:cwi...@te...>>: > > Hi there, > > I have a client doing lots of request to a HTTP server, using about 20 > simultaneous connections. I use a while loop to create as many > connections as possible, and if I'm at max, I'll wait until another > connection was closed. This appears to work just fine for a while. > > But then, I start getting these exceptions: > > java.net.BindException: Address already in use: connect > at sun.nio.ch.Net.connect (Native Method) > at > sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507) > at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:81) > at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java :65) > at > org.xsocket.stream.io.impl.IoProvider.openSocket(IoProvider.java:356) > at > org.xsocket.stream.io.impl.IoProvider.createClientIoHandler(IoProvider.java:219) > at org.xsocket.stream.Connection .<init>(Connection.java:162) > at > org.xsocket.stream.NonBlockingConnection.<init>(NonBlockingConnection.java:396) > at > org.xsocket.stream.NonBlockingConnection.<init>(NonBlockingConnection.java > :154) > > They occur in the constructor of connection NonBlockingConnection. This > happens with 1.2 and 1.2.1 > > Also, this started occurring after I implemented onConnect, instead of > sending the http POST data right after the construction of the > NonBlockingConnection. Mostly, the second time I try to create the > connection, it works, but this should not be happening I guess... > > So, what's the problem here? It looks like someone is trying to bind a > socket to a local tcp port that is already taken fore some reason. > > Kind regards, > > Christiaan Willemsen > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > <http://get.splunk.com/> > _______________________________________________ > xSocket-develop mailing list > xSo...@li... > <mailto:xSo...@li...> > https://lists.sourceforge.net/lists/listinfo/xsocket-develop > > |
|
From: Gregor R. <gre...@go...> - 2007-10-31 16:38:16
|
Hi Christiaan, this could a bug. Please open a bug entry by adding your test code. Gregor 2007/10/31, Christiaan Willemsen <cwi...@te...>: > > Hi there, > > I have a client doing lots of request to a HTTP server, using about 20 > simultaneous connections. I use a while loop to create as many > connections as possible, and if I'm at max, I'll wait until another > connection was closed. This appears to work just fine for a while. > > But then, I start getting these exceptions: > > java.net.BindException: Address already in use: connect > at sun.nio.ch.Net.connect(Native Method) > at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java > :507) > at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:81) > at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:65) > at org.xsocket.stream.io.impl.IoProvider.openSocket( > IoProvider.java:356) > at > org.xsocket.stream.io.impl.IoProvider.createClientIoHandler( > IoProvider.java:219) > at org.xsocket.stream.Connection.<init>(Connection.java:162) > at > org.xsocket.stream.NonBlockingConnection.<init>(NonBlockingConnection.java > :396) > at > org.xsocket.stream.NonBlockingConnection.<init>(NonBlockingConnection.java > :154) > > They occur in the constructor of connection NonBlockingConnection. This > happens with 1.2 and 1.2.1 > > Also, this started occurring after I implemented onConnect, instead of > sending the http POST data right after the construction of the > NonBlockingConnection. Mostly, the second time I try to create the > connection, it works, but this should not be happening I guess... > > So, what's the problem here? It looks like someone is trying to bind a > socket to a local tcp port that is already taken fore some reason. > > Kind regards, > > Christiaan Willemsen > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > xSocket-develop mailing list > xSo...@li... > https://lists.sourceforge.net/lists/listinfo/xsocket-develop > |
|
From: Gregor R. <gre...@go...> - 2007-10-31 16:37:44
|
Hi,
xSocket doesn't force a request-response communication model.
The call back methods of the Handler (IDataHandler, IConnectHandler, =85) j=
ust
notifies that something is happened. That means if you have a connection
instance you can send and read data at anytime. Please note, that the
connection instance is not thread save. By sharing the same connection by
several threads you have to synchronize the access.
May the following example helps, to clarify things
Gregor
Example: server accepts incoming connections and starts a timer task to sen=
d
periodically data to the client
client Side
=3D=3D=3D=3D=3D=3D=3D=3D
IBlockingConnection con =3D new BlockingConnection(host, port);
while (true) {
String data =3D con.readStringByDelimiter("\r\n");
System.out.println(data);
}
server side
=3D=3D=3D=3D=3D=3D=3D=3D
IMultithreadedServer server =3D new MultithreadedServer(new Handler());
StreamUtils.start(server);
class Handler implements IConnectHandler {
private Timer timer =3D new Timer();
public boolean onConnect(INonBlockingConnection connection) throws
IOException {
// create a sender task and let it perform by the timer
timer.schedule(new SenderTask(connection), 1000, 1000);
return true;
}
class SenderTask extends TimerTask {
private INonBlockingConnection connection =3D null;
public SenderTask(INonBlockingConnection connection) {
this.connection =3D connection;
}
public void run() {
try {
connection.write("pong\r\n");
} catch (Exception e) {
e.printStackTrace();
}
}
}
2007/10/31, Eugen <pi...@de...>:
>
> Hi.. i want to ask how can I send data to a client without replying to
> some of its messages ( aka I want to send data whenever I like... )
>
> --
> [ =D0=80=C3=86H-=A7quad ]
> ']['][-][=80 F=87=D8=A7'][' =D8=D5[=A5]=C3]\[=87=C3]\[ ']['=80=C3[=A5]=
=87]\[ =D0=C7++
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> xSocket-develop mailing list
> xSo...@li...
> https://lists.sourceforge.net/lists/listinfo/xsocket-develop
>
|
|
From: Eugen <pi...@de...> - 2007-10-31 15:45:40
|
Hi.. i want to ask how can I send data to a client without replying to some of its messages ( aka I want to send data whenever I like... ) -- [ ЀÆH-§quad ] ']['][-][€ F‡Ø§'][' ØÕ[¥]Ã]\[‡Ã]\[ ']['€Ã[¥] ‡]\[ ÐÇ++ |
|
From: Christiaan W. <cwi...@te...> - 2007-10-31 13:35:20
|
Hi there, I have a client doing lots of request to a HTTP server, using about 20 simultaneous connections. I use a while loop to create as many connections as possible, and if I'm at max, I'll wait until another connection was closed. This appears to work just fine for a while. But then, I start getting these exceptions: java.net.BindException: Address already in use: connect at sun.nio.ch.Net.connect(Native Method) at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507) at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:81) at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:65) at org.xsocket.stream.io.impl.IoProvider.openSocket(IoProvider.java:356) at org.xsocket.stream.io.impl.IoProvider.createClientIoHandler(IoProvider.java:219) at org.xsocket.stream.Connection.<init>(Connection.java:162) at org.xsocket.stream.NonBlockingConnection.<init>(NonBlockingConnection.java:396) at org.xsocket.stream.NonBlockingConnection.<init>(NonBlockingConnection.java:154) They occur in the constructor of connection NonBlockingConnection. This happens with 1.2 and 1.2.1 Also, this started occurring after I implemented onConnect, instead of sending the http POST data right after the construction of the NonBlockingConnection. Mostly, the second time I try to create the connection, it works, but this should not be happening I guess... So, what's the problem here? It looks like someone is trying to bind a socket to a local tcp port that is already taken fore some reason. Kind regards, Christiaan Willemsen |
|
From: Gregor R. <gre...@go...> - 2007-10-29 10:49:00
|
Hello Jeter, the IDataHandler interface defines a call back method "onData" to notify that data for a dedicated connection has been received. The semantic of the "onData" is equals to "onReceive". Please not, that only the data received event will be notified by the call back method. Based on the passed over connection you are able to read the reveiced data by (convenience) read methods. To send data, you have just to call the write methods of the connection. If autoflush is activated (default) the data will be written immediately. If not, the data will only be sent by explicitly calling of the flush method, or by closing the connection. A notification call back method like "onWrite" or "onWritten" doesn't exist. Gregor 2007/10/29, Jeter Azure <jet...@gm...>: > > > Dear All, > I know that xSocket has IDataHandler to process incoming data, and > this is just like onReceive, do we have > onWrite to process message prepare to send out?? Thanks a lot... > > -- > Jeter Chen. > Azure Information Technology Co., Ltd. > Tel: +886-2-2392-1558. > Fax: +886-2-2322-4217. > Email: je...@ai... > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > xSocket-develop mailing list > xSo...@li... > https://lists.sourceforge.net/lists/listinfo/xsocket-develop > > |
|
From: Jeter A. <jet...@gm...> - 2007-10-29 10:21:38
|
Dear All,
I know that xSocket has IDataHandler to process incoming data, and
this is just like onReceive, do we have
onWrite to process message prepare to send out?? Thanks a lot...
--
Jeter Chen.
Azure Information Technology Co., Ltd.
Tel: +886-2-2392-1558.
Fax: +886-2-2322-4217.
Email: je...@ai...
|
|
From: Gregor R. <gre...@go...> - 2007-10-26 08:59:51
|
Hello Jeter, there is no specific reason not to support ssl connections by the ConnectionPool. This is an open requirement, which hasn't been implemented, yet. Do you need such this feature? within V1.2.x? Gregor 2007/10/26, Jeter Chen <je...@ai...>: > > Hi, I have one question about why the BlockingConnectionPool didnt support > SSL connection?? Thanks a lot... > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > xSocket-develop mailing list > xSo...@li... > https://lists.sourceforge.net/lists/listinfo/xsocket-develop > > |
|
From: Jeter C. <je...@ai...> - 2007-10-26 07:46:00
|
Hi, I have one question about why the BlockingConnectionPool didnt support SSL connection?? Thanks a lot... |
|
From: Gregor R. <gre...@go...> - 2007-10-08 10:35:53
|
Hi, xSocket 1.2.1 has been released. V1.2.1 is a bug fixing release without additional functionality. For the fixed bugs please see the release note http://sourceforge.net/project/shownotes.php?group_id=169583&release_id=545073 Gregor |
|
From: Gregor R. <gre...@go...> - 2007-09-27 10:08:07
|
Hi, the xSocket Tutorial has been updated. New chapters have been added (Script language support, =85) as well as existing ones have been updated (configuration: worker pool, =85). Gregor |
|
From: Gregor R. <gre...@go...> - 2007-09-25 09:32:00
|
... strange, the onData callback should be called. Such an incorrect behaviour isn't known. The 'out of memory' message looks like a bug. I think the best way is to open a bug, by attaching your test code. Gregor 2007/9/25, Josselin Auguste <jos...@gm...>: > > Hello > > I currently have an issue while trying to use xSocket with SSL > support. All my tests have been done using a really simple test > server, to ensure the issue is not a consequence of my own code. > Everything works fine when SSL is disabled, but when SSL is enabled, > the server never enters its onData callback, whereas there is no > problem with the onConnect and onDisconnect callbacks... And from time > to time, i meet an "ATTENTION: exception occured while processing. > Reason java.lang.OutOfMemoryError: Java heap space" error message on > the server debug console... > > Is it a known issue with xSocket ? Does anybody have a clue to help > solving this problem ? > > Thank you, > Josselin Auguste > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > xSocket-develop mailing list > xSo...@li... > https://lists.sourceforge.net/lists/listinfo/xsocket-develop > |
|
From: Josselin A. <jos...@gm...> - 2007-09-25 09:13:19
|
Hello I currently have an issue while trying to use xSocket with SSL support. All my tests have been done using a really simple test server, to ensure the issue is not a consequence of my own code. Everything works fine when SSL is disabled, but when SSL is enabled, the server never enters its onData callback, whereas there is no problem with the onConnect and onDisconnect callbacks... And from time to time, i meet an "ATTENTION: exception occured while processing. Reason java.lang.OutOfMemoryError: Java heap space" error message on the server debug console... Is it a known issue with xSocket ? Does anybody have a clue to help solving this problem ? Thank you, Josselin Auguste |
|
From: Gregor R. <gre...@go...> - 2007-09-24 06:07:19
|
Hi, xSocket V2.0-alpha-1 has been released. xSocket 2.0-alpha-1 removes the deprecated artefacts and employs language features of Java 6.0. Further more some optimizations have been done to use xSocket within script languages such as JRuby, jython or Groovy. Please see the release note for the details. Gregor |
|
From: Gregor R. <gre...@go...> - 2007-09-17 12:23:07
|
... OK. the workaround will be part of the upcoming xSocket V1.2.1 (Java 1.5based) and xSocket V2.0-alpha-1 (removed deprecated artefacts/Java 1.6 based) Gregor 2007/9/17, teran <ter...@ma...>: > > Hi, Gregor! > > xSocket-1.2.1-FREEBSD_WORKAROUND.jar work excellent on both operating > systems, thank you very much! > Freebsd on the server is 6.2 version > Java version - "1.6.0_02" (Java HotSpot(TM) Server VM (build 1.6.0_02-b05, > mixed mode)) > If you still want to look at the code a may send it to you. > > > Hi, > > > as a workaround for the FreeBSD bug > > (http://www.freebsd.org/cgi/query-pr.cgi?pr=105482&cat I've changed > > the selectionKey management. By writing data now OP_READ will be set, > too > > Hopefully it works as a workaround for the bug. Could you test it? > > Gregor > > |