JMS server connection issue

Govinda Rao Deyyam <[email protected]> Wed, 26 Dec 2007 16:29:30 +0530
Newsgroups gmane.comp.java.openjms.user
Message-ID <8445DDB6D0F7E64B927D8C24AB484641166DFEF2DD@BLRKECMBX01.ad.infosys.com>
--===============1823038401==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_8445DDB6D0F7E64B927D8C24AB484641166DFEF2DDBLRKECMBX01ad_"

--_000_8445DDB6D0F7E64B927D8C24AB484641166DFEF2DDBLRKECMBX01ad_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable


Hi Tim,

We are facing some problem with OpenJMS server where it suddenly failing in=
 providing the connections. Due to this all the applications are getting=
 hung.
Attached are the logs for your reference.
Can you please throw some light on this?

19:04:35.456 INFO  [EventManager-Worker-2] - DMGC Collected 0 destinations,=
 23 remaining.
19:04:39.064 ERROR [server-1186] - Failed to createDestinationCache=
 org.exolab.jms.messagemgr.FailedToInitializeException: Error initialising=
 org.exolab.jms.m
essagemgr.MessageLeaseHelperException: Failed to create lease helper for=
 request6-true b/c org.exolab.jms.persistence.PersistenceException: Failed=
 to get pool
ed connection
19:04:39.147 ERROR [Thread-0] - Failed to create new connection
java.net.SocketException: Too many open files
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
        at java.net.ServerSocket.implAccept(ServerSocket.java:448)
        at java.net.ServerSocket.accept(ServerSocket.java:419)
        at=
 org.exolab.core.mipc.MultiplexConnectionServer.run(MultiplexConnectionServ=
er.java:141)
19:05:39.464 ERROR [Thread-0] - Failed to create new connection
java.net.SocketException: Too many open files
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
        at java.net.ServerSocket.implAccept(ServerSocket.java:448)
        at java.net.ServerSocket.accept(ServerSocket.java:419)
        at=
 org.exolab.core.mipc.MultiplexConnectionServer.run(MultiplexConnectionServ=
er.java:141)



[cocom@lonros56 log]$ more basicqueueprovider
25.12.2007-21:50:02 [main] : >>> QueueProviderFactory:=
 initializeJMSConnection requested
25.12.2007-21:50:02 [main] :     exception javax.naming.NamingException:=
 Failed to connect to JNDI provider [Root exception is=
 java.net.ConnectException: Conn
ection refused]
25.12.2007-21:50:02 [main] : <<< QueueProviderFactory:=
 initializeJMSConnection failed
25.12.2007-21:50:02 [main] : >>> reawake: initializeJMS requested
25.12.2007-21:50:02 [main] : >>> QueueProviderFactory:=
 initializeJMSConnection requested
25.12.2007-21:50:02 [main] :     exception javax.naming.NamingException:=
 Failed to connect to JNDI provider [Root exception is=
 java.net.ConnectException: Conn
ection refused]




**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended=
 solely for the use of the addressee(s). If you are not the intended=
 recipient, please notify the sender by e-mail and delete the original=
 message. Further, you are not to copy, disclose, or distribute this e-mail=
 or its contents to any other person and any such actions are unlawful.=
 This e-mail may contain viruses. Infosys has taken every reasonable=
 precaution to minimize this risk, but is not liable for any damage you may=
 sustain as a result of any virus in this e-mail. You should carry out your=
 own virus checks before opening the e-mail or attachment. Infosys reserves=
 the right to monitor and review the content of all messages sent to or=
 from this e-mail address. Messages sent to or from this e-mail address may=
 be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
--_000_8445DDB6D0F7E64B927D8C24AB484641166DFEF2DDBLRKECMBX01ad_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=
=3D"urn:schemas-microsoft-com:office:word" xmlns:st1=
=3D"urn:schemas-microsoft-com:office:smarttags" 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"Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"State"/>
<o:SmartTagType namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'>Hi Tim,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'>We are facing some problem with OpenJMS server where it
suddenly failing in providing the connections. Due to this all the=
 applications
are getting hung.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'>Attached are the logs for your=
 reference.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'>Can you please throw some light on this?=
 <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>19:04:35.456 INFO&nbsp;
[EventManager-Worker-2] - DMGC Collected 0 destinations, 23=
 remaining.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>19:04:39.064 ERROR [server-1186] -=
 Failed
to createDestinationCache
org.exolab.jms.messagemgr.FailedToInitializeException: Error initialising
org.exolab.jms.m<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>essagemgr.MessageLeaseHelperException:
Failed to create lease helper for request6-true b/c
org.exolab.jms.persistence.PersistenceException: Failed to get=
 pool<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>ed=
 connection<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>19:04:39.147 ERROR [Thread-0] - Failed=
 to
create new connection<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>java.net.SocketException: Too many=
 open
files<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;
at java.net.PlainSocketImpl.socketAccept(Native=
 Method)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;
at=
 java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)<o:p></o:p></span=
></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;
at=
 java.net.ServerSocket.implAccept(ServerSocket.java:448)<o:p></o:p></span><=
/font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;
at=
 java.net.ServerSocket.accept(ServerSocket.java:419)<o:p></o:p></span></fon=
t></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;
at
org.exolab.core.mipc.MultiplexConnectionServer.run(MultiplexConnectionServe=
r.java:141)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>19:05:39.464 ERROR [Thread-0] - Failed=
 to
create new connection<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>java.net.SocketException: Too many=
 open
files<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;
at java.net.PlainSocketImpl.socketAccept(Native=
 Method)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;
at=
 java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)<o:p></o:p></span=
></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;
at=
 java.net.ServerSocket.implAccept(ServerSocket.java:448)<o:p></o:p></span><=
/font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;
at=
 java.net.ServerSocket.accept(ServerSocket.java:419)<o:p></o:p></span></fon=
t></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;
at=
 org.exolab.core.mipc.MultiplexConnectionServer.run(MultiplexConnectionServ=
er.java:141)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>[cocom@lonros56 log]$ more
basicqueueprovider<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>25.12.2007-21:50:02 [main] :=
 &gt;&gt;&gt;
QueueProviderFactory: initializeJMSConnection=
 requested<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>25.12.2007-21:50:02 [main]
:&nbsp;&nbsp;&nbsp;&nbsp; exception javax.naming.NamingException: Failed to
connect to JNDI provider [Root exception is java.net.ConnectException:=
 <st1:State
w:st=3D"on"><st1:place w:st=
=3D"on">Conn</st1:place></st1:State><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>ection=
 refused]<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>25.12.2007-21:50:02 [main] :=
 &lt;&lt;&lt;
QueueProviderFactory: initializeJMSConnection=
 failed<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>25.12.2007-21:50:02 [main] :=
 &gt;&gt;&gt;
reawake: initializeJMS requested<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>25.12.2007-21:50:02 [main] :=
 &gt;&gt;&gt;
QueueProviderFactory: initializeJMSConnection=
 requested<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>25.12.2007-21:50:02 [main]
:&nbsp;&nbsp;&nbsp;&nbsp; exception javax.naming.NamingException: Failed to
connect to JNDI provider [Root exception is java.net.ConnectException:=
 <st1:State
w:st=3D"on"><st1:place w:st=
=3D"on">Conn</st1:place></st1:State><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:blue'>ection=
 refused]<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=
=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

<table><tr><td bgcolor=3D#ffffff><font color=3D#000000>****************=
 CAUTION - Disclaimer *****************<br>
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended=
 solely for the use of the addressee(s). If you are not the intended=
 recipient, please notify the sender by e-mail and delete the original=
 message. Further, you are not to copy, disclose, or distribute this e-mail=
 or its contents to any other person and any such actions are unlawful.=
 This e-mail may contain viruses. Infosys has taken every reasonable=
 precaution to minimize this risk, but is not liable for any damage you may=
 sustain as a result of any virus in this e-mail. You should carry out your=
 own virus checks before opening the e-mail or attachment. Infosys reserves=
 the right to monitor and review the content of all messages sent to or=
 from this e-mail address. Messages sent to or from this e-mail address may=
 be stored on the Infosys e-mail system.<br>
***INFOSYS******** End of Disclaimer ********INFOSYS***<br>
</font></td></tr></table>
--_000_8445DDB6D0F7E64B927D8C24AB484641166DFEF2DDBLRKECMBX01ad_--



--===============1823038401==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--===============1823038401==
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

--===============1823038401==--