unable to run script in WLST

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
NikhilKotagiriAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rajesh_balaCommented:
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
NikhilKotagiriAuthor Commented:
found out the error already

thanks rajesh_bala
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rajesh_balaCommented:
np..welcome
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java App Servers

From novice to tech pro — start learning today.