WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  wsadmin object usage 1

    Posted 07/22/13 05:16 AM
    Hi guys, while trying to start my DMGR  by using wsadmin object (AdminControl.startServer)  i was getting the following error, can any one plz resolve this. 

     
    thank you. 


  • 2.  wsadmin object usage 1

    Posted 07/22/13 10:22 AM
    to execute a wsadmin command .. you need to connect to a wsadmin scripting client.
    when you use .. ./wsadmin.sh -conntype -lang etc... to which process is it connecting?


  • 3.  wsadmin object usage 1

    Posted 07/22/13 04:27 PM
    Hi Joseph, I had noticed that it was connecting to DMGR process.

    plz correct me if i am on the wrong track.  Thank you. 


  • 4.  wsadmin object usage 1

    Posted 07/22/13 06:46 PM
    Hi Kasi,

      but if you have connected to DMGR why are you trying to start DMGR? dmgr process is up.

      I'm not sure if you can start from wsadmin dmgr ....I need to check. I tell you

    Regards,


  • 5.  wsadmin object usage 1

    Posted 07/23/13 02:12 AM
    Hi Gabriel, 
     

    The steps i have gone through are as below;

    1)started the dmgr process using startManger.bat

    2)connected to wsadmin using wsadmin.bat -lang jython
          Here it shows as "connceting to DMGR process"

    3) I had stopped the DMGR Using wsadmin object as:
                wsadmin>AdminControl.stopServer('dmge','nodename')
          it was sucessful
     
    4) Later when i  try to start the DMGR Using wsadmin object as:
                wsadmin>AdminControl.startServer('dmge','nodename')

    i was getting the above error as shown in the screen shot.

    Plz suggest , if i  was executing those wsadmin objects in wrong locations.

    Thank you. 


  • 6.  wsadmin object usage 1

    Posted 07/23/13 04:42 AM
    Kasi,

      Tested, working as spected.
     
      Take in mind that you have connected through wsadmin to DMGR in a HOSTNAME and PORT.  If you stop DMGR you are closing your HOSTNAME and PORT so you can not launch any command from wsadmin to it.

      Is the same if you start DMGR, login in adminconsole, then you stop DMGR (without logout), what happen with your adminconsole?
     
      DMGR is cell manager, from it you can manage your entery cell, but if you stop it you can manage nothing.
     
      I dont't check but maybe from a JobManager profile you can start/Stop a DMGR.

      What do you want to get?
     
      Hope this help. 

    regards