Highlighted
Absent Member.
Absent Member.
295 views

Class cast exception in Load Runner 9.5

I am using the EJB protocol to access the methods remotely but getting the following error:

"javax.naming.NamingException: Failed to initialize the ORB [Root exception is java.lang.ClassCastException: com.sun.corba.se.impl.orb.ORBImpl]."

When browsed through a couple of forums, found that the issue arises due to usage of SUN jre and IBM jre should fix this. But is there a way to solve this by changing the properties or classes and continue using the same sun jre.
0 Likes
1 Reply
Highlighted
Absent Member.
Absent Member.

Re: Class cast exception in Load Runner 9.5

To fix that java naming exception you need to add the following to your "Additional VM parameters" setting under JMS>Advanced for your VUser.

-Dcom.ibm.CORBA.ORBInit=com.ibm.ws.sib.client.ORB

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.