Pages

Friday, 23 January 2015

ava.lang.ClassCastException

From ICN desktop configuration to select repository under workflow tab, got this error:

[1/23/15 14:59:42:909 PST] 000000ac ServletWrappe I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [navigator] [/navigator] [/error.jsp]: Initialization successful.
[1/23/15 15:00:18:751 PST] 000000ac SystemOut     O CIWEB Error: [Administrator @ 192.168.1.1] com.ibm.ecm.util.p8.P8Workflow.getVWSession()
java.lang.ClassCastException:
>> SERVER (id=3d2e6dfb, host=ce) TRACE START:
>>    java.lang.ClassCastException: [B incompatible with java.lang.String
>>         at filenet.vw.server.rpc._EJSRemote0SLPESENDAPIRPC_7f999854_Tie.sendCommandBytes(_EJSRemote0SLPESENDAPIRPC_7f999854_Tie.java:100)
>>         at filenet.vw.server.rpc._EJSRemote0SLPESENDAPIRPC_7f999854_Tie._invoke(_EJSRemote0SLPESENDAPIRPC_7f999854_Tie.java)
>>         at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:669)
>>         at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:523)
>>         at com.ibm.rmi.iiop.ORB.process(ORB.java:523)
>>         at com.ibm.CORBA.iiop.ORB.process(ORB.java:1575)
>>         at com.ibm.rmi.iiop.Connection.doRequestWork(Connection.java:3039)
>>         at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2922)
>>         at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:64)
>>         at com.ibm.ws.giop.threadpool.WorkQueueElement.dispatch(WorkQueueElement.java:165)
>>         at com.ibm.ws.giop.filter.GiopFilterChain.processMessage(GiopFilterChain.java:203)
>>         at com.ibm.ws.giop.threadpool.PooledThread.handleRequest(PooledThread.java:81)
>>         at com.ibm.ws.giop.threadpool.PooledThread.run(PooledThread.java:102)
>>         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)
>> SERVER (id=3d2e6dfb, host=ce) TRACE END.

at filenet.pe.ejb.client.PEEJBSession.executeRPC(PEEJBSession.java:861)
at filenet.pe.ejb.client.PEEJBSession.fetchStaticConfigInfo(PEEJBSession.java:3317)
at filenet.pe.ejb.client.PEEJBSession.getIsolatedRegion(PEEJBSession.java:958)
at filenet.pe.ejb.client.PEEJBSession.setClientLocale(PEEJBSession.java:2787)

at filenet.vw.api.VWSession.setClientLocale(VWSession.java:5


The reason is the ICN client jar files are not synchronize with CPE server, so just use configuration manager to download the latest jar files and re-build navigator ear and re-deploy it.

No comments:

Post a Comment