• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Start or stop server with WAS v5

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
Anyone know how to start or stop servers using the admin console on the browser with WAS 5 base (no network deployment). We only have the button new or delete when we click on servers.
Thanks
 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For WAS base 5 you cannot start or stop your Server from the browser. You have to use startserver, stopserver scripts.
 
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, Krupa is correct. IBM has found yet another way to extort money from their WebSphere customers. Turns out there are a number of things you could do with WAS 4 fat client but not with the WAS 5 browser console. For example, even when you create a new server instance under the base edition, the apps you put on it cannot be administered through the console because the console resides on the server1 instance by default and therefore is running on a different JVM than the apps on the other server instances. To get around this, you can take the adminconsole.ear and install it on each of your server instances but it still will not help you stop and start the server instances themselves. For this, you will still have to use the stop/start server .bat files. What we ended up doing is writing a crapload of wsadmin scripts to manage our stuff and this works well but there is a small learning curve involved. The goal is to automate deployments though and wsadmin will serve us well here. My advice is to either put ND on or use wsadmin.
 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by William Duncan:
Yes, Krupa is correct. IBM has found yet another way to extort money from their WebSphere customers. Turns out there are a number of things you could do with WAS 4 fat client but not with the WAS 5 browser console. For example, even when you create a new server instance under the base edition, the apps you put on it cannot be administered through the console because the console resides on the server1 instance by default and therefore is running on a different JVM than the apps on the other server instances. To get around this, you can take the adminconsole.ear and install it on each of your server instances but it still will not help you stop and start the server instances themselves. For this, you will still have to use the stop/start server .bat files. What we ended up doing is writing a crapload of wsadmin scripts to manage our stuff and this works well but there is a small learning curve involved. The goal is to automate deployments though and wsadmin will serve us well here. My advice is to either put ND on or use wsadmin.


I tried to build adminconsole.ear using EXPORT.
EXPORT is able to build a file but it is a 0Kb file.
Where else can you build it?
 
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
build admin.ear file? It already comes with Websphere. You have to just install it in Websphere server instance you create.
 
leonardo battagli
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Mahesh Chalil:
build admin.ear file? It already comes with Websphere. You have to just install it in Websphere server instance you create.


Yes thks I used that I found in directory 'Installable Apps'
Now I have been able to:
- create a new application server
- start this new application server
- install the admin console in the new application server
But I have not been able to START this admin console.
I have browsed the wsadmin command tools (admincontrol, adminconfig) to look for a way to start the ADMIN CONSOLE ENTERPRISE APPLICATION, but no result 'till now
btw I understand it should be simpler, I'll let you all know
 
Mahesh Chalil
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try using $AdminApp with wsadmin.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
AdminControl stopServer not working on base install of WAS5.1
It says

WASX7209I: Connected to process "server1" on node CTIDEVWEB02 using SOAP connect
or; The type of process is: UnManagedProcess
WASX7022E: Problem running command "$AdminControl stopServer JMillenniaHourly_Server" -- exception information: com.ibm.ws.scripting.ScriptingException: WASX725
2E: Unable to locate running server "JMillenniaHourly_Server".

I know that the server JMillenniaHourly_Server is there because I started it using startserver. Similarly, starting/stopping app on other servers (apart from server1) is failing too.
 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This typically happens when you have port conflicts between your various servers. Check the End Points and HTTP Transports.

I am in a similar boat.
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi:

Speaking of writing wsadmin scripts, I am encountering a problem on only one cell using the $AdminControl stopServer command. I am receiving the following error:

javax.management.ListenerNotFoundException: Did not find listener com.ibm.ws.scripting.AdminControlClient@4464c914

I can issue other $AdminControl commands such as getCell, getHost, etc. Again, it is only on one cell - the other three cells work.

Anyone out there experience this one? Thanks very, very much.

Karen
 
reply
    Bookmark Topic Watch Topic
  • New Topic