Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BAD_PARAM error with JavaORB

Status
Not open for further replies.

brown100

Programmer
Dec 31, 2001
1
0
0
US
Hi.

I am using JavaORB with JDK1.3 and Tomcat 4.0.

I am reading my CICS information from a genfac.ior file.


org.omg.CORBA.Object genFacRef = orb.string_to_object(factoryIOR); // factoryIOR is a String
GenericFactory fact = GenericFactoryHelper.narrow(genFacRef); // gets stuck here


it gives me an exception at this point. It reaches the GenericFactoryHelper class and get stuck at the point of casting genFacRef to a GenericFactory.

The exception is
java.lang.ClassCastException:
JavaORB.CORBA.portable.ObjectImpl

and throws a org.omg.CORBA.BAD_PARAM exception.

Please help me figure this out.

Thanks.

Brown
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top