Location: redirection

2004-11-15 Thread Lisa Soto
Hi, 

We're using perl within tomcat 4.1.27. The perl scripts run all right,
but the redirections don't work at all. 

If I run the script on the command line, it returns a proper Location:
directive, but it doesn't seem to show up in the web browser and/or
affect its reaction. 

Any ideas? 

Thanks,
Lisa 
-- 
Lisa Soto
[EMAIL PROTECTED]
(631) 344-2009
Systems Administrator
ITD Unix Services


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Exception Error in Tomcat

2004-11-15 Thread Lisa Soto
Hello, 

Does anyone know what this error means, and/or what it may point to? I'm
using the precompiled JK2 for Fedora Core, but on a RH9 box with some
updated packages from later distros. 

-- Lisa 

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 7 occurred at PC=0x400B0B8C
Function=memcpy+0x1C
Library=/lib/tls/libc.so.6

Current Java thread:
at java.util.zip.ZipFile.read(Native Method)
at java.util.zip.ZipFile.access$1000(ZipFile.java:26)
at
java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:433)
- locked <0x44c34d48> (a java.util.zip.ZipFile)
at java.util.zip.ZipFile$1.fill(ZipFile.java:227)
at
java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134)
at
E4sGetEvaluation$executeRequest.extractFile(E4sGetEvaluation.java:540)
at
E4sGetEvaluation$executeRequest.executeQuery(E4sGetEvaluation.java:407)
- locked <0x451201e8> (a E4sGetEvaluation$executeRequest)
at
E4sGetEvaluation$executeRequest.(E4sGetEvaluation.java:190)
at E4sGetEvaluation.doGet(E4sGetEvaluation.java:121)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
-- 
Lisa Soto
[EMAIL PROTECTED]
(631) 344-2009
Systems Administrator
ITD Unix Services


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



CGI Servlet environmental variables

2004-11-12 Thread Lisa Soto
Hi, 

I've read through the documentation, and searched the archives and can't
find a solution to my problem. 

We have apache2 with tomcat 4.1.27. When I was using mod_jk, we could
uses aliases under apache with no problems, even with the ROOT of tomcat
mounted on the / of apache. 

With JK2, this is not the case, so we're moving content into the tomcat
containers. 

The hardest problem is the cgi-bin. I got the CGI Servlet working after
some work, and the scripts execute. But I need for Tomcat to pass a
variable for "DOCUMENT_ROOT" to the perl scripts in the cgi-bin that use
it. Dumping the variables, I can see that it's not doing this. 

Is there some way to make this variable available to the perl scripts,
even if I have to set it manually in the environment? 

This spans several scripts, so we'd want to set it globally for the
server. 

Thanks,
Lisa
-- 
Lisa Soto
[EMAIL PROTECTED]
(631) 344-2009
Systems Administrator
ITD Unix Services


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]