A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Ant, Maven and Other Build Tools
Start and stop the Websphere commerce server using ant
Joined: Oct 26, 2006
Oct 30, 2006 03:59:00
I am in the deployment process of Websphere commerce applications. We are using Websphere commerce version 6. I would like to know 2 things.
1. How to stop and start the server using jacl
2. How to invoke Jacl scripts from
Pls direct with solution.
Cameron Wallace McKenzie
author and cow tipper
Joined: Aug 26, 2006
Oct 30, 2006 08:48:00
I've got a bunch of JACL scripts on my website. Some are complex, and some are simple:
Simple and Complex JACL Scripts on pulpjava.com
Here's a cluster bounce. A server bounce is practically the same, except you'll use your server name. I think your server is named server1:
set clusterName FrekinCluster
puts stdout "\nWe are about to stop the cluster named: $clusterName"
set clusterId [$AdminControl completeObjectName type=Cluster,name=$clusterName,*]
puts stdout "\n\n ClusterId is: $clusterId"
puts stdout "\n\n Stopping cluster"
$AdminControl invoke $clusterId stop
puts stdout "\n\n Starting cluster"
$AdminControl invoke $clusterId start
puts stdout "\n\n Cluster successfully bounced."
[ October 30, 2006: Message edited by: Kameron McKenzie ]
Joined: May 26, 2003
Oct 30, 2006 15:07:00
Originally posted by gegn gegn:
2. How to invoke Jacl scripts from ant.
The same way you would run them on the command line. Use Ant's exec task with your command line call.
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
It is sorta covered in the
JavaRanch Style Guide
subject: Start and stop the Websphere commerce server using ant
Debug J2EE appl in Eclipse
Restart webapp in WS3.5
Remote Sun server start/stop
Application Servers and ANT
ANT for prod deployment
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013