[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Setting Condor Job Owner in Windows



Hi Ben,

Thanks for replying.

 

The java program that is making the call to condor_submit is an application that has been deployed as a web app within a Tomcat web servlet container, and is invoked from the command line (using ant).  It appears as a java.exe process running with User Name ‘diane’ (when viewed with Windows Task Manager).

However, subtasks initiated by my program do show up in the Process queue as running as ‘SYSTEM’, which probably accounts for why condor is trying to use ‘system’. 

 

I’m not that familiar with web services or Windows, so I’m not sure if it’s possible to change my application to not use ‘system’.  This application worked (with condor) under Linux for several years, and has been recently ported to Windows.  Under linux, jobs started by the app were run as user ‘diane’ (or for condor job, the user as set via CONDORID).

 

Does anyone know how to change my app to use user ‘diane’ instead of ‘system’?

Or is there a way to add credentials for ‘system’ to condor?

 

Any help would be greatly appreciated.

Thanks

Diane

 

 

 

 

From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Ben Burnett
Sent: Tuesday, October 02, 2007 4:04 AM
To: 'Condor-Users Mail List'
Subject: Re: [Condor-users] Setting Condor Job Owner in Windows

 

Hi Diane:

 

How are you invoking the java program? I’m not at Java expert, but if you are invoking the java application directly (using your user account—the one that works for submitting jobs) then it probably means that the execution method you are using runs the executable using the system account, rather than your own. 

 

-B

 

From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Diane
Sent: Monday, October 01, 2007 5:49 PM
To: condor-users@xxxxxxxxxxx
Subject: [Condor-users] Setting Condor Job Owner in Windows

 

I am running Condor 6.8.3 under windows NT.  When I submit a condor.submit file from the command line via:

                Condor_submit condor.submit

the job owner is ‘me’ and the job runs fine.

 

When I submit the same condor.submit file from a java application:

        String[] condorCommand = { “condor_submit”, "condor.submit"} ;

        process = Runtime.getRuntime().exec( condorCommand, null,  workingDir);

the job is started as owner ‘system’ and I get error:

 

ERROR: No credential stored for SYSTEM@NT AUTHORITY

 

      Correct this by running:

      condor_store_cred add

 

However, I can’t run condor_store_cred add for SYSTEM since I don’t know SYSTEM password.

 

How do I get the job to be started as owner ‘me’ instead?

 

Thanks,

 

Diane Harding