Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #8028
| From | Amit Jain <amitatgroups@gmail.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Default user deleted after executing create JMSServer using WLST |
| Date | 2011-09-14 02:08 -0700 |
| Organization | http://groups.google.com |
| 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> |
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 | Next — Previous 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