Can someone help me? I'm using WSAD 5.1 - interestingly, AdminTask does not seem to be installed on my computer, which is why I've been usig AdminConfig.
Thanks!
this is, what I use when creating new servers:
jvmCustomProperties = [['de.volkswagen.env','test']
,
['java.awt.headless' ,'true']
attr = []
print "setting JVM custom properties..."
for prop in jvmCustomProperties:
print " ",prop[0],'=',prop[1]
attr.append([['name',prop[0]],['value',prop[1]]])
print"...",
jvm = AdminConfig.list('JavaVirtualMachine',server)
AdminConfig.modify(jvm,[['systemProperties',[]]])
AdminConfig.modify(jvm,[['systemProperties',attr]])
print "ok"
it seems to be one bracket too much in your code
> Can someone help me? I'm using WSAD 5.1 - interestingly, AdminTask does not seem to be installed on my computer, which is why I've been usig AdminConfig.
iirc, AdminTask is available starting with WAS6
Helmut