


 



<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docwiki.cisco.com/w/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docwiki.cisco.com/w/index.php?title=Calls_are_failing_with_ApplicationMaxSessionsException_because_there_are_not_enough_sessions_created_for_an_ICM_application_in_IPIVR&amp;feed=atom&amp;action=history</id>
		<title>Calls are failing with ApplicationMaxSessionsException because there are not enough sessions created for an ICM application in IPIVR - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docwiki.cisco.com/w/index.php?title=Calls_are_failing_with_ApplicationMaxSessionsException_because_there_are_not_enough_sessions_created_for_an_ICM_application_in_IPIVR&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Calls_are_failing_with_ApplicationMaxSessionsException_because_there_are_not_enough_sessions_created_for_an_ICM_application_in_IPIVR&amp;action=history"/>
		<updated>2013-05-19T09:47:07Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://docwiki.cisco.com/w/index.php?title=Calls_are_failing_with_ApplicationMaxSessionsException_because_there_are_not_enough_sessions_created_for_an_ICM_application_in_IPIVR&amp;diff=42378&amp;oldid=prev</id>
		<title>Cchetty: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Calls_are_failing_with_ApplicationMaxSessionsException_because_there_are_not_enough_sessions_created_for_an_ICM_application_in_IPIVR&amp;diff=42378&amp;oldid=prev"/>
				<updated>2011-09-09T06:57:07Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 06:57, 9 September 2011&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Cchetty</name></author>	</entry>

	<entry>
		<id>http://docwiki.cisco.com/w/index.php?title=Calls_are_failing_with_ApplicationMaxSessionsException_because_there_are_not_enough_sessions_created_for_an_ICM_application_in_IPIVR&amp;diff=42377&amp;oldid=prev</id>
		<title>Sansahoo: /* Calls are aborted due to number of sessions configured on the application reaching the maximum limit */</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Calls_are_failing_with_ApplicationMaxSessionsException_because_there_are_not_enough_sessions_created_for_an_ICM_application_in_IPIVR&amp;diff=42377&amp;oldid=prev"/>
				<updated>2010-04-12T11:31:26Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Calls are aborted due to number of sessions configured on the application reaching the maximum limit&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Calls are aborted due to number of sessions configured on the application reaching the maximum limit  ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! '''Problem Summary'''&lt;br /&gt;
| Calls are aborted due to number of sessions configured on the application reaching the maximum limit.   &lt;br /&gt;
|-&lt;br /&gt;
! '''Error Message'''&lt;br /&gt;
| Calls are aborted due to ApplicationMaxSessionsException.&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! '''Possible Cause'''&lt;br /&gt;
| Check if there are following exceptions in the MIVR logs :&lt;br /&gt;
&lt;br /&gt;
922377: Jun 26 15:42:34.593 GMT+800 %MIVR-SS_TEL-7-UNK:Call.aborted&lt;br /&gt;
(com.cisco.app.ApplicationMaxSessionsException: max of 67 reached for application 'InComing Call') JTAPICallContact[id=8610,implId=15319139/3,inbound=true,&lt;br /&gt;
Appname=InComing Call,task=337000031606,session=343000008145,seqnum=0,cn=88008,dn=88008,cgn=013376039680,ani=null,&lt;br /&gt;
dnis=null,clid=null,atype=REDIRECT,lrd=75100,ocn=75100,route=RP[num=88008],TP=82034]&lt;br /&gt;
&lt;br /&gt;
This can be the case when &lt;br /&gt;
1) a call is over but the application continue processing (like for DB cleanup or other similar tasks). &lt;br /&gt;
2) Basically, based on how customer built their application, they need to account for the fact that &lt;br /&gt;
it might run longer after the call is over at which point the ports and media channels are released &lt;br /&gt;
and can be re-used by the system. In this case, they are but when it comes to triggering the application, &lt;br /&gt;
there is no more sessions available for it since the other one is still running.   &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! '''Recommended Action'''&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
1) It could be that there are some stuck sessions in the system, due to which sessions are &lt;br /&gt;
not getting released for the new calls. To confirm this, check the application tasks in RTR reports &lt;br /&gt;
to see if there are any sessions stuck for a long duration. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also, there could be following deadlock exceptions in the logs, due to a deadlock situation &lt;br /&gt;
while executing step :StepHost which is called while executing some custom Java Method in the IVR script.&lt;br /&gt;
 &lt;br /&gt;
190026: ÁùÔÂ 30 12:41:48.958 GMT+800 %MIVR-MGR_MGR-0-THREADS_DUMP:Java Virtual Machine Threads Dump: Message=null,Exception=com.cisco.lang.DeadlockError: potential deadlock detected&lt;br /&gt;
&lt;br /&gt;
In the above case, the script is stuck inside customer-defined code which is not returning the control back to UCCX. As such, the task will hang there and the application session and the task instance will never be released.&lt;br /&gt;
&lt;br /&gt;
The customer should investigate their code to figure out why they are blocking.&lt;br /&gt;
&lt;br /&gt;
Correct the script and try out the calls.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2) If the number of sessions are not sufficient to handle the incoming calls, then the new calls will get&lt;br /&gt;
abandoned. Try increasing the number of sessions and see if this resolves the issue. &lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
! '''Release'''&lt;br /&gt;
| Release 4.5.2&lt;br /&gt;
|-&lt;br /&gt;
! '''Associated CDETS #'''&lt;br /&gt;
| None.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Unified CCX, Release 8.0]]&lt;/div&gt;</summary>
		<author><name>Sansahoo</name></author>	</entry>

	</feed>