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

Re: [Condor-users] Birdbath java universe classpath

Similar to Jerome's problem with dagman is that condor_submit does /a lot/ of work for you and you need to replicate some of that work when submitting through Condor's SOAP API.

As with the dagman issues I'd suggest you look at the job ad that condor_submit created for you and see if there are some extra attributes that might be relevant.

A (not so) quick look around suggests that condor_submit turns "jar_files" into "JarFiles" in the actual job ad. You'll have to do the same.



Joshua.Chartier@xxxxxxxxxxxx wrote:


I'm using Condor 6.8.5 and submitting java universe jobs via birdbath.
Unfortunately, according to StarterLog.vm1 and error messages the jar_files that I've identified in the ClassAd are not getting added to the classpath. My jobs work fine when I submit them via the commandline, but is there something special that must be done to make this work using birdbath?

my birdbath commands look something like this...

            int cluster = xact.createCluster();
            int job = xact.createJob(cluster);
File[] files = { new File("C:\\condor\\myClass.class"), new File("C:\\condor\\neededJar.jar") }; ClassAdStructAttr[] ads = {new ClassAdStructAttr("NTDomain",ClassAdAttrType.value3,"myDomain"), new ClassAdStructAttr("jar_files",ClassAdAttrType.value3,"needJar.jar"), new ClassAdStructAttr("Out",ClassAdAttrType.value3,"out.txt"), new ClassAdStructAttr("err",ClassAdAttrType.value3,"err.txt")}; xact.submit(cluster, job, "me", UniverseType.JAVA , "myClass.class","myClass 1 2",null,ads,files );

Does the jar need to be sent in a special way, or is there some other way that I can make sure that it gets added to the classpath?


This message is commercial in confidence and may be privileged. It is intended for the addressee(s) only. Access to this message by anyone else is unauthorized and strictly prohibited. If you have received this message in error, please inform the sender immediately. Please note that messages sent or received by the Tessella e-mail system may be monitored and stored in an information retrieval system.

TESSELLA   Joshua.Chartier@xxxxxxxxxxxx
__/__/__/  Tessella Inc
__/__/__/   233 Needham Street, Suite 300, Newton, MA 02464, USA
__/__/__/  www.tessella.com
Tel: (1) 617.454.1220  Fax: (1) 617.454.1001


Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at: https://lists.cs.wisc.edu/archive/condor-users/