• 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
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Stop Listener using wasadmin command line

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All, I am using Websphere 7.0 on Unix, I need using jython script stop listener, I consulted this page(http://publib.boulder.ibm.com/infocenter/wasinfo/v5r1//index.jsp?topic=%2Fcom.ibm.websphere.base.doc%2Finfo%2Faes%2Fae%2Frxml_startport.html) but I can't get any useful information for me.
This is my jython scripts:


I believe I had some service providers and no attribute named as ListenerPort or look like ListenerPort.

Please refer attachements, Thanks.

Services.png
[Thumbnail for Services.png]
Service
Service-providers.png
[Thumbnail for Service-providers.png]
Service Providers
 
Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
One simple way to create your Jython script is to see how WAS is doing it internally.

Check both the check boxes related to wsadmin and command assistance mode under Console Preferences.

Then perform the activity using manual steps in the admin console.

You will notice that WAS generates sample script in a file under <profile>/<logs> folder.

See how WAS is doing it and then customize and parameterize it.
 
Stephensh Zhang
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
@Deepak Pant

Thanks for your reply, But I've done that many times and no useful information for me.
 
Stephensh Zhang
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I find a new way to stop ListenerPort, You need have to click Command Assistance in Web Console, Selected checkbox and click button stop listener,
Look at Command Assistance , You'll find answer. Refer attachements.
Administrative-Scripting-Commands.png
[Thumbnail for Administrative-Scripting-Commands.png]
help.png
[Thumbnail for help.png]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic