Fwd: Java.net.SocketException: Connection reset

"Xavier Grehant" <[email protected]> Fri, 30 Jun 2006 12:22:25 +0200
Newsgroups gmane.comp.java.smartfrog.devel
Message-ID <[email protected]>
---------- Forwarded message ----------
From: Xavier Grehant <[email protected]>
Date: Jun 29, 2006 5:27 PM
Subject: Re: [Smartfrog-developer] Java.net.SocketException: Connection
reset
To: "Goldsack, Patrick" <[email protected]>



On 6/29/06, Goldsack, Patrick <[email protected]> wrote:

>  Xavier,
>
> Some further questions:
>
> do you have the same version of Java both sides?
>

1.4 on my computer and 1.5 on oplaslim9 but we also tried with 1.4 on
Olivier's computer and it worked fine as well.

 same version of SF?
>

Great! You found it. I had 3.08.007 on my side and oplaslim9 and Olivier
were running 3.08.004.
Now that I downgraded it works very well. Thank you!

is the DNS set up so that all nodes are visible with both forward and
> reverse lookup?
>
> Are both your and Olivier's machines windows?
>

Rather than telnet from your machine to oplaslim9.cern.ch on port 3800,
> could you do a netstat and identify the process compound port and see if you
> can telnet to that instead?
>
> There are a number of RMI debug properties but setting some of these might
> help to diagnose the problems, for exaxmple
>
> sun.rmi.server.exceptionTrace (1.2 and later) : This property controls the
> output of server-side stack traces from exceptions and errors that are
> thrown by dispatched, incoming remote calls. If this value is true,
> exception stack traces will be  rinted. By default (false), exception and
> error stack traces are not printed.
>

This is good to know..

Thank you!
Xavier

Others are at
>
> *http://java.sun.com/j2se/1.4.2/docs/guide/rmi/sunrmiproperties.html *<http://java.sun.com/j2se/1.4.2/docs/guide/rmi/sunrmiproperties.html>
> Patrick
>
>
>  ------------------------------
> *From:* Xavier Grehant [mailto:[email protected]]
> *Sent:* 29 June 2006 14:41
> *To:* Goldsack, Patrick
> *Subject:* Re: [Smartfrog-developer] Java.net.SocketException: Connection
> reset
>
>
>
> On 6/29/06, Goldsack, Patrick <[email protected]> wrote:
> >
> >  Xavier,
> >
> > I don'd think we have ever seen this. It sounds like a low-level (Java)
> > networking issue rather than specifically SF.
> >
> > However, I don't fully understand the context.
> >
> > 1) Does this error only occur on one computer?
> >
>
> Yes only on mine as far as I know.
>
>   Does it works if you do the same on other computers?
> >
>
> The exact same thing works fine from Olivier's computer as well as
> directly on the command line of the "target" computer.
>
>   Or is it the same on all?
> >
> > 2) Are you running the sfDaemon and the sfStart command-lines on the
> > same node - so that the connection reset is on the local host only? Does it
> > work if you do the sfStart on another computer? This seems to be the
> > implication of your comment.
> >
>
> I do this :  sfStart oplaslim9.cern.ch Test "anyCorrectsfFile.sf"
> from my Windows machine (not oplaslim9).
> The description seems to be correctly parsed and the log comes back
> properly (either on IntellijIdea or Cmd window.) until apparently the remote
> daemon wants to send something else than the log and there is this socket
> connection reset.
>
> When Olivier lauches the same command from his computer it works. When I
> launch
> sfStart localhost Test "anyCorrectsfFile.sf"
> from oplalsim9 it works as well.
> I have all firewalls stopped and I can telnet from oplaslim9 to my
> computer on port 3800.
>
> I thought the daemon on my Windows blocked everything from any other
> deamon for security could be enabled but security is disabled on both sides.
>
> Thanks for your help,
> Xavier
>
>   Patrick
> >
> >  ------------------------------
> > *From:* smartfrog-developer-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:
> > smartfrog-developer-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] *On Behalf Of *Xavier
> > Grehant
> > *Sent:* 28 June 2006 14:45
> > *To:* smartfrog-developer
> > *Subject:* [Smartfrog-developer] Java.net.SocketException: Connection
> > reset
> >
> >  Do you know a reason why this could happen:
> > Telnet on port 3800 works from the remote host to my computer.
> > Security is not active on any host.
> > It is not related to the component I lauch. It does it for everything.
> > It works fine from another computer.
> >
> > 2006/06/28 15:34:29:625 CEST [WARN ][main] SFCORE_LOG - SmartFrog
> > security is NOT active
> > SmartFrog 3.08.007
> > (C) Copyright 1998-2005 Hewlett-Packard Development Company, LP
> >  - FAILED when trying DEPLOY of 'doIt',  [example.sf],  host:
> > oplaslim9.cern.ch
> >     Result:
> >       * Exception: 'SmartFrogException:: java.rmi.UnmarshalException:
> > Error unmarshaling return; nested exception is:
> >             java.net.SocketException: Connection reset
> >         cause: java.rmi.UnmarshalException: Error unmarshaling return;
> > nested exception is:
> >             java.net.SocketException: Connection reset'
> >
> > SmartFrog ready... [:3800] Wed Jun 28 15:34:30 CEST 2006
> >
> > Thanks,
> > Xavier
> >
>
>

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Smartfrog-developer mailing list
Smartfrog-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/smartfrog-developer