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

Re: [Condor-users] Problem of submitting job using the Servlet



Hello Norihiho,

Regarding the running of Condor from a servlet container, that is a task i'm trying to do now.  However, I don't believe you have a servlet-type error.

Based on the Condor manual, your error is Windows related.  The cause of this problem can be found from this URL:

http://www.cs.wisc.edu/condor/manual/v6.6/7_4Condor_on.html#SECTION00845000000000000000

Since SYSTEM is not a standard user account, I'm not sure if an NT system administrator can log in with this account and run "condor_store_cred" as recommended.  Perhaps a roundabout way is to run "condor_store_cred" from the servlet container once in order to add SYSTEM@NT to the stashed passwords?

I have not tested the above approach, so it's just speculation.  I also noticed that you are running the development version 6.7.8.  It might have Apache Axis, so doing Runtime.exec() may not be the best approach if Condor is available via web service!  This approach is very appealing for us, but we weren't comfortable with using v6.7.x and are sticking with the stable version v6.6.x, which does not have Apache Axis.  You might want to ditch Runtime.exec() altogether and use Axis if available, since you are already using a dev version.

-Al


Norihiro FUJII wrote:
Hi all,
 
I installed Condor submit machine and the Servlet container(Apache Tomcat) in same PC.
And I submitted a Condor job  using  [ Runtime.getRuntime().exec( "condor_submit xxxxx.cmd") ] method on Servlet.
But This job did not work. I received following message:
 
 ERROR: No credential stored for SYSTEM@NT AUTHORITY
 Correct this by running:
 condor_store_cred add
As I submitted a Condor job from DOS Prompt, this job was worked completely and there are no errors.
 
Can I submit Condor jobs from Servlet ?
Anyone knows about it. Please teach me how to do.
 
My environments of Condor System are  
   Windows XP
   Condor Version 6.7.8
   Apache Tomcat version 5.0.30
   Java 1.4.2_07-b05
 
Thanks for help
Noirihrio Fujii

_______________________________________________ Condor-users mailing list Condor-users@xxxxxxxxxxx https://lists.cs.wisc.edu/mailman/listinfo/condor-users

-- 
Alvin Ramsey, PhD.

Vecna Technologies, Inc.
5205 Leesburg Pike
Falls Church, VA  22041
aramsey@xxxxxxxxx
t: 703.998.5333
f: 703.998.5816