Troubleshooting
Problem
When you use wsadmin tooling to install an enterprise archive (EAR) file that contains a Session Initiation Protocol (SIP) application archive (SAR) files and leverages SIP annotations, you might encounter the following ClassCastExpection exception:
[]
java.lang.TypeNotPresentException: Type javax.servlet.sip.annotation.SipApplication not present
...
Caused by: java.lang.ClassNotFoundException: javax.servlet.sip.annotation.SipApplication
[
]
Cause
The SIP container within the Version 7.0.0.5 base enablement code contains changes that are required to properly enable the function for the Feature Pack for Communications Enabled Applications.
Diagnosing The Problem
When you attempt to deploy the EAR file, you might see exceptions with text that is similar to the following exceptions:
java.lang.TypeNotPresentException:
Type javax.servlet.sip.annotation.SipApplication not present
at
com.ibm.oti.reflect.AnnotationHelper.getAnnotation
(AnnotationHelper.java:38)
at
com.ibm.oti.reflect.AnnotationHelper.getDeclaredAnnotations
(AnnotationHelper.java:50)
at
java.lang.Class.getDeclaredAnnotations
(Class.java:1628)
at
java.lang.Class.getAnnotations
(Class.java:1589)
at
java.lang.Class.getAnnotation
(Class.java:1569)
at
com.ibm.ws.sip.container.annotation.
SipModuleAnnotationProcessor.processSipApplicationAnnotations
(SipModuleAnnotationProcessor.java:282)
...more...
Caused by: java.lang.ClassNotFoundException:
javax.servlet.sip.annotation.SipApplication
at
java.lang.Class.forName(Class.java:169)
at
com.ibm.oti.reflect.AnnotationHelper.getAnnotation
(AnnotationHelper.java:33)
Resolving The Problem
To resolve this problem, complete the following steps:
- Download one of the following fixes from the IBM WebSphere Application Server Support site:
- Interim Fix PK91583
- Fix Pack 7 or later
- Use the applicable Update Installer (UPDI) for your operating system to apply the update to your installation. You can use the following Update Installers:
Related Information
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21394389