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

Re: [Condor-users] .jar Apllication



I think the problem is with the executable, e.g. something like this:

executable   =  thread01.class
arguments     = thread01
initialdir   = .
output         = Thread.out
error          = Thread.error
 log          = Thread.log
jar_files = TesteThread.jar 
transfer_files = ALWAYS

Kevan


From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of marcus ricardo
Sent: 13 April 2011 15:04
To: Condor-Users Mail List
Subject: Re: [Condor-users] .jar Apllication

But I tried with this line and the error file shows the same error:
jar_files = TesteThread.jar
2011/4/13 Alain Roy <roy@xxxxxxxxxxx>
I'm not an expert on the Java universe, but I believe you need the "jar_files" attribute as well:

http://www.cs.wisc.edu/condor/manual/v7.5/2_8Java_Applications.html#SECTION00382000000000000000

-alain

On Apr 13, 2011, at 8:50 AM, marcus ricardo wrote:
> When I submit a java aplication, my error file shows this:
> java.lang.ClassNotFoundException: Thread01
>
> And my .sub file is the following:
>
> #Example 1
> # Execute a single Java class
> #
> ####################
>
> universe       = java
> executable     = TesteThread.jar
> log            = logfile
> arguments      = Thread01
> output         = Thread.out
> error          = Thread.error
> should_transfer_files = YES
> when_to_transfer_output = ON_EXIT
> requirements = machine != "cluster.hpc.org"
> machine_count = 8
> queue
>
> Any suggestion?
> --
> Marcus Ricardo
> _______________________________________________
> 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/

_______________________________________________
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/



-- 
Marcus Ricardo