[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [condor-users] problem with Java execution
- Date: Mon, 15 Mar 2004 15:41:38 +0200
- From: Mark Silberstein <marks@xxxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: [condor-users] problem with Java execution
> It is. It points to:
> JAVA = c:\winnt\system32\java.exe
Check that ALL have at least "read" permissions to this directory and
this file. startd invokes java as a temporary user, and the fact that
you can invoke it doesn't mean that startd can.
In addition, I would not use Microsoft java, whatsoever.
> Hmm, that wouldn't help though.
> Situation is, that I have transformation devices (like translets) packed in
> jars, which always contain class of fixed name, which carries out the
> execution (let's call it Transform for example). In my script I need to call
> different translets, so I'd need them all on classpath. It that case though,
> Transform class from one jar would override Transform class from the other.
OK, I see. Bad for you ;( You can try a little bit more complicated
setup, but it would require some "java" work, but it would work. You can
try writing your class loader, which loads classes not from the
classpath. Take a look:
I'm sure there're more ways to do that
By the way, I think you're wondering why you should do all this instead
of simple execution of java with batch script you tried first. You can
to get the answer. I wanted to write it here myself, but ended up with
long citation, so you'd better read the original.
> > > > > When I run my script, I get error message:
> > > > > -------
> > > > > Error: could not open `C:\Program
> > > > > -------
> > > > > But jvm.cfg file is there.
> Condor Support Information:
> To Unsubscribe, send mail to majordomo@xxxxxxxxxxx with
> unsubscribe condor-users <your_email_address>
Condor Support Information:
To Unsubscribe, send mail to majordomo@xxxxxxxxxxx with
unsubscribe condor-users <your_email_address>