Is it possible to stop/start WAS appserver using wsadmin (jacl/jython). I want to detele all caches on profile and then restart WAS appserver. I'm using wsadmin as standalone.
相关问题
- How Does WebSphere Choose the Classloading Order i
- Unable to start application on websphere 8.5, but
- Dynamic languages - which one should I choose?
- How to execute Python script from Java code in And
- Where in the world is com.ibm.ws.scripting.adminCo
相关文章
- @Singleton @Startup @PostConstruct method guarante
- Why does this Jython loop fail after a single run?
- Getting Websphere v7.0 Running with eclipse seems
- Appending values to a key if key already exists (p
- Worklight 6.0 WL development Server not starting
- Running HtmlUnit with Jython - issue with startup
- Android Session getting lost in IBM Websphere Serv
- How to set IBM Websphere 8 to serve web applicatio
From wsadmin you may issue a command (using Jython):
works with WAS Base & ND. With ND you have another option:
Check out the wsadminlib script. It has over 500 methods written for you to perform specific wsadmin tasks. Also check out related wsadminlib blog - you'll definitely want to view the powerpoint on this site to get an overview of usage.
You don't specify which caches you would like to clear. If you want to clear dynacache, wsadminlib offers clearDynaCache, clearAllProxyCaches, and others as well as server restart methods.
Example usage: