RE: Sending post request in java

2005-09-23 Thread Spyros Sakellariou
========= Hope it helps, Spyros -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Gelvis SequeraSent: Thursday, September 22, 2005 6:21 PMTo: users@kannel.orgSubject: Re: Sending post request in java I

Re: Sending post request in java

2005-09-23 Thread Wilfried Goesgens
On Thu, Sep 22, 2005 at 01:51:30PM +0300, Spyros Sakellariou wrote: breaks the request into two packets and that probably confuses Kannel. as of both, kannel and your java programm use the kernel tcp/ip stack this is most likely not the case. It is the content wich you should have a look at.

RE: Sending post request in java

2005-09-23 Thread Spyros Sakellariou
describes when I used the HttpUrlConnection object. Spyros -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Wilfried Goesgens Sent: Friday, September 23, 2005 11:24 AM To: users@kannel.org Subject: Re: Sending post request in java On Thu, Sep 22, 2005 at 01

Re: Sending post request in java

2005-09-22 Thread Wilfried Goesgens
compile with export CFLAGS=-ggdb -rdynamic -O0 to get the full stack trace, so we can give you more information. Wilfried Goesgens

RE: Sending post request in java

2005-09-22 Thread Spyros Sakellariou
I had the same problems trying to send Push Mesages from Java using the HttpUrlConnection. Checking with Ethereal I found out that the HttpUrlConnection object breaks the request into two packets and that probably confuses Kannel. I tried using sockets (more work of course) and everything

Re: Sending post request in java

2005-09-22 Thread Gelvis Sequera
I used the HttpCLient, and i couldn't resolve the problem here is a piece of code: case Request.POST:methodP = new PostMethod(url);methodP.setRequestHeader(Content-type, text/xml);methodP.setRequestBody(request.getRequest()); client.executeMethod(methodP);response =

Re: Sending post request in java

2005-09-21 Thread Gelvis Sequera
The keep alive option is disable, but the problem still happens, but now the log changed to: 2005-09-21 08:57:42 [16586] [3] DEBUG: HTTP: Resetting HTTPClient for `192.168.1.81'.2005-09-21 08:57:42 [16586] [3] PANIC: gwlib/octstr.c:2343: seems_valid_real: Assertion `ostr-len = 0' failed. (Called

RE: Sending post request in java

2005-09-20 Thread Rene Kluwen
Try to disable keep alive connections (if those are being used). Rene Kluwen Chimit -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Gelvis SequeraSent: dinsdag 20 september 2005 21:56To: users@kannel.orgSubject: Sending post request in