[SAILFIN-1639] Problem in servlet. java.lang.IllegalStateException: SipSession is not valid. Created: 02/Mar/09  Updated: 25/Nov/10  Resolved: 24/Aug/09

Status: Resolved
Project: sailfin
Component/s: sip_container
Affects Version/s: 2.0
Fix Version/s: b30

Type: Bug Priority: Major
Reporter: easarina Assignee: Bhavanishankar
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: Sun


Attachments: Text File server.log.sipsession    
Issue Links:
Dependency
blocks SAILFIN-1804 invite-proxy, ssr enabled. A lot of N... Resolved
Issuezilla Id: 1,639

 Description   

******************************************************************************************************

  • Template v0.1 ( 05/01/08 )
  • Sailfin Stress test issue
    ******************************************************************************************************
    Sailfin Build : 03
    Cluster size : 10
    Happens in a single instance (y/n) ? : NA
    Test id : st3_1_invite
    Location of the test : as-telco-sqe/stress-ws/invite
    JDK version : 1.6.0_07
    CLB used : Yes
    HW LB used : No.
    SSR: disabled

=======================================================
Was used UDP -u1, 64 bits JVM, 6 GB heap size
==============================================================
10 Solaris 10 x86 machines, one instance per the machine, 10 instances in a
cluster.

AND

10 SuSE machines, one instance per the machine, 10 instances in a cluster.

Against each instance was executed such sipp command:

./sipp -sf ./st3_1_invite_uac.xml -r 220 -p 5881 -t u1 -rsa <machine1>:35060
-nd -trace_err -buff_size 33554432 <machine2>:5091

./sipp -sf ./st3_1_invite_uas.xml -t u1 -trace_err -buff_size 33554432 -i
<machine2> -p 5091 -nd

During this run against SuSE were created 635177 "Dead call" sipp errors and
against x86 - 93168 "Dead call" sipp errors.

At all server.log files I saw many: "Problem in servlet.
java.lang.IllegalStateException: SipSession is not valid." error messages.

See the full error message at the bottom.

I've attached one server.log file.

======================================================================

[#|2009-02-27T22:00:37.128-0800|INFO|sun-glassfish-comms-server1.5|javax.enterprise.system.container.sip|_ThreadID=
23;_ThreadName=SipContainer-clientsWorkerThread-5060-7;|Problem in servlet.
java.lang.IllegalStateException: SipSession is not valid.
at
com.ericsson.ssa.sip.SipSessionImplBase.validateSessionState(SipSessionImplBase.java:250)
at
com.ericsson.ssa.sip.SipSessionImplBase.getState(SipSessionImplBase.java:1107)
at
com.ericsson.ssa.sip.SipSessionImplBase.updateSipSessionState(SipSessionImplBase.java:1241)
at
com.ericsson.ssa.sip.AbstractProxyImpl.invokeServlet(AbstractProxyImpl.java:312)
at
com.ericsson.ssa.sip.AbstractProxyImpl.invokeServletAndForward(AbstractProxyImpl.java:287)
at
com.ericsson.ssa.sip.ConfirmedProxyImpl.dispatch(ConfirmedProxyImpl.java:217)
at com.ericsson.ssa.sip.ProxyContext.dispatch(ProxyContext.java:188)
at
com.ericsson.ssa.container.sim.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:764)
at com.ericsson.ssa.sip.LayerHelper.next(LayerHelper.java:70)
at
com.ericsson.ssa.container.sim.ApplicationDispatcher.next(ApplicationDispatcher.java:884)
at com.ericsson.ssa.sip.LayerHelper.next(LayerHelper.java:77)
at com.ericsson.ssa.sip.LocalRouteManager.next(LocalRouteManager.java:106)
at com.ericsson.ssa.sip.LayerHelper.next(LayerHelper.java:77)
at com.ericsson.ssa.sip.DialogManager.next(DialogManager.java:729)
at com.ericsson.ssa.sip.LayerHelper.next(LayerHelper.java:77)
at com.ericsson.ssa.sip.dns.ResolverManager.next(ResolverManager.java:195)
at com.ericsson.ssa.sip.LayerHelper.next(LayerHelper.java:77)
at
com.ericsson.ssa.sip.persistence.ReplicationManager.next(ReplicationManager.java:124)
at com.ericsson.ssa.sip.LayerHelper.next(LayerHelper.java:77)
at
com.ericsson.ssa.sip.transaction.TransactionManager.next(TransactionManager.java:351)
at com.ericsson.ssa.sip.LayerHelper.next(LayerHelper.java:77)
at
org.jvnet.glassfish.comms.clb.core.sip.SipLoadBalancerManagerBackEnd.next(SipLoadBalancerManagerBackEnd.
java:210)
at com.ericsson.ssa.sip.LayerHelper.next(LayerHelper.java:77)
at
org.jvnet.glassfish.comms.clb.core.sip.SipRequestGroup.handleIncomingResponse(SipRequestGroup.java:168)
at
org.jvnet.glassfish.comms.clb.core.sip.SipLoadBalancerManager.next(SipLoadBalancerManager.java:190)
at com.ericsson.ssa.sip.LayerHelper.next(LayerHelper.java:77)
at
com.ericsson.ssa.container.OutboundFlowManager.next(OutboundFlowManager.java:258)
at com.ericsson.ssa.sip.LayerHelper.next(LayerHelper.java:77)
at
com.ericsson.ssa.container.GrizzlyNetworkManager.next(GrizzlyNetworkManager.java:1270)
at com.ericsson.ssa.sip.LayerHelper.next(LayerHelper.java:77)
at
com.ericsson.ssa.container.MessageProcessorFilter.processMessage(MessageProcessorFilter.java:439)
at
com.ericsson.ssa.container.MessageProcessorFilter.execute(MessageProcessorFilter.java:300)
at
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:136)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
at
com.ericsson.ssa.container.GrizzlyNetworkManager$SharedCallbackHandler.onRead(GrizzlyNetworkManager.java
:2749)
at
com.sun.grizzly.CallbackHandlerContextTask.doCall(CallbackHandlerContextTask.java:76)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
at
com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)

.



 Comments   
Comment by easarina [ 02/Mar/09 ]

Created an attachment (id=980)
server.log

Comment by easarina [ 02/Mar/09 ]

Sailfin 2.0 b03

Comment by ehsroha [ 04/Mar/09 ]

Reassign to Ramesh

Comment by easarina [ 16/Mar/09 ]

When I've run this test against b05, using TCP t1, I saw identical problems on
x86 and SuSE machines.

Comment by rampsarathy [ 12/May/09 ]

Assigning to Bhavani

Comment by Bhavanishankar [ 24/Aug/09 ]
      • Issue 1804 has been marked as a duplicate of this issue. ***
Comment by Bhavanishankar [ 24/Aug/09 ]

This is fixed, check-in details are at

https://sailfin.dev.java.net/servlets/ReadMsg?list=cvs&msgNo=7462

The fix will be available in v2 b30.

Generated at Tue Feb 09 06:16:49 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.