aspose file tools
The moose likes Servlets and the fly likes classcastException Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "classcastException" Watch "classcastException" New topic
Author

classcastException

preethi Ayyappan
Ranch Hand

Joined: Oct 04, 2007
Posts: 518
Hi,
when i am trying to run a servlet program ,it is showing the following error:


java.lang.ClassCastException: org.apache.catalina.connector.RequestFacade cannot be cast to javax.servlet.sip.SipServletRequest
javax.servlet.sip.SipServlet.service(SipServlet.java:99)


please help me to solve this problem.

Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56192
    
  13

Without seeing the code that causes the error?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

They both extend javax.servlet.ServletRequest, but that's about all you get.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: classcastException
 
Similar Threads
Weird error
TOMCAT Environmental Variables
design the Java swing with dynamic creation of JTextfield,JLabel,Jcombobox
NX: Reading from the DB
SCJP 1.5 review - not a so good test?