Hi All,
I created a simple java program that created a URL object and sent a http request to a Tomcat server for a small less than 1500 byte file and two packets were set to/from the Tomcat Server.
When I send the same request via FireFox only one packet is sent/recieved.
So this is not a Metro issue but a core issue with the jre and TCP.
This issue may only be with data less than 1500 bytes and TCP.
Regards,
-Tony
--- On Thu, 10/15/09, Tony Anecito <adanecito_at_yahoo.com> wrote:
> From: Tony Anecito <adanecito_at_yahoo.com>
> Subject: Metro/JAXWS and network packets...
> To: "Metro" <users_at_metro.dev.java.net>
> Cc: "JWSDP Dev" <dev_at_jax-ws.dev.java.net>
> Date: Thursday, October 15, 2009, 1:36 AM
> I noticed if I send a request via
> Metro using a small object that is less than 1460 bytes
> (Maximm Segment Size or MTU Maximum Transport Unit size) the
> data gets sent/received in two packets. If I use Firefox and
> request a small html file I only get one packet.
>
> Any idea why this is happening? It seems to double the
> number of packets for communication. The data is not
> duplicated in the two packets but instead is fragmented.
>
> I am using a Java Client using jre 1.6.0_16 and the Tomcat
> Server hosting the web service is also using jdk 1.6.0_16.
> All are Windows based OS.
>
> Regards,
> -Tony
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_metro.dev.java.net
> For additional commands, e-mail: users-help_at_metro.dev.java.net
>
>