Platform/OS Version: All
Description:
Partitions have a default security profile of
"disabled". When I switch them to "default"
because I need security, the JNDI browser in the console gets the
following exception when I try to browse the JNDI name space.
error type: org.omg.CORBA.INV_OBJREF
Thread: Thread[Tree Populate Thread,6,main]
Stack trace:
org.omg.CORBA.INV_OBJREF: vmcid: 0x0 minor code: 0 completed:
No
at
com.inprise.vbroker.ProtocolEngine.PortfolioImpl.getConnector(PortfolioImpl.java:72)
at
com.inprise.vbroker.ProtocolEngine.ManagerImpl.getConnector(ManagerImpl.java:172)
at
com.inprise.vbroker.orb.DelegateImpl._bind(DelegateImpl.java:274)
at
com.inprise.vbroker.orb.DelegateImpl.verifyConnection(DelegateImpl.java:465)
at
com.inprise.vbroker.orb.DelegateImpl.request(DelegateImpl.java:671)
at
org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:431)
at
org.omg.CosNaming._BindingIteratorStub.next_n(_BindingIteratorStub.java:62)
at
com.sun.jndi.cosnaming.CNBindingEnumeration.(CNBindingEnumeration.java:71)
at com.sun.jndi.cosnaming.CNCtx.listBindings(CNCtx.java:841)
at com.sun.jndi.cosnaming.CNCtx.list(CNCtx.java:797)
at com.sun.jndi.cosnaming.CNCtx.list(CNCtx.java:785)
at
com.borland.management.bdoc.jndi.nodes.JndiContextNode$ChildFactory.getChildren(JndiContextNode.java:255)
at
com.borland.jafa.ui.explorer.AbstractExplorerNode.getChildren(AbstractExplorerNode.java:283)
at
com.borland.jafa.ui.explorer.AbstractExplorerNode.loadChildren(AbstractExplorerNode.java:312)
at
com.borland.jafa.ui.explorer.ExplorerTreeNode.populateImpl(Explorer.java:1531)
at
com.borland.jafa.ui.tree.FwTreeNode.asyncPopulate(FwTreeNode.java:97)
at
com.borland.jafa.ui.tree.FwTreeNode$1.run(FwTreeNode.java:74)
at java.lang.Thread.run(Thread.java:534)
Answer/Solution:
The solution is to
1. Enable SSL on the partition
Change partition"s security profile from
"default" to "ssl_enabled". This is required
because the JNDI browser need to connect to a secured naming
service. The difference between default and ssl_enabled profiles is
that the former enables security but not SSL and the
later enable both security and SSL.
2. Configure JNDI Browser for security identity.
In JNDI Browser, under CosNaming Factory, right-click on
"Visibroker [default:xxxxx]" and select configure.
In CosNaming Provider Properties
a. Check "Set an identity for security
checks"
b. Provide user-name, password and realm (default values
are admin, admin and ServerRealm).