Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 1989 by mvolskis: UAC registration fails
http://code.google.com/p/mobicents/issues/detail?id=1989
What steps will reproduce the problem?
1. UAC tries to register at Mobicents SIP server
2. and server responds with "500 Server Internal Error"
3.
What version of the product are you using? On what operating system?
Server: mss-1.3.2-jboss-jdk6-5.1.0.GA
UAC: Ekiga 2.0.2
OS: CentOS 5.4
Please provide any additional information below.
My application is very simple, it has only "doRegister" method which has to
send 200 OK as reponse.
Server's log file:
2010-10-22 00:34:36,632 ERROR
[org.mobicents.servlet.sip.core.dispatchers.DispatchTask]
(Mobicents-SIP-Servlets-UDPMessageChannelThread-27) Unexpected exception
while processing message REGISTER sip:127.0.0.1 SIP/2.0
CSeq: 42 REGISTER
Via: SIP/2.0/UDP
10.0.2.15:5073;branch=z9hG4bK8ecf880d-d1db-df11-9140-080027d1361b;rport=5073;received=10.0.2.15
User-Agent: Ekiga/2.0.2
From: <sip:[email protected]:5080>;tag=5ac7880d-d1db-df11-9140-080027d1361b
Call-ID: [email protected]
To: <sip:[email protected]:5080>
Contact: <sip:[email protected]:5073;transport=udp>
Allow: INVITE,ACK,OPTIONS,BYE,CANCEL,NOTIFY,REFER,MESSAGE
Expires: 3600
Max-Forwards: 70
Content-Length: 0
java.lang.ClassCastException:
org.mobicents.servlet.sip.message.SipServletRequestImpl cannot be cast to
javax.servlet.sip.SipServletRequest
at javax.servlet.sip.SipServlet.service(SipServlet.java:325)
at
org.mobicents.servlet.sip.core.dispatchers.MessageDispatcher.callServlet(MessageDispatcher.java:236)
at
org.mobicents.servlet.sip.core.dispatchers.InitialRequestDispatcher$InitialDispatchTask.dispatch(InitialRequestDispatcher.java:702)
at
org.mobicents.servlet.sip.core.dispatchers.DispatchTask.dispatchAndHandleExceptions(DispatchTask.java:55)
at
org.mobicents.servlet.sip.core.dispatchers.InitialRequestDispatcher.dispatchInsideContainer(InitialRequestDispatcher.java:411)
at
org.mobicents.servlet.sip.core.dispatchers.InitialRequestDispatcher.dispatchMessage(InitialRequestDispatcher.java:288)
at
org.mobicents.servlet.sip.core.SipApplicationDispatcherImpl.processRequest(SipApplicationDispatcherImpl.java:671)
at gov.nist.javax.sip.EventScanner.deliverEvent(EventScanner.java:227)
at
gov.nist.javax.sip.SipProviderImpl.handleEvent(SipProviderImpl.java:193)
at
gov.nist.javax.sip.DialogFilter.processRequest(DialogFilter.java:1297)
at
gov.nist.javax.sip.stack.SIPServerTransaction.processRequest(SIPServerTransaction.java:844)
at
gov.nist.javax.sip.stack.UDPMessageChannel.processMessage(UDPMessageChannel.java:530)
at
gov.nist.javax.sip.stack.UDPMessageChannel.processIncomingDataPacket(UDPMessageChannel.java:487)
at
gov.nist.javax.sip.stack.UDPMessageChannel.run(UDPMessageChannel.java:295)
at java.lang.Thread.run(Thread.java:636)
Attachments:
server.log 21.3 KB