Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #8028

Re: Default user deleted after executing create JMSServer using WLST

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!nx01.iad01.newshosting.com!newshosting.com!news-out.readnews.com!news-xxxfer.readnews.com!postnews.google.com!x21g2000prd.googlegroups.com!not-for-mail
From Amit Jain <amitatgroups@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: Default user deleted after executing create JMSServer using WLST
Date Wed, 14 Sep 2011 02:08:48 -0700 (PDT)
Organization http://groups.google.com
Lines 52
Message-ID <9f6c43e1-eef2-43ce-9a98-ec922db39320@x21g2000prd.googlegroups.com> (permalink)
References <34a98472-e3fc-4634-9485-7ea190f1bde4@y39g2000prd.googlegroups.com> <4153136b-2a7f-43a6-906f-04d997e9f0b7@glegroupsg2000goo.googlegroups.com>
NNTP-Posting-Host 202.91.134.6
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-Trace posting.google.com 1316025274 19958 127.0.0.1 (14 Sep 2011 18:34:34 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Wed, 14 Sep 2011 18:34:34 +0000 (UTC)
Complaints-To groups-abuse@google.com
Injection-Info x21g2000prd.googlegroups.com; posting-host=202.91.134.6; posting-account=nfY0mAoAAACVg1Q2sAv3E8UuwasUQpaM
User-Agent G2/1.0
X-HTTP-Via 1.1 genproxy:8080 (squid/2.6.STABLE3), 1.0 iproxy3n:8080 (squid/2.7.STABLE2), 1.0 iproxy3n.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:8028

Show key headers only | View raw


On Sep 13, 3:22 am, Lew <lewbl...@gmail.com> wrote:
> Amit Jain wrote:
> > 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=
> > "
> >     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 -----
>
> This looks like Python, not Java.
>
> --
> Lew- Hide quoted text -
>
> - Show quoted text -

Please go through below link to get ride of problem

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar


Thread

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