WebLogic StartupClass equivalent in WebSphere

I have been working on writing some tools that will simplify the configuration and management of WebSphere Server and Portal. WebSphere has the concept of DMGR, short for Deployment Manager that is very similar to Administration Server in WebLogic that serves as the main Administrative point. My requirement is to write a JMX monitoring application that will attach to the DMGR and monitor all the instances in the Cell (~ domain in WebLogic). In WebLogic this can be easily achieved by writing a StartupClass and deploying it to the Administration Server. In WebSphere this is not that straight forward since WebSphere does not allow you to deploy anything to DMGR.
The closest I found is CustomService. CustomService will allow you to run your piece of code inside the JVM during Startup or Shutdown. IBM discourages you running this in DMGR (I am not sure why), but this serves my purpose perfectly since I can get to all the MBeans from DMGR with ease .. :-)

6 Responses to “WebLogic StartupClass equivalent in WebSphere”

  1. Karoly says:

    Hi Satya,

    i found your blog over google, where i was searching for a download link for wlst.jar.
    Unfortunatelly is the dev2dev Site from bea down, and i can't find wlst.jar on the Oracle Site.
    We use PeopleSoft with BEA WL 8.1, and want to have an easy method to monitor the server. Can you send me a link to wlst.jar maybe?

    Thanks in advance.

    Regards Karoly

  2. Dhanaraj says:

    Hi Satya,

    I was wondering for effective use of WLST in my project.

    – Which mode is performance effective embedded or script mode ?
    – Does WLST has ability execute things concurrently ?
    – Can i start managed -server, Administration server, proxy server concurrently from a single WLST interpreter instance

  3. Satya Ghattu's Blog says:

    Karoly,
    I will see if I can find the jar.

  4. Satya Ghattu's Blog says:

    Dhanaraj,

    - Which mode is performance effective embedded or script mode ?
    Go with the script mode. Embedded mode is clumsy.
    - Does WLST has ability execute things concurrently ?
    Depends on what you are running concurrently.
    - Can i start managed -server, Administration server, proxy server concurrently from a single WLST interpreter instance

    Yes you can.

  5. Karoly says:

    Hi Satya,

    thank you, that you search the jar.

    Regards Karoly

  6. Sumanth says:

    Hi Satya,
    I have the wlst.jar with me, If you want i can send the jar.

    Regards,
    Sumanth.

Leave a Reply