Hello,
Does anyone know why this is happening ?
I've written a jython script that should be able to start non-running AppServers simultaneously on a "per node" basis.
ie, Each node starting 1 x AppServer at a time, but independantly of of each other. This works ok if I run each command one by...
Trying to append a double quote to a variable. The system command seems to end the line, any ideas on a way round this ?
eg,
$x = `DATE /T` ;
$y = $x.'"' ;
print $y ;
Wanted.....
23/06/2008"
But I get.....
23/06/2008
"
Hello,
New to Perl and trying to set Windows variables from within Perl.
eg; set JAVA_HOME=C:/java
Does anyoneone know how this could be invoked via a perl script ?
Thanks in advance
Winston
Hello,
I would like to import a module using a "read in" variable.
eg, something along the lines of:
----------------------------------------------------------
variable = raw_input("Module name is: ") # type in MYMOD
import variable
----------------------------------------------------------...
Hello,
Does anyone know if or how a WebServer object can be created via jython, using the AdminConfig command. I know it can be done via AdminTask, but would prefer the former.
Thanks in advance
Winston
Does anyone know how to do this in python ?
var = testing(123)(234)
I want to print out only "testing" by truncating var.
I would imagine that this could possibly be done by splitting "testing(123)(234)" into multiple fields using ( as the delimitter, and then printing out only the first...
Hello,
New to Python / jython.
Have a problem appending a digit on to the end of a string as per below. Does anyone know a way around this ?
contents of config.py file....
total = 2
var1 = one
var2 = two
contents script.py file.....
import config
count = 1
while count <= import.total:
#...
Hello,
I'm new to Python (Jython) and would like to know how I can run a Python (Jython) script which uses a variable which is sourced from an external properties file.
A very simple eg could be as per below.....
Contents of external properties file:
var1 = server1
Contents of Python(Jython)...
Hello,
We've had 4 x 420's redundant power supply failures recently.
We know this due to the amber light on the front of the systems. The system however doesn't seem to alert this problem in any other way, eg, via prtdiag or /var/adm/messages. Does anyone know how we could be alerted to this...
Hello there,
I'm trying block any CDE logins from remote systems, but not locally. The clients still require however Xwindows access. I know that dtlogin -d will remove CDE completely, but this is an overkill. I've also tried commenting out the dtscp (dtlogin subprocess) entries in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.