Hi LeRoy,
I created a simple test where I used the url object to send a request for a small file (less than 1460 bytes) and the packet issue still appears. I ran it on my internal network to isolate the issue. Thus on one subnet I sent a request via Firesfox and one packet for send/recieve and then again with the simple java program and 2 packets for send and recieve.
So the issue is not with Metro or JAX-WS and the request/response was not broken up for FireFox but in the core code for neworking for the jvm.
I created a new bug in Sun's/Oracle's bug database. I also had a separate party confirm what I saw.
Regards,
-Tony
--- On Thu, 10/15/09, LeRoy Hall <leroy_e_hall_at_yahoo.com> wrote:
> From: LeRoy Hall <leroy_e_hall_at_yahoo.com>
> Subject: Re: Metro/JAXWS and network packets...
> To: dev_at_jax-ws.dev.java.net
> Date: Thursday, October 15, 2009, 8:14 AM
> Curious, is it really JAX-WS that is
> fragmenting the packets, or is it an intermediary device on
> the network that is fragmenting them? I know that
> routers will sometimes fragment packets when the network
> they are forwarding to require smaller packets.
>
> --- 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, 2: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: dev-unsubscribe_at_jax-ws.dev.java.net
> For
> additional commands, e-mail: dev-help_at_jax-ws.dev.java.net
>
>
>
>
>
>
>