There must be something wrong in the HTTP layer, probably a synchronization issue.
If you provide us more information about what exactly you are doing, then we may have a chance to find out what is happening. If you have a stack trace, a jstack, a kill -3, the sources, the logs, whatever usefull info , then we will be able to help. Here, we are like blinds in a forest... Emmanuel On 8/2/06, Eugene Labunsky <[EMAIL PROTECTED]> wrote:
Is it based on MINA http? Socket part is working fine ... Also I like notice - problems with long http data. Short (from 3-4 lines of data) server sends without error. But when I try send 100 lines of data in one http reply it hold. 1 cpu server working fine this time. >Just for your information, Apache DirectoryServer is buil above MINA and it >has been tested on a 4 CPU server, without any problem. >There must be something wrong elsewhere :) > > >> I have add to my socket server http part (based on http server sample). > >> I have strange problem. For the same settigns it on my PC it's working > >> fine, > >> but on other servers it have not reply (only part which need send > around > >> 100-200 long lines). > >> I tried LINUX & WIN 2003 server - the same... Long reply do not work. > >> Logs show that reply made by server and need to be sent, but client > http > >> have not it from that PCs (sure finally part with out.flush(); kept). > > > Could you provide us with some more information please? What version of > > MINA, JRE, etc are you using? A bug has recently been fixed in > > c(used by StreamIoHandler). Without this bug fix I > > saw strange behaviour with a modified version of the http server > > example. I got partial response just like you're experiencing. I'm using > > Linux here so I have no idea if it's any different on Windows but I > > doubt that it is. > > I'm using last build of MINA (0.9.4 build) and last JRE also. > Looks like it can't work on 2 CPU servers (4 CPU in task manager). I have > tested it with SERVER 2003 on one CPU and it's working fine. Also on XP > with > one CPU it's working fine too. > > Could you send me MINA jar with StreamIoHandler? > > Regards, > Eugene Labunsky. > http://www.TrendMedium.com - MetaStock Add-on > > -- Cordialement, Emmanuel L?charny
-- Cordialement, Emmanuel Lécharny
