1. Install the application with the -update option (works fine).
$AdminApp install /home/niro/cblsml.ear {
-cluster cluster1
-MapResRefToEJB {{
cblsml.war "" cblsml.war,WEB-INF/web.xml
jdbc/cblsmlDS javax.sql.DataSource jdbc/cblsmlDS
}}
-MapWebModToVH {{
cblsml.war cblsml.war,WEB-INF/web.xml default_host
}}
-nopreCompileJSPs
-distributeApp
-nouseMetaDataFromBinary
-nodeployejb
-appname CBLSML
-createMBeansForResources
-reloadEnabled
-reloadInterval 0
-nodeployws
-update
}
$AdminConfig save
puts "Deployment of application CBLSML finished."
2. Now the application is in stop state, we need to start the app on
every server that is a member of the cluster.
2.1 Find all ApplicationManagers that belong to the servers in the
cluster.
2.2 Issue a startApplication command for every ApplicationManager.
As you probably can se from the "pseudo" code, I惴 totally lost. How do I do
this, or is the approach not the right one?
And finally, WHERE巽 THE DOCUMENTATION of wsadmin? The infocenter have many
concreate examples but totally miss to give the reader the "Big picture"!
Best Regards
Niclas
Enjoy :-)
Niclas
"Niclas Rothman" <ni...@nnit.com> wrote in message
news:c92jtc$43cm$1...@news.boulder.ibm.com...
> Hi there, I´m trying to make a wsadmin script (jacl) that fully automates
> the work of updating an existing web application.
> However it´s not clear to me how to do this at all, my approach is;
> As you probably can se from the "pseudo" code, I´m totally lost. How do I
do
> this, or is the approach not the right one?
>
> And finally, WHERE´S THE DOCUMENTATION of wsadmin? The infocenter have
http://publib-b.boulder.ibm.com/Redbooks.nsf/RedbookAbstracts/sg246195.html?Open
We had a developer who did this through ANT. I'll see if I can get
the source from him and post it.
PJ
"Niclas Rothman" <ni...@nnit.com> wrote in message news:<c93tt9$8gvk$1...@news.boulder.ibm.com>...
> Somehow strange, replying to my own mail :-) Yesterday I found a more in
> depth documentation about the wsadmin.
> The documentation is targeted for the z/os audience but from what I can se
> it愀 still valid for other platforms. However my question below are still
> unanswered so if anyone have som input i woul appreciate it!
>
> Enjoy :-)
>
> http://www-1.ibm.com/support/docview.wss?rs=493&q1=wsadmin+cluster+start+application&uid=tss1wp100421&loc=en_US&cs=utf-8&lang=en+en
>
>
> Niclas
>
>
>
>
>
>
> "Niclas Rothman" <ni...@nnit.com> wrote in message
> news:c92jtc$43cm$1...@news.boulder.ibm.com...
> > Hi there, I惴 trying to make a wsadmin script (jacl) that fully automates
> > the work of updating an existing web application.
> > However it愀 not clear to me how to do this at all, my approach is;
> > As you probably can se from the "pseudo" code, I惴 totally lost. How do I
> do
> > this, or is the approach not the right one?
> >
> > And finally, WHERE巽 THE DOCUMENTATION of wsadmin? The infocenter have
PJ wrote:
> *Hello,
> When you use the WSADMIN tools you must start the application on
> each server instance. Below is a link to an IBM redbook that
> touches
> on the process of querying websphere for servers and then performing
> operations on the servers. Start at page 822.
>
>
> We had a developer who did this through ANT. I'll see if I can get
> the source from him and post it.
>
>
> PJ
>
>
> "Niclas Rothman" <ni...@nnit.com> wrote in message
> news:<c93tt9$8gvk$1...@news.boulder.ibm.com>...[vbcol=seagreen]
> > Somehow strange, replying to my own mail :-) Yesterday I found a
> more in
> > depth documentation about the wsadmin.
> > The documentation is targeted for the z/os audience but from what I
> can se
> > it愀 still valid for other platforms. However my question below are
> still
> > unanswered so if anyone have som input i woul appreciate it!
> >
> > Enjoy :-)
> >
> >
> >
> > Niclas
> >
> >
> >
> >
> >
> >
> > "Niclas Rothman" <ni...@nnit.com> wrote in message
> > news:c92jtc$43cm$1...@news.boulder.ibm.com...
> > do
> > many *
--
metal
------------------------------------------------------------------------
Posted via http://www.webservertalk.com
------------------------------------------------------------------------
View this thread: http://www.webservertalk.com/message240769.html
set name [lindex $argv 0]
puts $name
set cl1 [$AdminControl completeObjectName type=Cluster,name=$name,*]
$AdminControl invoke $cl1 start
The argument passed to the script is the name of the cluster. The
stop script is identical except you replace start with stop.
Chris
metal <metal....@mail.webservertalk.com> wrote in message news:<metal....@mail.webservertalk.com>...