Long delay in CreateSession on some computers
sunil chiluvuri <[email protected]> Wed, 2 May 2012 00:52:15 -0700
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <CA+LRXw23JTNFP3rfqN9aRMXS3tau+fmvUmr80kCySkvxMLTMHw@mail.gmail.com> |
--===============6966845100062582787==
Content-Type: multipart/alternative; boundary=0015175cf7646cfb3e04bf08f8d0
--0015175cf7646cfb3e04bf08f8d0
Content-Type: text/plain; charset=ISO-8859-1
Hi,
We have been using OpenJMS for sending messages and have found it to be
great.
However, one of the members of our team recently changed his router and is
experiencing long delays in getting a Session.
On most systems the line
javax.jms.Session session = s_JmsConnection.createSession(false,
javax.jms.Session.AUTO_ACKNOWLEDGE);
returns in about 4 seconds.
For servers in a single location that are behind a new router, it
consistently takes 189 seconds.
The server is configured with only the TCP connector.
<ServerConfiguration host="*.*.*.*" embeddedJNDI="true" />
<TcpConfiguration port="3035" jndiPort="3035" />
<Connectors>
<Connector scheme="tcp">
<ConnectionFactories>
<ConnectionFactory name="ConnectionFactory" />
</ConnectionFactories>
</Connector>
</Connectors>
Its truly baffling how changing a router is causing this huge delay in
getting a session. Any help is greatly appreciated.
Thanks
Sunil
--0015175cf7646cfb3e04bf08f8d0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,<div><br></div><div>We have been using OpenJMS for sending messages and =
have found it to be great.=A0</div><div><br></div><div>However, one of the =
members of our team recently changed his router and is experiencing long de=
lays in getting a Session.=A0</div>
<div><br></div><div>On most systems the line=A0<span class=3D"Apple-tab-spa=
n" style=3D"white-space:pre"> </span></div><div><br></div><div>javax.jms.=
Session session =3D s_JmsConnection.createSession(false, javax.jms.Session.=
AUTO_ACKNOWLEDGE);</div>
<div><br></div><div>returns in about 4 seconds.=A0</div><div><br></div><div=
>For servers in a single location that are behind a new router, it consiste=
ntly takes 189 seconds.=A0</div><div><br></div><div>The server is configure=
d with only the TCP connector.=A0</div>
<div><br></div><div><div><ServerConfiguration host=3D"*.*.*.*"=
embeddedJNDI=3D"true" /></div><div>=A0 <TcpConfiguration p=
ort=3D"3035" jndiPort=3D"3035" /></div><div>=A0 <=
Connectors></div>
<div>=A0 =A0 <Connector scheme=3D"tcp"></div><div>=A0 =A0 =
=A0 <ConnectionFactories></div><div>=A0 =A0 =A0 =A0 <ConnectionFac=
tory name=3D"ConnectionFactory" /></div><div>=A0 =A0 =A0 </=
ConnectionFactories></div>
<div>=A0 =A0 </Connector></div><div>=A0 </Connectors></div></di=
v><div><br></div><div>Its truly baffling how changing a router is causing t=
his huge delay in getting a session. Any help is greatly appreciated.=A0</d=
iv>
<div>
<br></div><div>Thanks</div><div>Sunil</div><div><br></div><div><br></div>
--0015175cf7646cfb3e04bf08f8d0--
--===============6966845100062582787==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
--===============6966845100062582787==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
openjms-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openjms-user
--===============6966845100062582787==--