[GE users] Job submission from Tomcat

Fabiano f.cima at yahoo.it
Mon Dec 10 11:35:34 GMT 2007


    [ The following text is in the "iso-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

Hi Andreas,
yes, tomcat has a different user ID: it's running with
its own user (tomcat55). When I run the application
from shell I'm logged in with my user account.

Regards,
Fabiano


--- Andreas.Haas at Sun.COM wrote:

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



      ___________________________________ 
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




More information about the gridengine-users mailing list