Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #7879
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!y39g2000prd.googlegroups.com!not-for-mail |
|---|---|
| From | Amit Jain <amitatgroups@gmail.com> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Default user deleted after executing create JMSServer using WLST |
| Date | Mon, 12 Sep 2011 02:16:49 -0700 (PDT) |
| Organization | http://groups.google.com |
| Lines | 54 |
| Message-ID | <34a98472-e3fc-4634-9485-7ea190f1bde4@y39g2000prd.googlegroups.com> (permalink) |
| NNTP-Posting-Host | 202.91.135.88 |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-Trace | posting.google.com 1315820776 24823 127.0.0.1 (12 Sep 2011 09:46:16 GMT) |
| X-Complaints-To | groups-abuse@google.com |
| NNTP-Posting-Date | Mon, 12 Sep 2011 09:46:16 +0000 (UTC) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | y39g2000prd.googlegroups.com; posting-host=202.91.135.88; posting-account=nfY0mAoAAACVg1Q2sAv3E8UuwasUQpaM |
| User-Agent | G2/1.0 |
| X-HTTP-Via | 1.1 genproxy:8080 (squid/2.6.STABLE3), 1.0 iproxy5n:8080 (squid/2.7.STABLE2), 1.0 iproxy5n.amdocs.com:8888 (IWSS) |
| X-Google-Web-Client | true |
| X-Google-Header-Order | ARLEUHCVF |
| X-HTTP-UserAgent | Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; MS-RTC LM 8),gzip(gfe) |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:7879 |
Show key headers only | View raw
Hi All,
see below scripts...We execute below piece of script after executing
create simple domain
script. In create simple domain we are just creating a Default
administrator along with domain.
----- Create JSM Server Script Starts -----
from java.lang import System
from java.util import Properties
from java.io import FileInputStream
from com.amdocs.oss.aua.ant.taskdefs.deploy import DecryptProperty
antPropertyFile = System.getProperty("wlst.properties")
if antPropertyFile is None:
print "Unable to locate ant property file. Please specify -
Dwlst.properties=<path to property file>"
exit(exitcode=-1)
pfile = FileInputStream(antPropertyFile)
wlstProperties = Properties()
wlstProperties.load(pfile)
decryptProperty = DecryptProperty()
username = wlstProperties.getProperty("weblogic.username")
password = wlstProperties.getProperty("weblogic.password")
url = wlstProperties.getProperty("providerURL")
connect(username, password, url)
adminServerName = cmo.adminServerName
edit()
startEdit()
# Create JMS server and assign the Filestore
jmsServer = create("AUAJMSServer", "JMSServer")
subTarget = getMBean("/Servers/" + "AdminServer")
jmsServer.addTarget(subTarget)
jmsServer.setPersistentStore(filestore)
cd('/JMSSystemResources')
save()
isRestartRequired()
----- Create JSM Server Script Ends -----
Thanks in advance...
regards, Amit J.
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar
Default user deleted after executing create JMSServer using WLST Amit Jain <amitatgroups@gmail.com> - 2011-09-12 02:16 -0700
Re: Default user deleted after executing create JMSServer using WLST Amit Jain <amitatgroups@gmail.com> - 2011-09-12 06:29 -0700
Re: Default user deleted after executing create JMSServer using WLST Lew <lewbloch@gmail.com> - 2011-09-12 15:22 -0700
Re: Default user deleted after executing create JMSServer using WLST Amit Jain <amitatgroups@gmail.com> - 2011-09-14 02:08 -0700
csiph-web