We help IT Professionals succeed at work.
Get Started

Exporting & Importing WAS profiles

RishiBang asked
Last Modified: 2013-12-11

I have to clone the WebShere installation for a mock DR exercise.

My requirement is in such a way that the import operation should only import the configuration into the Target WAS server without dropping the Source server's cell, Node folders as it is.

It should use the same cell & node names in the target server and just import/copy the configurations as it is.

I came to know abt the AdminTask.exportWASProfile() and AdminTask.importWasProfile() jython methods from the info center.

I am able to export the WAS profile on Source WAS Server as myprofile.car.

I have created the new profile in the target server to match exactly the Source server.

But when I tried to import it I have observed that the import process is creating the Cell, node folders as defined in the archive (for ex it has created the source cellname folder in installed apps of the target server. I DONT want this behavior.

I tried to provide the cellname and nodename of the target server as params but the importwasprofile method/command says they are invalid.

I request anyone in EE to provide the solution or best approach for this.


Watch Question
This problem has been solved!
Unlock 10 Answers and 13 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE