Discussions

EJB programming & troubleshooting: need urgent help: iplanet 6.5 start/stop/deployment problem

  1. Hi all j2ee guru.

    l installed iplanet 6.5 on a solaris 8 box. After installation, l can run the "fortune" sample to quickly test out successful setup. However, as l try out various iplanet command at command prompt, l encountered lots of error message as follows

    1) when l used "iasdeploy" to try to deploy sample "Helloworld" application, following error message occured.
    [
    iasdeploy for iPlanet Application Server 6.5
    Could not connect to LDAP server on xyz.test.com. port 389...retrying
    Could not connect to LDAP server on xyz.test.com. port 389...retrying
    Could not connect to LDAP server on xyz.test.com. port 389 as user cn=Directory Manager : Can't connect to the LDAP server
    GXBindInit: GXBindBasic failed
    GXContextInit: GXBindInit failed 2
    [12/Nov/2002 17:42:20:0] error: ENGINE-context_init_failed: EngineClassSpace ContextModule.createContextInit failed:
    error: could not get context
    java.lang.NullPointerException
            at com.kivasoft.tools.KSReg.getSubKey(Unknown Source)
            at com.kivasoft.tools.KSReg.getSubKey(Unknown Source)
            at com.iplanet.ias.tools.iascli.DestInfo.initialize(Unknown Source)
            at com.iplanet.ias.tools.iascli.DestInfo.initLocalHost(Unknown Source)
            at com.iplanet.ias.tools.iascli.DestInfo.<init>(Unknown Source)
            at com.iplanet.ias.tools.iascli.IasCommand.getDestInfo(Unknown Source)
            at com.iplanet.ias.tools.iascli.IasCommand.preExecute(Unknown Source)
            at com.iplanet.ias.tools.buzz.cli.DeployAppCommand.preExecute(Unknown Source)
            at com.iplanet.ias.tools.iascli.IasCommand.execute(Unknown Source)
            at com.iplanet.ias.tools.iascli.IasCommandLineHandler.executeCommand(Unknown Source)
            at com.iplanet.ias.tools.iascli.IasCommandLineHandler.execute(Unknown Source)
            at com.iplanet.ias.tools.buzz.cli.IasDeploy.main(Unknown Source)
    ]

    2) l used "ps" command to verify exisitence of LDAP server. Result is as follows. Why the owner of this process of "iplanet" even l run LDAP startup script in "root" identity ???

    [
    root@node0 /d01/iplanet/ias6/ias/bin> ps -ef | grep slapd
     iplanet 7908 1 0 17:17:38 ? 0:01 ./ns-slapd -D /d01/iplanet/ias6/slapd-websams-ed -i /d01/iplanet/ias6/slapd-web
        root 8477 7522 0 17:47:34 pts/3 0:00 grep slapd
    ]

    3) then l tried out "iascontrol" command to try to shutdown an instance of iplanet app server. Following errors occured

    Could not connect to LDAP server on xyz.test.com. port 389...retrying
    Could not connect to LDAP server on xyz.test.com. port 389...retrying
    Could not connect to LDAP server on xyz.test.com. port 389 as user cn=Directory Manager : Can't connect to the LDAP server
    GXBindInit: GXBindBasic failed
    GXContextInit: GXBindInit failed 2
    [12/Nov/2002 17:53:18:7] error: ENGINE-context_init_failed: EngineClassSpace ContextModule.createContextInit failed:
    error: could not get context
    Error in command. Please check arguments.

    It is very thankful someone can help me out !!!

    fox
  2. Hello!!
       As per my experince, LDAP services are not started. Try to start LDAP service and then connect iPlanet deployment tool
  3. But as shown at step 2 of my post

    2) l used "ps" command to verify exisitence of LDAP server. Result is as follows. Why the owner of this process of "iplanet" even l run LDAP startup script in "root" identity ???

    [
    root@node0 /d01/iplanet/ias6/ias/bin> ps -ef | grep slapd
     iplanet 7908 1 0 17:17:38 ? 0:01 ./ns-slapd -D /d01/iplanet/ias6/slapd-websams-ed -i /d01/iplanet/ias6/slapd-web
        root 8477 7522 0 17:47:34 pts/3 0:00 grep slapd
    ]

    It seemed LDAP was up. Any more suggestion !

    regards
    dso