Hy Everybody,
I've just moved from JWS2.0 to Tomcat 3.2.1 and had
some problems. I'm not working with the Apache yet, as I still couldn't
configure both of them to work together. A few questions:
1. Each time i try to make a request with a long response, it takes A LOT OF
TIME to send it back to the browser and, in the server, it throws me the
following exception:
2001-04-17 10:54:33 - ContextManager: SocketException reading request,
ignored - java.net.SocketException: Connection reset by peer
at java.net.PlainSocketImpl.socketAvailable(Native Method)
at java.net.PlainSocketImpl.available(PlainSocketImpl.java:451)
at java.net.SocketInputStream.available(SocketInputStream.java:137)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnectionHttpCo
nnectionHandler.java:214)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)
While I was running it on the JWS, nothing of this happened. Is it a Tomcat
Bug?
2. About the web-application concept recently introduced by this version of
Servlet and with Tomcat, is the directory /webapps/ROOT another application?
How do i add this context in the server.xml?
3. Is there any way to optimize the speed answer of the WebServer, because
it's extremely slow compared with the JWS2.0. I had to move because of the
Servlet 2.2 or 2.3 API compatibility, as Sun has discontinued the JWS.
4. Which is the difference betweem the TOMCAT_HOME/LIB directory and the
TOMCAT_HOME/WEBAPPS/APPS/WEB/INF/LIB directory?
5. Do I have to create a directory in TOMCAT_HOME/WORK for a new
application, or it is created automatically?
6. What is a Worker? What do i need it for?
7. For what do I need the build.xml?
Please, don't send me to look for in the /doc because the answer IS NOT
THERE.
Look forward for any help from anybody who is working with Tomcat or had the
same problems or know any workaround.
Thank you VERY MUCH!
___________________________________________________________________________
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