JavaORB error - newbie
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   tpass001_tp
Posted On:   Monday, December 31, 2001 10:30 AM

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.    More>>

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.

   <<Less
About | Sitemap | Contact