Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [condor-users] a question about java jobs over Condor_G
- Date: Fri, 19 Mar 2004 19:10:03 -0800 (PST)
- From: Yuhong Feng <april_continue@xxxxxxxxx>
- Subject: Re: [condor-users] a question about java jobs over Condor_G
Dear Mr. Jaime Frey,
Thanks a lot for your kind information. Now My script
goes as following:
Executable = print.class
globusscheduler = surya/jobmanager-condor
Universe = globus
GlobusRSL = (condor_submit=(Universe java))
Arguments = print $(input)
input = print.in
output = print.java.out
error = print.java.error
Log = print.java.log
Queue
It is OK for Condor-G for job submision. However,
my java code still not run:
java.lang.ClassNotFoundException: print
at
java.net.URLClassLoader$1.run(URLClassLoader.java:198)
at
java.security.AccessController.doPrivileged(Native
Method)
at
java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at
java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:272)
at
java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at
CondorJavaWrapper.main(CondorJavaWrapper.java:101)
It seems my classpath is not right.
>java print
I can get the right result. so what other info should
I add to classpath? Your kind information is highly
appreciated.
thanks again
Best regards,
sincerely
yuhong
>
> When you use Condor-G to submit a job via Globus,
> Globus assumes it's a
> regular executable. When Globus submits the job to
> the remote Condor pool,
> it submits it as a vanilla universe job. Globus
> doesn't do any special
> handling for java jobs. If you have a recent version
> of Globus installed
> on surya, you can set attributes in the submit file
> that Globus uses to
> submit the job to Condor. For example, you can make
> the remote job be
> submitted as a java universe job by adding the
> following to your Condor-G
> submit file:
>
> GlobusRSL = (condor_submit=(Universe java))
>
>
+------------------------------------+-------------------------------+
> | Jaime Frey |There are 10
> types of people in|
> | jfrey@xxxxxxxxxxx |the world:
> Those who understand|
> | http://www.cs.wisc.edu/~jfrey/ | binary, and
> those who don't |
>
+------------------------------------+-------------------------------+
> Condor Support Information:
> http://www.cs.wisc.edu/condor/condor-support/
> To Unsubscribe, send mail to majordomo@xxxxxxxxxxx
> with
> unsubscribe condor-users <your_email_address>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com
Condor Support Information:
http://www.cs.wisc.edu/condor/condor-support/
To Unsubscribe, send mail to majordomo@xxxxxxxxxxx with
unsubscribe condor-users <your_email_address>