aspose file tools*
The moose likes Websphere and the fly likes WAS 6.1 Server Creation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "WAS 6.1 Server Creation" Watch "WAS 6.1 Server Creation" New topic
Author

WAS 6.1 Server Creation

Pikaz Webb
Greenhorn

Joined: Oct 03, 2008
Posts: 2
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30537
    
150

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Ramakanta Sahoo
Ranch Hand

Joined: Aug 23, 2008
Posts: 254

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.


Regards, Ricky
Oracle Weblogic 10g Certified Expert TechPaste.Com
Sunil dias
Greenhorn

Joined: Aug 04, 2008
Posts: 18
Hi

you can get more information from IBM website.

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

Regards

Sunil
Pikaz Webb
Greenhorn

Joined: Oct 03, 2008
Posts: 2
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...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: WAS 6.1 Server Creation