Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WAS 6.1 Server Creation

 
Pikaz Webb
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok heres the predicament:

My Team recently updated to using WAS 6.1 servers for all our projects. We use RSA 7.0 for our IDE. The problem being that everytime we need to create a new workspace we need to create the server from scratch and configure all the drivers and datasources. There is an option for using "Jython" to create an administrative script to generate a server... but with no examples....so heres my question: does anyone know of any example scripts for creating WAS 6.1 servers, perhaps an example with datasource creation?

Thanks in advance everyone = )
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34671
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pikaz,
I haven't used Jython yet, so I can't address this directly. I do want to mention there is another option. You can export your server as a .car file and import it onto the other machines. This preserves the datasources and drivers. Just be sure not to have anything deployed on the server when you do the export.
 
Ramakanta Sahoo
Ranch Hand
Posts: 256
Fedora Firefox Browser Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Pikaz,
I have one example script.
This example creates and modifies a server, loads an application
onto the server, and starts the server.
Hope this will be helpful in finding your way out.
save the following code in a file like ex1.py


Cheers!!

Ricky.
 
Sunil dias
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

you can get more information from IBM website.

http://www.ibm.com/developerworks/websphere/library/samples/SampleScripts.html

Regards

Sunil
 
Pikaz Webb
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you so much for replying. thank you for the example script it will be a great help. Now as for exporting the server as a .car file, how do I do this? I don't see it under the standard exports, this would be a fast viable solution...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic