IBM Support

PK71855; 7.0: Cumulative WebSphere Application Server V7.0 ejbdeploy updates

Download


Abstract

ClassCastException errors may occur during deployment code generation or during RMIC invocation.

Download Description

PK71855 resolves the following problem:

ERROR DESCRIPTION:?
This APAR will be used to correct the following two problems that may occur when using IBM® WebSphere® Application Serverv7.0 EJBDeploy:

1) java.lang.ClassCastException:
org.eclipse.jst.j2ee.application.internal.impl.ApplicationImpl cannot be cast to
org.eclipse.jst.javaee.application.Application

2) Bad EJB Stubs generated for HP-UX that can lead to a java.lang.ClassCastException at runtime, similar to:

java.lang.ClassCastException: $Proxy34 cannot be cast to
com.sun.ts.tests.ejb.ee.timer.helper.
EJSRemoteCMPcom_sun_ts_tests_ejb_ee_timer_enHome_fcf0fa93
at com.sun.ts.tests.ejb.ee.timer.helper.
_EJSRemoteCMPcom_sun_ts_tests_ejb_ee_timer_enHome_fcf0fa93_Stub.
create(Unknown Source)
at com.sun.ts.tests.ejb.ee.timer.entity.cmp20.
TestBeanEJB.createFlagStoreAndTimer(TestBeanEJB.java:434)
at com.sun.ts.tests.ejb.ee.timer.entity.cmp20.
EJSRemoteCMPcom_sun_ts_tests_ejb_ee_timer_en_c02be7db.
createFlagStoreAndTimer(Unknown Source)
at com.sun.ts.tests.ejb.ee.timer.entity.cmp20.
_EJSRemoteCMPcom_sun_ts_tests_ejb_ee_timer_en_c02be7db_Tie.
_invoke(Unknown Source)
at com.ibm.CORBA.iiop.ServerDelegate.
dispatchInvokeHandler(ServerDelegate.java:622)
at com.ibm.CORBA.iiop.ServerDelegate.
dispatch(ServerDelegate.java:475)
at com.ibm.rmi.iiop.ORB.process(ORB.java:504)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1571)
at com.ibm.rmi.iiop.Connection.respondTo(Connection.java:2771)
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2640)
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:63)
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:118)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)

This APAR fix also requires the following prerequisite fixes:

1) APAR PK71773.
2) For the iSeries platform:
V5R4: 5722JV1 SI32980
V6R1: 5761JV1 SI32981

LOCAL FIX:?

PROBLEM SUMMARY:?

USERS AFFECTED:
All users of the WebSphere Application Server V7.0 EJBDeploy code generation tool.

PROBLEM DESCRIPTION:
ClassCastException errors may occur during deployment code generation or during RMIC invocation.

RECOMMENDATION:
None

A ClassCastException may occur during deployment code generation and the underlying Eclipse WTP functionality and is documented here:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=243832

A ClassCastException may also occur on the HPUX or iSeries platforms during RMIC code generation that will look similar to the following:

java.lang.ClassCastException: $Proxy34 cannot be cast to com.sun.ts.tests.ejb.ee.timer.helper.
EJSRemoteCMPcom_sun_ts_tests_ejb_ee_timer_enHome_fcf0fa93
at com.sun.ts.tests.ejb.ee.timer.helper.
_EJSRemoteCMPcom_sun_ts_tests_ejb_ee_timer_enHome_fcf0fa93_Stub.create(Unknown Source)

PROBLEM CONCLUSION:?
EJBDeploy has updated the Eclipse WTP version to include the fix for the ClassCastException that can occur during deployment code generation. As well, a special case has been added for the HP-UX® and iSeries RMIC invocation to make sure the ibmtools.jar and tools.jar from the JDK are included on
the classpath of RMIC.

The fix for this APAR is currently targeted for inclusion in fixpack 7.0.0.1.

Please refer to the Recommended Updates page for delivery information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980

Prerequisites

Please download the UpdateInstaller below to install this fix.

[{"PRLabel":"UpdateInstaller","PRLang":"US English","PRSize":"7250000","PRPlat":{"label":"AIX","code":"PF002"},"PRURL":"http://www.ibm.com/support/docview.wss?rs=180&uid=swg21205991"}]

Installation Instructions

Please review the readme.txt for detailed installation instructions.

[{"INLabel":"Readme","INLang":"US English","INSize":"8707","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK71855/readme.txt"}]

Download Package

Download package
What is Fix Central (FC)?
What is DD?

Download RELEASE DATE LANGUAGE SIZE(Bytes) Download Options
7.0-WS-WAS-IFPK7185509-22-2008US English45690FCFTPDD

On
[{"DNLabel":"7.0-WS-WAS-IFPK71855","DNDate":"09-22-2008","DNLang":"US English","DNSize":"45690","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":null,"DNURL_FTP":null,"DDURL":null}]

Technical Support

Contact IBM Support using SR (http://www-306.ibm.com/software/support/probsub.html), visit the WebSphere Application Server Support Web site (http://www.ibm.com/software/webservers/appserv/was/support/), or contact 1-800-IBM-SERV(U.S. only).

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"EJBDeploy (WSAD)","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.0","Edition":"Base;Network Deployment","Line of Business":{"code":"LOB15","label":"Integration"}}]

Document Information

Modified date:
15 June 2018

UID

swg24020601