Well  Ethereal shows two packets when I use the HttpUrlConnection object and
only one when I use java sockets or other utility objects such as the apache
commons client.

The problem was fixed when I used sockets.
So what I am saying is that probably this is not a Kannel problem but a Java
problem, since the way to fix it for me was to stay away from the
HttpUrlConnection object.

I posted some Java code before that it worked for me for sending Push
requests to kannel so I think with a few modifications Gelvis can use it for
sendind SMS requests as well.
I experienced the same problems he 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: [email protected]
Subject: Re: Sending post request in java


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. Capture it using netcat
as server instead ov kannel, and use netcat afterwards to test kannel.
please recompile kannel with the flags I gave you, and post the complete
Panic stack trace again.

Wilfried Goesgens



Reply via email to