Solved

unable to run script in WLST

Posted on 2009-07-08
3
1,219 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

Less strange, but still introduction This introduction was added (1st August, 2011) to reflect some reactions.  Firstly, the term basics in the title of the article...  As any other word, it is a symbol with meaning attached to the word by some a…
"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 …
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…

733 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