ADSM-L

Re: [ADSM-L] problem accessing TSM APi from java client

2010-11-02 10:31:25
Subject: Re: [ADSM-L] problem accessing TSM APi from java client
From: Andrei Medan <andrei.medan AT LMSINTL DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Tue, 2 Nov 2010 15:30:18 +0100
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