Hello,
If I added in environment, everything run as should.
String env[] = {
"SystemRoot=E:\\Windows",
"PATH=%PATH%;E:\\Program les(x86)\\Tivoli\\TSM\\baclient",
"DSM_CONFIG=E:\\Program Files(x86)\\Tivoli\\TSM\\baclient\\dsm.opt",
"DSM_LOG=E:\\Program Files(x86)\\Tivoli\\TSM\\baclient",
"DSM_DIR=E:\\Program Files(x86)\\Tivoli\\TSM\\baclient"
};
Thanks very much,
Andrei Medan
-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of
Richard Sims
Sent: Tuesday, November 02, 2010 1:38 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: [ADSM-L] problem accessing TSM APi from java client
It may be that you need to define the "SystemRoot" environment variable, as
mentioned in
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6256268
It is also healthy to specify full paths to executables in such invocations,
rather than depend upon Path searching.
(Note that you are not accessing the TSM API; you are invoking the command line
client.)
Richard Sims
|