Link to home
Start Free TrialLog in
Avatar of hu8mypho
hu8mypho

asked on

wsadmin jython update uninstall install application

Hi

I'm trying to piece together or find a sample script that will install, update or uninstall then install new version of an app on WAS 6.1

Thanks
Avatar of HonorGod
HonorGod
Flag of United States of America image

The following page has both Jacl & Jython scripts for WebSphere administration, including the deployment of applications.

http://www.ibm.com/developerworks/websphere/library/samples/SampleScripts.html
Be sure to take a look at AutoDeploy
Avatar of hu8mypho
hu8mypho

ASKER

I actually downloaded the autodeploy samples and have been looking at the description doc.  I'm familiar with wsadmin, but isn't strong in python.  Trying to see if I can rip stuff apart or combine  stuff together to get a single or fewer executable py that encompasses my desired functionality.  Any thoughts?
Well, Jython is basically Python, but instead of executing on the Python virtual machine (using Python byte code), Jython executes on a Java Virtual Machine.

So, Jython is compiled into Java byte codes, and executed on the same Java Virtual Machine code that is used by the WebSphere Application Server.

To learn Jython, use some of the Python tutorials (e.g., http://www.python.org/tutorial).

If you have specific questions about wsadmin Jython, I'll be happy to try and answer them for you.
Thanks for your help.  I am actually looking for help on this.  I meant to say Jython, I was just implying jython when referring to wsadmin.  

I've been tasked with trying to put together a script of set of script that essentially accomplishes some of the tasks that the autodeploy sample achieves.  I need to tailor it specifically to situation.  Can you help?

I'm familiar with the wsadmin objects, but haven't used it often.  

Thanks,
I am very familiar with wsadmin, and Jython (less so with Jacl).
What do you need to do?

I presume that you are on WebSphere Application Server 6.1.
Is that correct?
Thanks ahead for your help.  I can definitely see your track record.  I'm working on WAS knowledge, but I need to ramp up on wsadmin jython asap.  Looking to build deployment script.  I've been looking through samples and stuff, but now I want to carve out something from it that is can be used in my environment.  

WAS 6.1.  any way to discuss further offline?
ASKER CERTIFIED SOLUTION
Avatar of HonorGod
HonorGod
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thank you.  will start over with specific questions.
I hope that you found the information somewhat helpful.

I think that you understand how difficult it is to answer a "wide open" question thoug.

Thanks for the grade & points

Good luck & have a great day.