> > 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
What are the permissions on Instradamento? Are you sure that when you run the command from the servlet that you are running as the user you think you are? Is Instradamento getting the parameter list correctly? Regards Roger ************************************************************************ Information in this message is confidential and may be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please notify the sender and delete the message immediately. Unauthorised disclosure, distribution and copying of this email is strictly prohibited. The opinions expressed within this message are those of the individual author. Whilst Brake Bros takes reasonable steps to scan this email it does not accept liability for any virus that may be contained in it. Bros Foodservice Limited, Enterprise House, Eureka Business Park, Ashford, Kent TN25 4AG. Registered in England and Wales number 706764. Telephone 01233 206000 Fax 01233 206006. ___________________________________________________________________________ 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
