Skip to main content

How to start Naming Service without using the nameserv command.

  • February 16, 2013
  • 0 replies
  • 0 views

Problem:

  • Product Name: VisiBroker
  • Product Versions: 5.x and above
  • Product Component: Naming Service (VisiNaming)

An Alternative way to start the Naming Service other than using "nameserv" command.

Resolution:

1.Use "nameserv -VBJdebug" to capture all the information needed to start the naming service. From the bin directory within the BES installation directory do the following:

C:\\borland\\BDP65\\bin>vbroker.bat

Then run the following command:

C:\\borland\\BDP65\\bin>nameserv -VBJdebug

You will get an output similar to the following:

Loaded Java VM Library C:\\borland\\BDP65\\jdk\\jdk1.4.2\\jre\\bin\\client\\jvm.dll
Java VM Args:
    version 0x00010002
    ignoreUnrecognized is JNI_FALSE
    number of Options is 13
    option[ 0] = "-Djava.endorsed.dirs=C:\\borland\\BDP65\\bin\\..\\lib\\endorsed"
    option[ 1] = "-Dorg.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB"
    option[ 2] = "-Dorg.omg.CORBA.ORBSingletonClass=com.inprise.vbroker.orb.ORBSingleton"
    option[ 3] = "-Djavax.rmi.CORBA.StubClass=com.inprise.vbroker.rmi.CORBA.StubImpl"
    option[ 4] = "-Djavax.rmi.CORBA.UtilClass=com.inprise.vbroker.rmi.CORBA.UtilImpl"
    option[ 5] = "-Djavax.rmi.CORBA.PortableRemoteObjectClass=com.inprise.vbroker.rmi.CORBA.PortableRemoteObjectImpl"
    option[ 6] = "-Dvbroker.orb.procId=2728"
    option[ 7] = "-Dapplication.home=C:\\borland\\BDP65\\bin\\.."
    option[ 8] = "-Dborland.enterprise.licenseDir=C:\\borland\\BDP65\\bin\\..\\var"
    option[ 9] = "-Dborland.enterprise.licenseDefaultDir=C:\\borland\\BDP65\\bin\\..\\license"
    option[10] = "-Dvbroker.agent.port=14000"
    option[11] = "-Dvbroker.orb.admDir=C:\\borland\\BDP65\\var\\vbroker\\adm"
    option[12] = "-Djava.class.path=C:\\borland\\BDP65\\lib\\patches\\bes650_p13.jar;C:\\borland\\BDP65\\lib\\patches;C:\\borland\\BDP65\\lib\\vbjorb.jar;C:\\borland\\BDP65\\bin\\..\\lib;C:\\borland\\BDP65\\bin\\..\\bin;C:\\borland\\BDP65\\bin\\..\\lib\\vbjorb.jar;C:\\borland\\BDP65\\bin\\..\\lib\\vbejb.jar;C:\\borland\\BDP65\\bin\\..\\lib\\asrt.jar;C:\\borland\\BDP65\\bin\\..\\lib\\jdsserver.jar;C:\\borland\\BDP65\\bin\\..\\lib\\xmlrt.jar;C:\\borland\\BDP65\\bin\\..\\lib\\lm.jar;C:\\borland\\BDP65\\bin\\..\\lib\\EccpressoAll.jar;C:\\borland\\BDP65\\bin\\..\\lib\\flexlm.jar;C:\\borland\\BDP65\\bin\\..\\lib\\sanct4.jar;C:\\borland\\BDP65\\bin\\..\\lib\\mail.jar;C:\\borland\\BDP65\\bin\\..\\lib\\dom4j.jar;C:\\borland\\BDP65\\bin\\..\\lib\\log4j.jar;C:\\borland\\BDP65\\bin\\..\\lib\\xmlParserAPIs.jar;C:\\borland\\BDP65\\bin\\..\\lib\\xercesImpl.jar;C:\\appserver\\BDP65\\bin\\..\\lib\\jsse.jar;C:\\borland\\BDP65\\bin\\..\\lib\\jcert.jar;C:\\borland\\BDP65\\bin\\..\\lib\\jnet.jar;C:\\borland\\BDP65\\bin\\..\\lib\\jaas.jar;C:\\borland\\BDP65\\bin\\..\\lib\\vbsec.jar;C:\\borland\\BDP65\\bin\\..\\lib\\jce1_2_1.jar;C:\\appserver\\BDP65\\bin\\..\\lib\\sunjce_provider.jar;C:\\borland\\BDP65\\bin\\..\\lib\\local_policy.jar;C:\\borland\\BDP65\\bin\\..\\lib\\US_export_policy.jar;C:\\borland\\BDP65\\jdk\\jdk1.4.2\\lib\\tools.jar;C:\\borland\\BDP65\\jdk\\jdk1.4.2\\jre\\lib\\rt.jar;C:\\appserver\\BDP65\\bin\\..\\lib\\tomcat\\common\\servlet.jar;C:\\borland\\BDP65\\bin\\..\\lib\\vbsysmib.jar;C:\\borland\\BDP65\\bin\\..\\lib\\mx4j.jar;C:\\borland\\BDP65\\bin\\..\\lib\\mx4j-remote.jar;."
Main class = com.inprise.vbroker.naming.ExtFactory
Main method = main
0 Application Parameters
IOR:000000000000002b49444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578744578743a312e30000000000001000000000000009000010200000000103134332e3138362e3133382e3233390010be00000000002900504d4300000004000000182f434f4e544558545f504f414e616d6553657276696365000000000132000000000000035649530300000005000507017f000000000000000000000800000000564953000000000100000018000000000001000100000001050100010001010900000000

2.With the information above, now start the naming service as follows (on a single line):
C:\\borland\\BDP65\\bin>java -Djava.endorsed.dirs=C:\\borland\\BDP65\\bin\\..\\lib\\endorsed -Dorg.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=com.inprise.vbroker.orb.ORBSingleton -Djavax.rmi.CORBA.StubClass=com.inprise.vbroker.rmi.CORBA.StubImpl -Djavax.rmi.CORBA.UtilClass=com.inprise.vbroker.rmi.CORBA.UtilImpl -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.inprise.vbroker.rmi.CORBA.PortableRemoteObjectImpl -Dvbroker.orb.procId=2024 -Dborland.enterprise.licenseDir=C:\\borland\\BDP65\\bin\\..\\var -Dvbroker.agent.port=14000 -Dvbroker.orb.admDir=C:\\borland\\BDP65\\var\\vbroker\\adm -Dvbroker.se.iiop_tp.scm.iiop_tp.listener.port=20009 -Djava.class.path=C:\\borland\\BDP65\\lib\\vbjorb.jar;C:\\borland\\BDP65\\lib\\lm.jar;C:\\borland\\bdp65\\lib\\sanct4.jar;C:\\borland\\bdp65\\lib\\vbsec.jar com.inprise.vbroker.naming.ExtFactory
IOR:000000000000002b49444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578744578743a312e30000000000001000000000000009000010200000000103134332e3138362e3133382e323339000a8c00000000002900504d4300000004000000182f434f4e544558545f504f414e616d6553657276696365000000000132000000000000035649530300000005000507017f000000000000000000000800000000564953000000000100000018000000000001000100000001050100010001010900000000


 


#nameserv
#Security
#NamingService
#VisiNaming
#VisiBroker
#Java