----- Original Message -----
From: "Matías Salvador" <[EMAIL PROTECTED]>
Sent: Tuesday, April 17, 2001 10:21 AM


> 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:
> * * *
> While I was running it on the JWS, nothing of this happened. Is
it a Tomcat
> Bug?

It's not a Tomcat bug; it looks like a server config issue,
perhaps a socket timeout parameter.

> 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?

ROOT contains the protected files and classes used by admin.  You
add any context by changing several XML files + adding a virtual
directory to your webserver.  The "how to" files in
TOMCAT_HOME/doc/ tells you how.

> 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.

Tomcat is optimized for Apache and vice-versa.  I think you have
a configuration problem.  I wish I could help you more on this
but I (unfortunately) am stuck with Tomcat on IIS 5.0.

> 4. Which is the difference betweem the TOMCAT_HOME/LIB
directory and the
> TOMCAT_HOME/WEBAPPS/APPS/WEB/INF/LIB directory?

The former is the TOMCAT jar files used as system classes (what
makes it work).  I've never seen the latter.  Do you mean
TOMCAT_HOME.webapps/[any directory]/WEB-INF/lib?  If so, lib is
where you stick your jar/zip files for deployment.

> 5. Do I have to create a directory in TOMCAT_HOME/WORK for a
new
> application, or it is created automatically?

You have to do it.  The Jakarta people say they are working on
automating this but for now you have to do it manually.  See the
tutorial at TOMCAT_HOME/appdev/index.html.

> 6. What is a Worker? What do i need it for?

Generically, a worker is a protocol used to facilitate I/O.  See
TOMCAT_HOME/doc/Tomcat-Workers-HowTo.html and
TOMCAT_HOME/conf/workers.properties.  For example, to facilitate
communication between the webserver (in my case, IIS) and Tomcat
as an in-process container, I had to modify the
uriworkermap.properties file.

> 7. For what do I need the build.xml?

The Ant compiler/deployer application uses it to deploy your web
application to the right place in the Tomcat (or webserver)
directory hierarchy.  See the .bat (or Unix shell equiv) files in
TOMCAT_HOME/bin/ant*.* and the the tutorial at
TOMCAT_HOME/doc/appdev/index.html.

> Please, don't send me to look for in the /doc because the
answer IS NOT
> THERE.

Sorry, but you are wrong.  As my references above indicate, every
one except the server config questions is well-documented.

Cheers!
Mark

___________________________________________________________________________
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

Reply via email to