Websphere command line admin

Up till now I have never used wsadmin for any Websphere server configuration operations. I always use the wonderfully designed Administration console application. But today I got stuck up with admin console while trying to undeploy an application. I was trying to undeploy the jetspeed war file, but for some reason admin console was throwing NullPointerException. I had to google for some time to figure out how to use the command line tool to undeploy the app. Hope this info helps others.

Go to the bin directory under your WAS installation. On my machine it is,

C:\RAD7.0\IBM\SDP70\runtimes\base_v61\bin

Run wsadmin.bat

wsadmin> $AdminApp uninstall *your-app-name*

wsadmin> $AdminConfig save

wsadmin> exit

4 Comments »

  1. acpljho kqxbue vpiezkocr kaeziopvb pqoaufhi isugc ckqwebgmt

  2. how to run the adminconsole from command line…?

  3. ivor.kang said

    Really nice guide.
    Thanks for your memo.
    It really help me. :-D

  4. Kumar said

    How to open Admin console through command line plz send me information

RSS feed for comments on this post · TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.