Solved

unable to run script in WLST

Posted on 2009-07-08
3
1,218 Views
Last Modified: 2013-12-10
when I run the commands individually I was able to do but when I enter all the commands in  file(.py extension) and run it I'm unable to do it.

Attached is the script file and the error file

This is the command I'm using to execute the script file

C:\>java weblogic.WLST createcluster.py


what could be the reason
can anybody help me


Thanks
createcluster.txt
error.txt
0
Comment
Question by:NikhilKotagiri
  • 2
3 Comments
 
LVL 10

Expert Comment

by:rajesh_bala
ID: 24809289
It looks like you already have created a server called "Server-1" and then again trying to create it using WLST.


I would recommend you to check via weblogic console to ensure if you have "Server-1" already present or not.

1. If so, you can delete it and run this WLST.

Or

2. Rename "server-1" in your WLST and run it again to create new server
0
 

Accepted Solution

by:
NikhilKotagiri earned 0 total points
ID: 24809698
found out the error already

thanks rajesh_bala
0
 
LVL 10

Expert Comment

by:rajesh_bala
ID: 24810126
np..welcome
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
bitwise OR python 2.7 4 52
Downgrade Python 3.5 to 3.3 30 944
Basics of Drool Rule Engine with few samples 2 78
Python - desktop use 1 43
"The time has come," the Walrus said, "To talk of many things: Of sets--and lists--and dictionaries-- Of variable kinks-- And why you see it changing not-- And why so strange are strings." This part describes how variables and references (see …
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question