https://groups.google.com/d/forum/quickserverquickserverQuickServer is an open source Java library/framework for quick creation of robust multi-client TCP server applications. [<a href="http://www.quickserver.org/">http://www.quickserver.org/</a>]<p>This is the QuickServer development group and mailing list.Google GroupsCachoeira2015-04-17T19:23:00Zhttps://groups.google.com/d/topic/quickserver/ZOikSB2U4-oQuickserver as middlewareHello there, We're in a project where Quickserver will be used as a middleware between devices (socket comunication) and a Web Application. |----------------------------------------| | | | Web App | |_______________________|Δημήτρης Μανούσος2015-04-16T17:03:59Zhttps://groups.google.com/d/topic/quickserver/qYIrtfdWsQcClient to Client communicationHello, I'm new to network programming and I have just start working with sockets and QuickServer. I have a server with 2 clients connected. The clients can communicate with the server independently. What I like to know is if its possible to send a messsage from client_A and then after someRonald Reagan2015-01-26T06:52:51Zhttps://groups.google.com/d/topic/quickserver/Dk8WAD1xmAsTwo Way SSL With File TransferDear Team.. trying to implement a server with SSL, for file transfer. Need few assistance, looking to implement a two way SSL, and during file transfer from client to Server. should we include in Blocking / non blocking mode ? Coz requirement is even while file transfer.. the client may needWiem Rachman2014-11-30T15:18:49Zhttps://groups.google.com/d/topic/quickserver/b53xoD7Xl68Exception in thread "<ClientThread-Pool#1-ID:7074>" java.lang.OutOfMemoryError: Java heap spaceHi I am using quick server 1.4.7, Tomcat 6.0 , SQL Server and handle more than 500 clients Sometime i got error like this Exception in thread "<ClientThread-Pool#1-ID:7074>" java.lang.OutOfMemoryError: Java heap space. So I reststart the windows to resolve it. after thatDJR2014-08-11T13:11:15Zhttps://groups.google.com/d/topic/quickserver/C-INryqknF8BoneCP and QuickserverFirst and foremost, excellent package! I'm new to Java and almost gave up on concurrency. I've got the basics working and would like to add pooled DB access. I'm using BoneCPDataSource for connection pooling, but wasn't sure how to make the connection available to QuickServer. I know I have toSatish Singh2014-07-11T09:06:25Zhttps://groups.google.com/d/topic/quickserver/b0bUoQy2qGESSL Binary client HandlerI am having trouble in recieving binary data. If i send 4 byte data it is split into two chunks (1byte & 3byte). This is occuring in ClientBinaryHandler ( QuickAuthenticationHandler works good ) when using in secure ssl mode. log is show below. send: 4B - Raw: data recieved: 1B - Raw: dDinh VuongAnh2014-06-24T03:24:38Zhttps://groups.google.com/d/topic/quickserver/cMEJxTi_XhgKeepalive packetPls could you tell me how to set keepalive for Quickserver ? Thanks so muchDwayne Smurdon2014-06-03T04:24:26Zhttps://groups.google.com/d/topic/quickserver/U5IAoN9S0c4System.console() (when using cygwin) is null and therefore you can't use console loggingWhen starting your server, you may see: Loading QuickServer v2.0.0 [PID:5704]... Done *QuickServer: You do not have a console.. so turning console logger off..* Jun 02, 2014 11:09:09 PM org.quickserver.net.server.QuickServer setConsoleLoggingLevel *INFO: QuickServer: Removing console handler..* IDwayne Smurdon2014-06-01T21:11:13Zhttps://groups.google.com/d/topic/quickserver/LMksW_AbkEIBasicClientHandler.isOpen() can throw SocketException even though it says it can'tI just posted to https://code.google.com/p/quickserver/issues/detail?id=4, but I can't tell if that's monitored or not, since it looks like the last issue is over 2 years ago. :) Below is the post/issue: Hello, I have not done extensive testing/debugging, but I peaked at the code and I thinkDinh VuongAnh2014-05-08T08:15:16Zhttps://groups.google.com/d/topic/quickserver/3N9nNowA8sIQuickServer with IPv6Could you tell me if QuickServer ver 2.0 is compatible with Ipv6 ? Thanks alotAkshath2014-03-01T05:58:11Zhttps://groups.google.com/d/topic/quickserver/numr8YT3l9ARe: max connection issueYou must be hitting one of the OS limits (file [even sockets are files] or threads).. do check you OS limits using. ulimit -a > > Do refer the following links for more info.. http://docs.basho.com/riak/1.2.1/cookbooks/Open-Files-Limit/ http://glassonionblog.wordpress.com/2013/01/27/increase-ulAkshath2014-02-15T13:55:07Zhttps://groups.google.com/d/topic/quickserver/4B5BKOl9-4sQuickServer v 2.0.0 releasedQuickServer v 2.0.0 has been released. To view the features added in QuickServer 2.0.0 visit http://code.google.com/p/quickserver/wiki/ChangeLog, the main improvements have been in the following areas + Added BroadcastServer example. + Added org.quickserver.net.client + Added org.quickserver.neNorbert Lange2014-02-10T09:18:45Zhttps://groups.google.com/d/topic/quickserver/KsPJo8rQvi0One server - multiple client typesHello, I have the following challenge: I have to build a server for two client types. Client can be TCP (socket communication) and HTTP 1.1, both with xml data. Clients and server run inside our house on different systems, we will have two TCP clients and three HTTP clients. xml structure isFSefid2013-11-07T21:39:28Zhttps://groups.google.com/d/topic/quickserver/yTWXecy_MMQtcp connections*Hello,* *HOW MANY simultaneous tcp connections can QuickServer handle? * *Thanks*Dinh VuongAnh2013-10-25T03:19:02Zhttps://groups.google.com/d/topic/quickserver/TH2PJv1Pe-MQuickServer with eclipseI can not use QuickServer with Eclipse IDE. Any help would be very appreciated Thanks!Dinh VuongAnh2013-10-22T13:03:00Zhttps://groups.google.com/d/topic/quickserver/hCyklodWVpsquickserver with JMS and hibernateCan anyone help me with some examples about QuickServer with JMS and Hibernate ? ThanksDinh VuongAnh2013-10-13T13:45:59Zhttps://groups.google.com/d/topic/quickserver/ULRakMUUS8EMaximum concurrent connectionsCould you tell me what is the maximum concurrent connections with the quickserver 2.0 ? Thanks and best regards!Damien Grandemange2013-08-23T13:30:51Zhttps://groups.google.com/d/topic/quickserver/tAzPi4CjDp8Using a custom server socket in QuickServerHi, I am Damien from France and am currently looking for a server that can actually deals with Unix domain sockets (rather than network sockets). Even if QuickServer is a network server, i am interested in the way it handles client request, and wish i could benefit this. There's some existingFabian Gautschi2013-08-13T07:07:10Zhttps://groups.google.com/d/topic/quickserver/YnI5agDldRwQuickServer on AndroidHi there! First, thanks for the great work done with QuickServer! Is it possible to use QuickServer for a Server/Client App on Android? Thanks a lot for you answer in advance! Fabiananb82013-07-11T20:51:18Zhttps://groups.google.com/d/topic/quickserver/dJA3PIpEsNoSendClientBinary - client values representation confusionSorry if this is a basic binary math knowledge that I lost over the past few years, but I have a great confusion in the way my buffer is being transmitted from the server to the client. I have a buffer of bytes that are in full 0-255 range, therefore some of the values appear negative as byte isRob F2013-06-19T01:00:36Zhttps://groups.google.com/d/topic/quickserver/ldxT3GrarUI5 Hours Later (echoserver example)...HELP!!!Folks - I'm just getting started here....I've googled everything, checked every forum...set my classpath to everything under the sun Running OSX 10.8.4 Robs-MacBook-Air:QuickServer2.0.0RC1 rob$ java echoserver.EchoServer Loading QuickServer v2.0.0 RC1 [PID:5675]... Done Jun 18, 2013 8:59:24 PMFabio Ferreira2013-05-06T18:18:39Zhttps://groups.google.com/d/topic/quickserver/g0x41Hq18_sQS not listening in all network interfacesHi. Does somebody knows how do I set up QS for listening in all netwrok interfaces?Bryan Le2013-02-06T20:02:45Zhttps://groups.google.com/d/topic/quickserver/5FB14MSrSRACan I retrieve ClientHandler from findAllClient() and send message from different thread?Hi, Can I retrieve a ClientHandler from findAllClient() and use it to send a string message from different thread? I tried to do it but the message has not been sent. I don't know why? The client handler trace is ClientEvent-Run Blocking. Thank you.Bryan Le2013-01-17T20:37:26Zhttps://groups.google.com/d/topic/quickserver/SjYlTvK5e3MfindAllClient() doesn't return the list of connected clientsHi, I installed QuickServer version 1.4.7 and tried to find all connected clients but It doesn't work. Do you know why? I have 2 connections, but iterator list has none? ClientIdentifier clientIdentifier = quickServer.getClientIdentifier(); synchronized(clientIdentifier.getObjectToSynchronizeJarl2013-01-16T06:03:03Zhttps://groups.google.com/d/topic/quickserver/lCoARWQWRq0java.io.IOException: Too many open filesHi I have made a service that is handling an immense amount of concurrent events. I get "Too many open files" from the accpet logic in QuickServer: java.io.IOException: Too many open files at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept(Prasad Reddy2012-12-19T13:20:04Zhttps://groups.google.com/d/topic/quickserver/r-LBCNmKrGwHow to do Stress testing.Hi, I'm new to quickserver and using the quickserver for one of the app on Windows. However I've successfully run the project but the things makes me difficult for stress/load testing. Can somebody guide me how to stress quick server with concurrent users ? Are there any automation tools(tcp/iRMK2012-12-15T11:49:09Zhttps://groups.google.com/d/topic/quickserver/KaJIm-3iAw0QuickServer Multithreaded issuesHi, can somebody help its urgent i am working on Quickserver api and this is my first project with API i am getting very strange behavior my setup 1. java based configuration via QuickServerConfig 2. 2 other threads one for Handling Data Persistence and other is for Server Response afterdwi susanto2012-12-12T09:41:07Zhttps://groups.google.com/d/topic/quickserver/LsqYc-CdZWEwhy GhostSocketReaper Closing Connection not the SocketTimeOutException (GC jdk 6.0.11)Hi all, I’m having a problem in my application, I’m using quickserver 1.4.7, and my application running on Tomcat 6.18 and using JDK 6 update 11. The effect of the problem is make the server down, and many client disconnect. This is the LOG of my application which is indicated the GhostsockeNavid Heravi2012-11-29T19:06:13Zhttps://groups.google.com/d/topic/quickserver/qQuFmebL9sQHelp with QuickServerhello I have a problem that quickserver reads from plc but can not write to the plc.Navid Heravi2012-11-29T19:04:23Zhttps://groups.google.com/d/topic/quickserver/YkGj_D2Azq0QuickServer Reads from The plc but can not write.I have a Micrologix 1400, QuickServer PS-QS-1010-0780 and CAS BACNET EXPlORER. the plc can sends data to quickserver and the quickserver sends the data to CAS BACNET EXPLORER (Simulator). also CAS cant write to quickserver, but the PROBLEM is quickserver can not write back to the PLC. CanVenkata Ramaiah2012-11-23T14:38:58Zhttps://groups.google.com/d/topic/quickserver/8y2gALtf0n4CLOSE_WAIT connections are getting accumulated with the quick serverHi, I am using the quick server to get some records from my clients, where we have many number of clients. After my testing, what i could find that the big number of CLOSE_WAIT connections were there on my server. I am assuming that closing the connection would take care by qucik server ,isn'tWiem Rachman2012-10-23T01:39:48Zhttps://groups.google.com/d/topic/quickserver/-AnazHPQJG4missing data and new connection always rejectedDeal All have anyone ever experiencing a problem with the symptomps are after a server longer working properly, suddenly 1. a lot of Clients sent a string data but we can not found anything data in the server side. 2. after that (>timeout ghostreaper), the sockets was closed by server 3. theAkshath2012-10-20T06:35:44Zhttps://groups.google.com/d/topic/quickserver/gblgP4VVxDIQuickServer v 2.0.0 RC1 released*QuickServer v 2.0.0 RC1 released* QuickServer v 2.0.0 RC1 has been released. To view the features added in QuickServer 2.0.0 visit http://code.google.com/p/quickserver/wiki/ChangeLog, the main improvements have been in the following areas + Added BroadcastServer example. + Added org.quickservJarl2012-10-19T20:25:49Zhttps://groups.google.com/d/topic/quickserver/TIQIcFuUoRAAccess to connected clients in a QuickServer from a CommandPlugin in QSAdminHi I have seen the need to add custom commands to the admin server. But I need to iterate the connected clients of the server. I have looked into the source and the controlServer is not passed into the QuickServer admin instance. Instead this controlServer field is only used inside theGVS2012-10-08T16:18:23Zhttps://groups.google.com/d/topic/quickserver/0HiNy2ftsLsChanging application w/ server runningHas anyone had any experience changing their application while the server is running? I'm looking to update my application (the jar file) without having to reboot everything. This way clients stay connected, but I would be able to update without losing them.Jarl2012-09-29T14:58:41Zhttps://groups.google.com/d/topic/quickserver/W4-WTx45DS4Testing QuickServer from telnet and java.io (not nio) is ambiguousI have checked the source, the line break separator is actually \r\n. In 1.4.7. In older sources QS checks the system property for the OS default. Not anymore. Only \r\n. If I send from telnet "whatever\r\n\whateverelse\r\nsomeothertext" This string is understood by QS as one command?? And Iarturo.deutsch2012-09-19T05:06:20Zhttps://groups.google.com/d/topic/quickserver/hZTF3ENw87EQuick Server for GPS socket serverHi Quick Server Group, Has any one used QS as a socket server to receive data sent by GPS. We have tried to set it up, but couldn't. Does any one has a configuration of QS to manage GPS strings and save them on a DB For this purpose we need to manage the following requirements: - over 5.000xalexchen2012-09-12T02:14:55Zhttps://groups.google.com/d/topic/quickserver/P-IbcqL3xLYConnection losthi i'm new on quickserver,i follow an example to build my owner tcp server.but now i got some problem.why my client will automatically disconnect,or server self disconnected to my client. if my client already connected to server,but maybe 30 second ago,server will occur this error,even i send adwi susanto2012-09-10T11:11:49Zhttps://groups.google.com/d/topic/quickserver/YlrjiYuOdNUclientHandler failed to clean up it self (In Blocking mode)hi all, have anyone ever experiencing a problem with clientHandler that fails to clean up it self (in Blocking Mode) which in my case this problems has somehow affecting the ghostsocketreaper class, so the ghostsocketreaper continuously trying to clean and skipping the same clientHandler here isCachoeira2012-09-06T19:25:23Zhttps://groups.google.com/d/topic/quickserver/q0e-cgL733YSingleClientConnManagerHello everybody, We've been using the Quickserver framework as a GPS server sucessfuly. However, the following error message it's ocourring often. Do you know what the reason? By default, the clients don't open two connections, if the connection it's opened. 16:20:07,647 [SEVERE ] org.quickArcher2012-09-06T05:43:55Zhttps://groups.google.com/d/topic/quickserver/7JtO39X7pp4database connections poolhello all： should I manage a database connections pool by myself to enhance the db performence?Roman Mik2012-08-16T19:22:53Zhttps://groups.google.com/d/topic/quickserver/Bs5BmqvtDaUWARNING: Thread Access Count was not 0!Hi, I wonder if someone has come across the same problem as I am experiencing and could point me to the right direction in terms of fixing it... The symptoms are: The server gets completely stuck and no further processing is possible. All new connections are rejected. I am able to connect viaEd O'Loughlin2012-08-12T11:32:28Zhttps://groups.google.com/d/topic/quickserver/Zc8oZ9-SH1gPipeserver architecture questionHi, I'm new to Quickserver and just looking at the example code to see if it's suitable for a project. The Pipeserver example seems to be close to my base requirements but I can't understand why the Data class needs to be a Thread and handles sending data on the socket. I thought the threadingAndrew Mazar2012-08-03T01:46:52Zhttps://groups.google.com/d/topic/quickserver/bfHSDe6BJVsTrouble with InstallationHey, I'm trying to setup QuickServer to use on my machine (Win7). I can't seem to get it right. I extracted the .zip to C:\QuickServer, changed my classpath to C:\QuickServer\dist\QuickServer.jar, and tried to run "java echowebserver.EchoWebServer" as shown below. Please see my cmd promptMinu2012-08-02T14:08:12Zhttps://groups.google.com/d/topic/quickserver/OYIQqalhijwi am getting CLOSE_WAIT issue in quickserver not able. how to resolve itYahya2012-04-29T03:20:39Zhttps://groups.google.com/d/topic/quickserver/66t7w2HFG_gHow to send files to serverHow do I write a ClientCommandHandler that can receive files sent by the client to the server in QuickServer? I see the ClientWriteHandler but I'm not too sure how to use that even after looking at the FtpServer example.skyline2012-04-13T09:49:26Zhttps://groups.google.com/d/topic/quickserver/nWAor01P6eIByte mode then miss wordsHi All I've been using quickserver for a new project but I get some problems: 1.my default-data-mode is Byte,and my server-mode is no-blocking.then my problem is: for the server running a period of time, it received wrong messages.for example,I required message like ["test","test"] butbrya...@yahoo.com2012-03-30T17:01:54Zhttps://groups.google.com/d/topic/quickserver/PKA5Zo1CvtwCan TLS and None-TLS server share the same <client-data> and <client-command-handler>I created two listener ports (9443 for TLS and 5123 for TCP). Can two QuickServer instances share the same <client-data> and <client- command-handler> ? Thank you.hermawan2012-03-25T10:00:38Zhttps://groups.google.com/d/topic/quickserver/K_izYjMYgg0check db and send msg to clientHi All, I am a newbie in QuickServer. Need your expert advice. So far in what I have seen in the examples are cases where client sends "some commands" to server and server reacts to that "some commands". My program needs to periodically (every 10seconds) check a table in a MYSQL database/V\auBer2012-03-24T20:22:08Zhttps://groups.google.com/d/topic/quickserver/6qpyp2TSEvYCommunication With BYTE ModeHello to all!! I'm building a software that will make a biometric authentication and for this I get a string with a lot of information that are separated by position within the string, for example, from position 1 to 4 is a code of 5 to 15 and so a name on, my big problem is that from a