Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 2427 by [email protected]: Serialize/Deserialize SipServletResponse in NO cluster environment exception
http://code.google.com/p/mobicents/issues/detail?id=2427

What steps will reproduce the problem?
1. Use mobicents sip-servlet with Tomcat, write an simple application (register for example)
2. Once get response, try to serialize thie SipServletResponse object

What is the expected output? What do you see instead?
It suppose to be able to serialize and deserialize, the actual result is: it throw class cast exception.

What version of the product are you using? On what operating system?
1.5.0 Final on Linux and Mac

Please provide any additional information below.
Attached file will only check if SipStack is an instance of Cluster SipStack, otherwise, it will not do anything. This could cause issue if serialize from a no cluster environment but deserialize to cluster environment. There probably should be another boolean to indicate that.

Attachments:
        SipServletMessageSerialize.patch  1.4 KB

Reply via email to