On Wed, 28 Mar 2001, Duane Morse wrote:
> There are a number of possibilities. First, how are you identifying
> the program you want to run? If you're not using an absolute path,
> the JVM may not be finding the program in the first place. Second,
> where does the program think its writing its file? Third, what does
> the program expect in the way of environment variables?
Permissions could also be an issue as well.
> -----Original Message-----
> From: Timotheus Preisinger [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 28, 2001 12:55 AM
> To: [EMAIL PROTECTED]
> Subject: JRun and Runtime.exec()
>
>
> Hello!
>
> I have a problem with Allaire JRun 3.0: There is a servlet which has to
> execute a seperate process on the server (running under Windows 2000
> Professional) and it is calling it via java.lang.Runtime.exec().
>
> The Problem is: This process is never executed. When it starts, it should
> create a new file, but this file never appears. There is also no
> error-message.
> Everything works just fine when I type in the commands in a shell instead of
> using the servlet, even if a use the JSDK-Webserver, so I think the problem
> must lie somewhere in the settings of (or a bug?) in JRun, but I can not
> find anything concerning the start of other processes.
> Maybe someone else has dealt with such a problem yet.
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
___________________________________________________________________________
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