[GE users] Job submission from Tomcat

Andreas.Haas at Sun.COM Andreas.Haas at Sun.COM
Mon Dec 10 11:02:10 GMT 2007


Hi Fabiano,

there should be no problems with daemons sending jobs
using Java DRMAA. Maybe your daemon submits jobs under
a different user ID than from the shell?

Regards,
Andreas



On Mon, 10 Dec 2007, Fabiano wrote:

> Hi,
> I'm trying to develop a java web application that
> permits users to submit jobs from a web page. I'm
> using java with jsp and tomcat as the application
> server. I'm using drmaa to submit jobs, but jobs can't
> complete execution. When I try to call:
> JobInfo info = drmaaSession.wait(id,
> Session.TIMEOUT_WAIT_FOREVER);
> I receive:
> org.ggf.drmaa.NoResourceUsageException: no usage
> information was returned for the completed job
>
> If I wait job termination with Thread.sleep() and I
> check the status with
> drmaaSession.getJobProgramStatus(id) I see that the
> job failed.
>
> If I start the same program from the shell I have no
> errors. What could be the problem? Maybe a daemon
> can't submit jobs?
> Thanks in advantage
>
> Fabiano
>
>
>      ___________________________________
> L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net
>
>

http://gridengine.info/

Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list