my pathInstr is:

/usr5/websisp/NPL/Web/proc/Instr.ksh

where Instr.ksh is a batch file :
-----
#! /usr/bin/ksh

export PATH=/usr/bin:/usr/local/bin:/oracle1/7.3.4/bin:/oracle1/7.3.4/lib

echo $PATH >> /tmp/mav_instr.log

ksh -c /usr5/websisp/NPL/Web/proc/Instradamento $*  >> /tmp/mav_instr.log

echo `date +"%d/%m/%Y %T"` >> /tmp/mav_instr.log
-----

i try on the sun and it works, but when i call it within the servlet I can
see the echoes but Instradamento don't work (it seems not to be launched)
and i receive a return code = 137

I'm really going mad  please HELP!!!!!!!!!

thanks



----- Original Message -----
From: "Christopher K. St. John" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 04, 2002 4:50 PM
Subject: Re: calling an external program whitin a servlet


> "Baker, Robert E" wrote:
> >
> > English, please.
> >
>
>  Babelfish please. Cut and paste, and three seconds
> later you've got a translation. Well, a "translation"
> at least :-)
>
>
> > Il problema seganalato da te' e' perche' stai cerando di attivare una
> > sessione Oracle
> > su un sistema che il web non conosce i path di esecuzione.
> > Dovresti eseguire una procedura in cui ci sono tutti i path relativi
alla
> > tua richiesta.
> >
>
>  http://babelfish.altavista.com/ says:
>
>    "The problem seganalato from te' e' perche' you are cerando
>     to activate a Oracle session on a system that the web does
>     not know the path of execution. You would have to execute
>     a procedure in which there are all the path relative to
>     your demand."
>
>  Not exacty deathless prose, but close enough. So, Andrea,
> how about it? What does pathInstr look like? Does it have
> the full path to the executable?
>
>
> --
> Christopher St. John [EMAIL PROTECTED]
> DistribuTopia http://www.distributopia.com
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to