IBM Support

A ClassNotFoundException exception occurs when using wsadmin to install an EAR file that includes SAR files

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 []

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Administrative Scripting Tools (for example: wsadmin or ANT)","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.0.0.5","Edition":"Feature Pack for CEA","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
WebSphere Application Server

Software version:
7.0.0.5

Operating system(s):
AIX, HP-UX, Linux, Solaris, Windows

Document number:
393037

Modified date:
03 March 2025

UID

swg21394389

Manage My Notification Subscriptions