3 Replies Latest reply: May 18, 2013 8:26 AM by Pierluigi Vernetto RSS

    Unable to connect to Weblogic Server through WLST during createuser in OVMM

    978386
      Hi,

      We are facing issue while connecting to Weblogic Admin server 10.3.5.0 running on port 7002(SSL enabled) through WLST as it throws an exception saying "There is no server running at t3://localhost:7002".
      --------------------------------------------------------------------------
      Initializing WebLogic Scripting Tool (WLST) ...

      Welcome to WebLogic Server Administration Scripting Shell

      Type help() for help on available commands

      wls:/offline> connect("weblogic","Password2","t3://localhost:7002")
      Connecting to t3://localhost:7002 with userid weblogic ...
      Traceback (innermost last):
      File "<console>", line 1, in ?
      File "<iostream>", line 22, in connect
      File "<iostream>", line 646, in raiseWLSTException
      WLSTException: Error occured while performing connect : Error getting the initial context. There is no server running at t3://localhost:7002
      Use dumpStack() to view the full stacktrace
      --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

      We have tried giving t3s instead of t3 while connecting as it is SSL enabled but did not succeed. Also, tried giving respective hostname instead of localhost , again without any success.

      We are able to login to weblogic console but unable to do it through WLST.




      We are trying to create additional users in OVMM 3.2.1 through ovm_admin and facing the above issue wrt WLST.
      ----------------------------------------------------------------------------------------
      ./ovm_admin --createuser

      Oracle VM Manager Release 3.2.1 Admin tool

      Please enter the username : Admin1

      Please enter the password for Admin1 (minimum 8 chars. with one numeric/special char.) :
      Please re-enter the password :


      Please enter the password for weblogic :

      Initializing WebLogic Scripting Tool (WLST) ...

      Welcome to WebLogic Server Administration Scripting Shell

      Type help() for help on available commands

      Connecting to WebLogic server ...

      There is no server running at t3s://localhost:7002
      Connection to WebLogic server failed ...
      -----------------------------------------------------------------------------------------


      Appreciate any help.

      Thanks in advance.