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

[Condor-users] Birdbath java universe classpath




Hello,

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 );
            xact.commit();

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?

Thanks,
Josh

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