Vedran Zeljeznak | hm, looks like i stumbled to an unusual problem: i'm writing a web-app which runs within spring framework(v3.0.0) and Jetty(v6.1.25) and has a component that has to connect to CUCM via JTapi(Cisco JTAPI 6.1(4.1200)-2 Release). The component runs fine within standard Java app (ran from .main() method) but when i run the component from Jetty+Spring container a ClassCastException happens on the following line of code: CiscoProvider cProvider = (CiscoProvider) peer.getProvider ("10.0.0.102;login=user;passwd=pass");
Exception log: java.lang.ClassCastException: com.cisco.jtapi.ProviderImpl cannot be cast to com.cisco.jtapi.extensions.CiscoProvider
I don't know what could be the reason for this behavior. Does anybody have any info or has witnessed/solved this "phenomenon"? |
| Please sign in to flag this as inappropriate. |