----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hi everyone!
I have a problem and I wish you could help me to
solve it.
I'm using:
Apache 1.3.12 +
ApacheJServ-1.1.1 +
jdk 1.2 +
jsdk 2.0 +
mod_ssl-2.6.4-1.3.12 +
openssl-0.9.5a
in Read Hat Linux 6.2 .
The application connects an applet with a servlet in
order to make request and get responses of
information.
In order to increase the posibilities of the server
(request being computing), when a request arrives to
the servlet engine (ApJServ), the servlet pass it to a
thread in order to get an answer (so thgew servlet can
receive more requests from other applets). To know how
to send it to the client, it also passes to the thread
the OutputStream of the HttpServletResponse.
The problem is that when the thread wants to send
the answer (in a static method of the servelt), it
writes to the output stream of the ServletResponse.
But I get a "bad file descriptor", probably because
the servlet engine has killed the process associated
to that fd.
I don't think it's an specific problem of Apache +
JServ, isn't it? I've also tried with HttpSession
but I haven't found anything.
How can it be solved? is the only way to mantain the
servlet waiting for the answer?
Thanks for all
Jesus Escanero
_______________________________________________________________
Do You Yahoo!?
Consiga gratis su dirección @yahoo.es en http://correo.yahoo.es
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]