ssliop issue

<[email protected]>
Newsgroups gmane.comp.corba.jacorb.devel
Message-ID <[email protected]>
dear developers:
        
        I use jacorba 3.2 resently,when I use SSL protocol over iiop,there is something wrong:
 
 
NameServiceCfg = NameService=corbaloc:ssliop:[email protected]:59663/NameService
 
       
##########################                       ##   SSL Configuration   ##                       ########################### Whether SSL security is enabled.jacorb.security.support_ssl=on## The port number used by SSL, will be dynmically assigned# by default##OASSLPort=4711# This interceptor must be set if programs need access to# certificates using the CORBA Security API, SSL works also# without this interceptororg.omg.PortableInterceptor.ORBInitializerClass.ForwardInit=org.jacorb.security.ssl.sun_jsse.SecurityServiceInitializer# The qualified classname of the ssl socket factory classjacorb.ssl.socket_factory=org.jacorb.security.ssl.sun_jsse.SSLSocketFactory# The qualified classname of the ssl server socket factory classjacorb.ssl.server_socket_factory=org.jacorb.security.ssl.sun_jsse.S
 SLServerSocketFactory# IIOP/SSL parameters (numbers are hex values, without the leading "0x"):# NoProtection = 1# EstablishTrustInClient = 40# EstablishTrustInTarget = 20# mutual authenticat
 ion = 60# please see the programming guide for more explanationjacorb.security.ssl.client.supported_options=20jacorb.security.ssl.client.required_options=20jacorb.security.ssl.server.supported_options=20jacorb.security.ssl.server.required_options=1## If set, the following two values will be placed in the IOR, if# "corbaloc:ssliop" ssliop.## If not set, only EstablishTrustInTarget is used for both supported# and required options. EstablishTrustInClient is not set, and the# rest of the Association Options aren't currently used anyway.jacorb.security.ssl.corbaloc_ssliop.supported_options=40jacorb.security.ssl.corbaloc_ssliop.required_options=20
 
...
 
 
code:
props.setProperty("org.omg.CORBA.ORBInitRef", ConfigProperty.nameServiceCfg); props.setProperty("org.omg.CORBA.ORBInitRef.NotificationService", ConfigProperty.notificationCfg); orb = ORB.init(args, props); 
...org.omg.CORBA.Object ncObj = orb.resolve_initial_references("NameService"); (this throw exception)rootContext = NamingContextExtHelper.narrow(ncObj);
...
 
 
output:
2013-04-03 17:01:12,327 ERROR [com.nm.server.nbif.Server] - org.omg.CORBA.BAD_PARAM:   vmcid: SUN  minor code: 603  completed: Noorg.omg.CORBA.BAD_PARAM:   vmcid: SUN  minor code: 603  completed: Noat com.sun.corba.se.impl.logging.NamingSystemException.insBadAddress(Unknown Source)at com.sun.corba.se.impl.logging.NamingSystemException.insBadAddress(Unknown Source)at com.sun.corba.se.impl.naming.namingutil.CorbalocURL.badAddress(Unknown Source)at com.sun.corba.se.impl.naming.namingutil.CorbalocURL.<init>(Unknown Source)at com.sun.corba.se.impl.naming.namingutil.INSURLHandler.parseURL(Unknown Source)at com.sun.corba.se.impl.resolver.INSURLOperationImpl.operate(Unknown Source)at com.sun.corba.se.impl.resolver.ORBInitRefResolverImpl.resolve(Unknown Source)at com.sun.corba.se.impl.resolver.Comp
 ositeResolverImpl.resolve(Unknown Source)at com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(Unknown Source)at com.sun.corba.se.impl.orb.ORBImpl.resolve_initial_references(Unknow
 n Source)at com.nm.server.nbif.Server.initRootContext(Server.java:231)at com.nm.server.nbif.Server.main(Server.java:196)
 
_______________________________________________
jacorb-developer maillist  -  [email protected]
https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.