Win a copy of Head First Android this week in the Android 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

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
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic