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

Re: [Condor-users] Jar_files option



Hi,

you also need to include the jar file in the
transfer_input_files list. I believe this is
fixed on one of the latest versions of condor,
but last time I played with it, it was still
necessary.

Hope this helps,
- Filip

> Hi all,
>        A fairly straightforward job will run if I use these commands in
> the submit file:
>
>
> transfer_input_files = a.class, foo.class, config.txt, training.txt
>
>       But if I jar them ( jar cvf file.jar *class *txt) and instead use:
>
>  jar_files = file.jar
>
>       The job fails on trying to read a text file with this sort of
> error
>
> java.lang.NullPointerException
> 	at java.io.FileInputStream.<init>(FileInputStream.java:103)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:66)
> 	at java.io.FileReader.<init>(FileReader.java:41)
>
>       Is there a way I can transfer a jar file and individual files as
> config data at the same time?
>
> This problem has been stumping me for some time.
>
> Appreciate any help.
> Thanks
> Kevan
> Uni of Essex
>
> _______________________________________________
> Condor-users mailing list
> Condor-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>