14
java.lang.ClassCastException: Unable to load class in WID
Posted by | Posted in WebSphere, Websphere Process Server / Integration Developer | Posted on 14-04-2008
Tagged Under : WebSphere, WebSphere Integration Developer, WebSphere Process Server, WID, WPS
java.lang.ClassCastException: Unable to load class: com.ibm.task.api._HumanTaskManagerHome_Stub at com.ibm.rmi.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:371) at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:157) |
This error because the BPC client APIs are not available for the module. You need bpe137650.jar if you are accessing the Business Process APIs and task137650.jar if you are accessing Human Task APIs. To add this to your WID module, create two shared libraries pointing to bpe137650.jar and task137650.jar as mentioned in Create a shared library in WebSphere and associate this shared library to your WID module from admin console as mentioned here Associate a shared library to an application


