Hi,
I always receive this warning even if I wrapped my code in try-catch block,
WARNING: "IOP0041020 1: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT ;
generated after this call: org.omg.CORBA.O bject objRef = orb.resolve_ini tial_references ("NameService") ;
I would like to catch it so that stacktraces would not be shown to the user.
sample trace:
Oct 24, 2011 9:44:38 AM com.sun.corba.s e.impl.transpor t.SocketOrChann elConnectio
nImpl <init>
WARNING: "IOP0041020 1: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT ; hostname: 10.29.8.102; port: 2099"
org.omg.CORBA.C OMM_FAILURE: vmcid: SUN minor code: 201 completed: No at com.sun.corba.s e.impl.logging. ORBUtilSystemEx ception.connect Failure(Unknown Source)at com.sun.corba.s e.impl.logging. ORBUtilSystemEx ception.connect Failure(Unknown Source) at com.sun.corba.s e.impl.transpor t.SocketOrChann elConnectionImp l.<init>(Unknow n Source) at com.sun.corba.s e.impl.transpor t.SocketOrChann elConnectionImp l.<init>(Unknow n Source) at com.sun.corba.s e.impl.transpor t.SocketOrChann elContactInfoIm pl.createConnec tion(Unknown Source)
Thanks in advance :)
I always receive this warning even if I wrapped my code in try-catch block,
WARNING: "IOP0041020 1: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT ;
generated after this call: org.omg.CORBA.O bject objRef = orb.resolve_ini tial_references ("NameService") ;
I would like to catch it so that stacktraces would not be shown to the user.
sample trace:
Oct 24, 2011 9:44:38 AM com.sun.corba.s e.impl.transpor t.SocketOrChann elConnectio
nImpl <init>
WARNING: "IOP0041020 1: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT ; hostname: 10.29.8.102; port: 2099"
org.omg.CORBA.C OMM_FAILURE: vmcid: SUN minor code: 201 completed: No at com.sun.corba.s e.impl.logging. ORBUtilSystemEx ception.connect Failure(Unknown Source)at com.sun.corba.s e.impl.logging. ORBUtilSystemEx ception.connect Failure(Unknown Source) at com.sun.corba.s e.impl.transpor t.SocketOrChann elConnectionImp l.<init>(Unknow n Source) at com.sun.corba.s e.impl.transpor t.SocketOrChann elConnectionImp l.<init>(Unknow n Source) at com.sun.corba.s e.impl.transpor t.SocketOrChann elContactInfoIm pl.createConnec tion(Unknown Source)
Thanks in advance :)
Comment