tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Hanik" <Filip.Ha...@evant.com>
Subject RE: CGI environment vars
Date Wed, 05 Feb 2003 17:20:40 GMT
how about you do it yourself, I assume that you launch your CGI script using Runtime.exec
in that case, use the method that 

http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Runtime.html

take a look at

Runtime.exec(java.lang.String,java.lang.String[],java.io.File)

-----Original Message-----
From: Madere, Colin [mailto:colin.madere@ieminc.com]
Sent: Wednesday, February 05, 2003 8:44 AM
To: tomcat-user@jakarta.apache.org
Subject: CGI environment vars


Tomcat 4.1.18 : UMN Mapserver CGI

I have a CGI which needs to see the "LD_LIBRARY_PATH" to get to shared
libraries to run.  However, I can't seem to get whatever shell that Tomcat
uses to run CGIs seeded with that variable.

I tried putting it in the "setenv.sh" which is checked for and used in
catalina.sh, but that doesn't seem to have any effect on CGIs.

Anyone have an idea?

Colin


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message