Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] no response is sent

Let me give a little more details:
i have 2 unix machines and 2 http server softwares.
1. The machines are identical in the installed software manner
2.  The two servers differ in jetty version (and the related jetty class).
3. One server is using V5.1.14 the other uses V9.1.2
4.Both http servers are installed on each unix machine (so at total i have 4 http servers)
5. At one Unix machine both servers work, at the other one only the V5.1.14 is working
 

in code i see that the client side is stuck after performing the following code at the underlined code:

URLConnection conn = url.openConnection();

conn.getInputStream()

 (conn  is instance of sun.net.www.protocol.http.HttpURLConnection)
 
 


On Tue, May 27, 2014 at 3:05 AM, Andrew Eidsness <eclipse@xxxxxxxxxx> wrote:
I see.  I was confused by the "two servers" part.  I was thinking that meant two machines instead of two versions.

-Andrew

On 14-05-26 08:25 AM, Itamar Farchy wrote:
> hi, basicly i have an older version of my server, that uses  old jetty version (5.1.14).
> when using the older version of my server i can connect with no priblem.
>
>
>
> On Mon, May 26, 2014 at 1:06 PM, Andrew Eidsness <eclipse@xxxxxxxxxx <mailto:eclipse@xxxxxxxxxx>> wrote:
>
>     Is there a firewall blocking access to that port on that server?  An easy way to test is to:
>
>     1) stop jetty
>     2) use netcat to listen on the same port:
>        $ sudo nc -l <port>
>     3) try to connect with telnet (from another machine):
>        $ telnet <host> <port>
>
>     If messages from the telnet client don't get to netcat then something (probably the firewall) is in the way.
>
>     -Andrew
>
>     On 14-05-26 03:53 AM, Itamar Farchy wrote:
>     > hi im using jetty v9.1.2 and im facing a problem.
>     > i have a standalone jetty http server configured to work on a certain url.
>     > and when connecting via browser resources are loaded.
>     >
>     > i have 2 unix machines with the same softwere and java version,
>     > yet in one of the the server is starting with no errors but no response is sent when connecting via browser.
>     >
>     >
>     >
>     >
>     > _______________________________________________
>     > jetty-users mailing list
>     > jetty-users@xxxxxxxxxxx <mailto:jetty-users@xxxxxxxxxxx>
>     > https://dev.eclipse.org/mailman/listinfo/jetty-users
>     >
>
>     _______________________________________________
>     jetty-users mailing list
>     jetty-users@xxxxxxxxxxx <mailto:jetty-users@xxxxxxxxxxx>
>     https://dev.eclipse.org/mailman/listinfo/jetty-users
>
>
>
>
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>

_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top