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