Solved

unable to run script in WLST

Posted on 2009-07-08
3
1,217 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Parse csv file and generate graphs in HTML in bash 8 185
Using Tomcat as raspberry pi java app server 13 166
Python Install On Mac Yosemite 8 149
Copy Files - Python 7 83
Strings in Python are the set of characters that, once defined, cannot be changed by any other method like replace. Even if we use the replace method it still does not modify the original string that we use, but just copies the string and then modif…
Sequence is something that used to store data in it in very simple words. Let us just create a list first. To create a list first of all we need to give a name to our list which I have taken as “COURSE” followed by equals sign and finally enclosed …
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…

810 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