"Port already in use" exception when starting SmartFrog
<depstein-6g8wRflRTwWrN/MWgto1swC/[email protected]> Thu, 18 Nov 2010 13:44:35 +0300
| Newsgroups | gmane.comp.java.smartfrog.user |
|---|---|
| Message-ID | <29F36C7C98AB09499B1A209D48EAA615B4FF7AD2D3@mail2a.alliedtesting.com> |
--===============7905248884467553263==
Content-Language: en-US
Content-Type: multipart/alternative;
boundary="_000_29F36C7C98AB09499B1A209D48EAA615B4FF7AD2D3mail2aalliedt_"
--_000_29F36C7C98AB09499B1A209D48EAA615B4FF7AD2D3mail2aalliedt_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi,
We are having a problem starting SmartFrog under some accounts. Here is the=
output that we get when running sfDaemon from Windows command line:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D
D:\tmp\Externals\Java\smartfrog\bin>sfDaemon
SmartFrog 3.18.002 (2010-09-20 04:13:24 EDT)
(C) Copyright 1998-2010 Hewlett-Packard Development Company, LP
2010/11/18 12:13:14:859 EET [WARN ][main] SFCORE_LOG - SmartFrog security i=
s NOT
active
2010/11/18 12:13:14:866 EET [DEBUG][main] SFCORE_LOG - Security Manager is =
java.
lang.SecurityManager@1a73d3c<mailto:lang.SecurityManager@1a73d3c>
2010/11/18 12:13:14:868 EET [DEBUG][main] SFCORE_LOG - Using java security =
polic
y: =3DD:\tmp\Externals\Java\smartfrog\private\sf.no.security.policy
2010/11/18 12:13:14:878 EET [WARN ][main] SFCORE_LOG - Possible problem wit=
h cla
sspath:
3 occurrences for smartfrog-
D:\tmp\Externals\Java\smartfrog\lib\smartfrog-src-3.18.002.jar
D:\tmp\Externals\Java\smartfrog\lib\smartfrog-jdocs-3.18.002.jar
D:\tmp\Externals\Java\smartfrog\lib\smartfrog-3.18.002.jar
2010/11/18 12:13:14:895 EET [DEBUG][main] SFCORE_LOG - Network test localho=
st: h
ostname 'BY0013D4B30637.alliedtesting.com', ip '192.168.198.99', [Successf=
ul],
1ms
2010/11/18 12:13:14:902 EET [DEBUG][main] SFCORE_LOG - Command Line args: [=
]
SmartFrogDeploymentException: unnamed component. SmartFrogRuntimeException:=
: Sma
rtFrog daemon could not start because another instance is running, cause: j=
ava.r
mi.server.ExportException: Port already in use: 3800; nested exception is:
java.net.BindException: Address already in use: JVM_Bind, SmartFrog=
3.18
.002 (2010-09-20 04:13:24 EDT), cause: SmartFrogRuntimeException:: SmartFro=
g dae
mon could not start because another instance is running, cause: java.rmi=
.serv
er.ExportException: Port already in use: 3800; nested exception is:
java.net.BindException: Address already in use: JVM_Bind, SmartF=
rog 3
.18.002 (2010-09-20 04:13:24 EDT)
2010/11/18 12:13:16:263 EET [DEBUG][main] SFCORE_LOG - SmartFrog System.Exi=
t cod
e: 1, v3.18.002
D:\tmp\Externals\Java\smartfrog\bin>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D
We get the same exception when launching SmartFrog using the test harness. =
We have checked the port and found that it is not in use at any point and t=
hat no SmartFrog daemon instances are running in the background. The most r=
emarkable thing is that in multi-user environments the problem occurs only =
with certain accounts. When SmartFrog is launched on the same machine from =
the same location by a different user, we don't see this exception. What is=
also puzzling is that the problem emerged suddenly and for no apparent rea=
son: we are not aware of any changes to the system that could have occasion=
ed this error.
This happens with SmartFrog v. 3.18.002 running on at least three different=
machines under Windows 7 and Windows Server 2008 R2 Standard with Java SE =
v. 1.6 runtime environment. The problem account has administrative privileg=
es.
Any help would be appreciated.
Dmitry
--_000_29F36C7C98AB09499B1A209D48EAA615B4FF7AD2D3mail2aalliedt_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content=
=3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros=
oft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:56.7pt 42.5pt 56.7pt 85.05pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vli=
nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span style=3D'c=
olor:#1F497D'>Hi,<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'=
color:#1F497D'><o:p> </o:p></span></p><p class=3DMsoNormal><span style=
=3D'color:#1F497D'>We are having a problem starting SmartFrog under some ac=
counts. Here is the output that we get when running sfDaemon from Win=
dows command line:<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D=
'color:#1F497D'><o:p> </o:p></span></p><p class=3DMsoNormal>=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D<o:p></o:p></p><p class=3DMsoNormal>D:\tmp\Externals\Java\smart=
frog\bin>sfDaemon<o:p></o:p></p><p class=3DMsoNormal><o:p> </o:p></=
p><p class=3DMsoNormal>SmartFrog 3.18.002 (2010-09-20 04:13:24 EDT)<o:p></o=
:p></p><p class=3DMsoNormal>(C) Copyright 1998-2010 Hewlett-Packard Develop=
ment Company, LP<o:p></o:p></p><p class=3DMsoNormal><o:p> </o:p></p><p=
class=3DMsoNormal>2010/11/18 12:13:14:859 EET [WARN ][main] SFCORE_LOG - S=
martFrog security is NOT<o:p></o:p></p><p class=3DMsoNormal>active<o:p></o:=
p></p><p class=3DMsoNormal>2010/11/18 12:13:14:866 EET [DEBUG][main] SFCORE=
_LOG - Security Manager is java.<o:p></o:p></p><p class=3DMsoNormal><a href=
=3D"mailto:lang.SecurityManager@1a73d3c">lang.SecurityManager@1a73d3c</a><o=
:p></o:p></p><p class=3DMsoNormal>2010/11/18 12:13:14:868 EET [DEBUG][main]=
SFCORE_LOG - Using java security polic<o:p></o:p></p><p class=3DMsoNormal>=
y: =3DD:\tmp\Externals\Java\smartfrog\private\sf.no.security.policy<o:p></o=
:p></p><p class=3DMsoNormal>2010/11/18 12:13:14:878 EET [WARN ][main] SFCOR=
E_LOG - Possible problem with cla<o:p></o:p></p><p class=3DMsoNormal>sspath=
:<o:p></o:p></p><p class=3DMsoNormal> 3 occurrences for smartfrog-<o:=
p></o:p></p><p class=3DMsoNormal> D:\tmp\Externals\Java\s=
martfrog\lib\smartfrog-src-3.18.002.jar<o:p></o:p></p><p class=3DMsoNormal>=
D:\tmp\Externals\Java\smartfrog\lib\smartfrog-jdocs-3.18=
.002.jar<o:p></o:p></p><p class=3DMsoNormal> D:\tmp\Exter=
nals\Java\smartfrog\lib\smartfrog-3.18.002.jar<o:p></o:p></p><p class=3DMso=
Normal><o:p> </o:p></p><p class=3DMsoNormal>2010/11/18 12:13:14:895 EE=
T [DEBUG][main] SFCORE_LOG - Network test localhost: h<o:p></o:p></p><p cla=
ss=3DMsoNormal>ostname 'BY0013D4B30637.alliedtesting.com', ip '192.168.198.=
99', [Successful],<o:p></o:p></p><p class=3DMsoNormal>1ms<o:p></o:p><=
/p><p class=3DMsoNormal>2010/11/18 12:13:14:902 EET [DEBUG][main] SFCORE_LO=
G - Command Line args: []<o:p></o:p></p><p class=3DMsoNormal>SmartFrogDeplo=
ymentException: unnamed component. SmartFrogRuntimeException:: Sma<o:p></o:=
p></p><p class=3DMsoNormal>rtFrog daemon could not start because another in=
stance is running, cause: java.r<o:p></o:p></p><p class=3DMsoNormal>mi.serv=
er.ExportException: Port already in use: 3800; nested exception is:<o:p></o=
:p></p><p class=3DMsoNormal> java=
.net.BindException: Address already in use: JVM_Bind, SmartFrog 3.18<o:p></=
o:p></p><p class=3DMsoNormal>.002 (2010-09-20 04:13:24 EDT), cause: SmartFr=
ogRuntimeException:: SmartFrog dae<o:p></o:p></p><p class=3DMsoNormal>mon c=
ould not start because another instance is running, cause=
: java.rmi.serv<o:p></o:p></p><p class=3DMsoNormal>er.ExportException: Port=
already in use: 3800; nested exception is:<o:p></o:p></p><p class=3DMsoNor=
mal> java.net.BindException: Addr=
ess already in use: JVM_Bind, SmartFrog 3<o:p></o:p></p><=
p class=3DMsoNormal>.18.002 (2010-09-20 04:13:24 EDT)<o:p></o:p></p><p clas=
s=3DMsoNormal>2010/11/18 12:13:16:263 EET [DEBUG][main] SFCORE_LOG - SmartF=
rog System.Exit cod<o:p></o:p></p><p class=3DMsoNormal>e: 1, v3.18.002<o:p>=
</o:p></p><p class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>D:=
\tmp\Externals\Java\smartfrog\bin><o:p></o:p></p><p class=3DMsoNormal>=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D<o:p></o:p></p><p class=3DMsoNormal><span style=3D'col=
or:#1F497D'><o:p> </o:p></span></p><p class=3DMsoNormal><span style=3D=
'color:#1F497D'>We get the same exception when launching SmartFrog using th=
e test harness. We have checked the port and found that it is not in use at=
any point and that no SmartFrog daemon instances are running in the backgr=
ound. The most remarkable thing is that in multi-user environments the prob=
lem occurs only with certain accounts. When SmartFrog is launched on the sa=
me machine from the same location by a different user, we don’t see t=
his exception. What is also puzzling is that the problem emerged suddenly a=
nd for no apparent reason: we are not aware of any changes to the system th=
at could have occasioned this error.<o:p></o:p></span></p><p class=3DMsoNor=
mal><span style=3D'color:#1F497D'><o:p> </o:p></span></p><p class=3DMs=
oNormal><span style=3D'color:#1F497D'>This happens with SmartFrog v. 3.18.0=
02 running on at least three different machines under Windows 7 and Windows=
Server 2008 R2 Standard with Java SE v. 1.6 runtime environment. The probl=
em account has administrative privileges.<o:p></o:p></span></p><p class=3DM=
soNormal><span style=3D'color:#1F497D'><o:p> </o:p></span></p><p class=
=3DMsoNormal><span style=3D'color:#1F497D'>Any help would be appreciated.<o=
:p></o:p></span></p><p class=3DMsoNormal><span style=3D'color:#1F497D'><o:p=
> </o:p></span></p><p class=3DMsoNormal><span style=3D'color:#1F497D'>=
Dmitry<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'color:#1F49=
7D'><o:p> </o:p></span></p></div></body></html>=
--_000_29F36C7C98AB09499B1A209D48EAA615B4FF7AD2D3mail2aalliedt_--
--===============7905248884467553263==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
--===============7905248884467553263==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Smartfrog-users mailing list
Smartfrog-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/smartfrog-users
--===============7905248884467553263==--