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

Re: [Condor-users] problem executing jar file



> I can see the problem is something to do with the
> condor_install_dir/lib
> folder but I am not sure what exactly.  

Can you explain what you mean by this?

> Initialdir = /home/users/a4131673

Have you tried running it without the Initialdir set? It may be 
that Condor cannot locate the jar file.

> -----Original Message-----
> From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-
> bounces@xxxxxxxxxxx] On Behalf Of Aengus McCullough
> Sent: Thursday, April 17, 2008 6:44 PM
> To: condor-users@xxxxxxxxxxx
> Subject: [Condor-users] problem executing jar file
> 
> I am having difficulty executing a Java job on Condor when it is
> packaged as a Jar.  The same job runs fine when it is unpacked.  I am
> getting the following error:
> 
> java.lang.ClassNotFoundException: gab142.jar not found in
> gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/software/condor/cond
> o
> r-6.8.2_x86_64/lib/,file:/home/software/condor/condor-
> 6.8.2_x86_64/lib/s
> cimark2lib.jar,file:./,file:/condor/execute/dir_471/gab142.jar],
> parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
>    at java.net.URLClassLoader.findClass(libgcj.so.7)
>    at java.lang.ClassLoader.loadClass(libgcj.so.7)
>    at java.lang.ClassLoader.loadClass(libgcj.so.7)
>    at java.lang.Class.forName(libgcj.so.7)
>    at CondorJavaWrapper.main(CondorJavaWrapper.java:101)
> 
> 
> I can see the problem is something to do with the
> condor_install_dir/lib
> folder but I am not sure what exactly.  Can anyone help?  Also does
> anyone know if "-jar" needs to be specified as one of the arguments
> when
> submitting a .jar file to condor.
> 
> ----------------submit file----------------------------
> Universe                = java
> Executable              = gab142.jar
> jar_files               = gab142.jar
> Arguments               = gab142.jar -i io3.txt
> Output                  = gab142.out
> Error                   = gab142.error
> transfer_input_files    =  io3.txt
> should_transfer_files   = YES
> when_to_transfer_output = ON_EXIT
> Initialdir = /home/users/a4131673
> 
> ------------------------------------------------
> Thanks,
> Aengus
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with
> a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> 
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/