This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Websphere and the fly likes installing applications from dos console. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "installing applications from dos console." Watch "installing applications from dos console." New topic
Author

installing applications from dos console.

Niki Nono
Ranch Hand

Joined: Mar 20, 2005
Posts: 256
hi everyone
Does anyone have an idea for installing / uninstalling applcations into WAS 5.1 using the dos console?
i seem to have uninstalled my admin console application from my default server and do not have any option but to reinstall WAS.
if anyone out there can help me out well it would save me a lot of trouble.


thanks a lot.


Life called,so here I am.<br />Cheers<br />Niki.:-)
Bill Lasley
Ranch Hand

Joined: Jun 10, 2002
Posts: 50
To install, assuming you are using WAS base, invoke the wsadmin program in $WAS_HOME/bin, then enter the following jacl commands:

set installOptions [list -node "YOUR NODE NAME" -server "YOUR SERVER NAME"]
$AdminApp install "EAR TO INSTALL" $installOptions
$AdminConfig save

For "YOUR NODE NAME" substitute your node name. For "YOUR SERVER NAME" substitute your server name. For "EAR TO INSTALL" substitute the fully qualified name of the ear file you want to install, in your case that would be adminconsole.ear in the installableApps directory. Put the name in quotes if you have spaces in the directory name.

To uninstall an application, invoke wsadmin and enter the following command, substituting "ENTERPRISE APP NAME" with the enterprise application name (not the ear name):
$AdminApp uninstall "ENTERPRISE APP NAME"

See the InfoCenter for complete information on using the scripting facility. You can write very powerful administration scripts using either jacl or jython scripting languages.

Bill Lasley
Versant Corp.
http://www.versant.com
[ May 01, 2005: Message edited by: Bill Lasley ]
Niki Nono
Ranch Hand

Joined: Mar 20, 2005
Posts: 256
thanks bill
i will try it out and get back to you if i have any problems.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: installing applications from dos console.
 
Similar Threads
XP and a console window......
DOS Console ++
Issue in starting JBoss Portal
OAS installation
Need to install jvm