This week's giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Secure Financial Transactions with Ansible, Terraform, and OpenSCAP and have Lucian Maly on-line!
See this thread for details.
Win a copy of Secure Financial Transactions with Ansible, Terraform, and OpenSCAP this week in the Cloud/Virtualization forum!
  • 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
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

using xml to configure an application server

 
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have an application running on WAS 4.0 on Solaris. I wrote a Makefile to build the .ear file. The goal is to deploy this .ear on a new application server automatically. WSCP takes time to learn. So, I am trying to avoid it.
Hopefully, I can export the configuration of my current machine to an XML file. On the new machine, the XML file will be imported to configure the application server.
Did somebody do this before? I don't know what will happen to .ear file. Should I put it in installedApps, and the new application server will pick it up? I image things, such as Data Source, Database Driver will work fine.
Am I in the right track?
Jun Hong
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you are talking about using XMLConfig -- yes, it will work but only so far. It can create datasources, etc. as you describe, but there are other things it can't do. The whole answer is that no, you are not on the right track. You need to buckle down and learn WSCP. It's not that hard, really! WSCP has capabilities that XMLConfig doesn't.
Kyle
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.
 
Jun Hong
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Kyle,
Thank you for your reply and it is very helpful. I will spend some time on learning WSCP.
Jun Hong
 
Kyle Brown
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No problem Jun. One of the things that some people don't realize is that WSCP is really nothing more that TCL (tool control language) with some additional WebSphere libraries. So go get a good book or intenet tutorial on TCL (personally, I like O'Reilly's book: http://www.oreilly.com/catalog/tclnut/) and then gain the WebSphere specifics from the documentation and online help.
Kyle
------------------
Kyle Brown,
Author of Enterprise Java (tm) Programming with IBM Websphere
See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.
 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Could soembody give some examples of things that WSCL can do that xmlconfig can't do ?
Thanx,
Vijay
 
The world's cheapest jedi mind trick: "Aw c'mon, why not read this tiny ad?"
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic