Dear All,
I couldn't find mention in the servlet spec for this so I'm asking here
if anyone knows what the correct procedure should be.
In a servlet I want to use the HTTP 1.1 chunked transfer encoding, so, I
add the Transfer-encoding header with a value of chunked as a response
header.
I
are your static pages being hosted by apache or by tomcat?
(i.e. is the html part of the deployed war file).
If that's the case, then your' proxying the static request between
apache and tomcat for the static as well as dynamic html,
in which case I'd expand the war file and place the static
On Windows, the WARP connector has threading issues - I believe that's
the main reason why it's mentioned that on Windows it's not supported.
I wrote an IIOP module for Apache 1.3 using mod_webapp as a starting
point and had to add quite a bit of mutex usage to stabilize the thing
under
Hi,
not sure what you're trying to do.
If you're trying to get to C:\, you have to do it in two steps:
1. set your default device to c:
C:
2. set your directory to the top level \:
cd \
you should now be in the C:\ directory
If you're simply trying to get a command prompt,
then just
Hello all,
I'm trying to use a java app that worked fine (and still does) with
Apache and the old tomcat (pre-coyote) http connectors against
tomcat 4.1.5.
My application essentially emulates a browser using HttpURLConnection
and caches the session id cookies returned by tomcat and use them to
Mark,
there is a forthcoming release of the mod_webapp (hopefully this Thursday)
that should
be much more stable than the current mod_webapp (tc4-b5).
To avoid further frustration - I'd recommend waiting for that release and
then retry
-Thom
-Original Message-
From: [EMAIL
Ladies Gentlemen,
I notice that in the jndiServlet, the lookups using Env entries are all
written as
java:/comp/env..
instead of
java:comp/env (as per J2EE spec 1.2 {I don't have J2EE spec 1.3 to hand)).
Surely this isn't correct?
-Thom
Hmm...
I didn't send this - I'm trying to find out how it got my name on the
From list.
Shame - I wish my Spanish was that good ;-)
-T.
-Original Message-
From: Thom Park
Sent: Thursday, June 28, 2001 8:27 AM
To: [EMAIL PROTECTED]
Subject: RE: una pregunta
Otra lista más para
That looks like a very old 3.1/ early 3.2 era tomcat config DTD.
again, there is no formal DTD for server.xml and this one certainly isn't
up-to-date.
-Thom
Jann VanOver wrote:
Here's the DTD that I found in my tomcat\conf directory. I'm not sure how
it got there.
?xml version=1.0
You may have used up all of your free threads.
Try increasing the thread pool for the Http connector - see if it improves the
longevity of your
tomcat instance.
-Thom
Hunter Hillegas wrote:
Well, I am using the scripts and my Tomcat just dies after a few days of
heavy load...
We're
I wasn't able to check for dead threads - My symptom was that the tomcat process
would 'hang' and no longer process connections.
I never got it to crash per se, but it sure stopped on me real good...
Increasing the pool size resolved the problem, specifically the following
parameters (neatly
Hmm...
the new one (b3) won't compile ;-)
-Thom
"Fox, the Balloon Fox" wrote:
D'oh! RightI seem to have suffered a temporary case of insanity and
confused present with future. Support for mod_jk is something that they're
WORKING onhere's what they have in the TODO has high
Hi Marc,
I saw this problem in 3.2.1 as well - I made a fix for it in the
tomcat that ships with the Borland AppServer but
couldn't get anyone to comment on the fix in the main code-line (essentially
I'm not a commiter so couldn't submit the fix)
Here's what I found:
The following code is in
Hi Dave,
Tomcat doesn't put anything in the registry. So I can't see why tomcat could be
the culprit here.
What platform are you on?
Try changing the listener port numbers in the tomcat server.xml file
e.g in the following server.xml extract, change the port value to 7070 (and
perhaps do
Hello,
I'm intrigued by a comment in the tomcat 4 server.xml file:
"Normally, that Container is an "Engine", but this is not required."
What does this mean then? Is it possible to construct a container that
isn't called a container, if so how and what
would this really mean?
What is meant by
Craig,
can Tomcat 4 support multiple realms, i.e. more than one Realm at the same time? If
so, how would
the application be mapped to use the appropriate realm?
I noticed that there is a 'realm-name' entry in the login-config field. Could this
be used to select the
appropriate Realm manager? I
Hello!
I have, what I believe is a fix for a problem reported by me earlier
with getUserPrincipal, where two separate browser sessions return the
same principal, even when the authorized users are different. The
proposal is this:
In several places in the code there are comments that state that
Ted Husted wrote:
As an aside, threads are not the same as an OS processes, although they
can look the same.
...unless you're on a linux box ;-)
-T.
The password is dependent on what role you map the contextAdmin servlet
to.
In the the web.xml file of the 'admin' application the role it's mapped
to is called 'admin'.
To enable the application, you need to add an 'admin' role to the
tomcat-users.xml file (located in TOMCAT_HOME/conf
(if
)
I stand corrected :)
-T.
Ted Husted wrote:
Ted Husted wrote:
As an aside, threads are not the same as an OS processes, although
they can look the same.
On 12/22/2000 at 9:20 AM Thom Park wrote:
...unless you're on a linux box ;-)
Hmmm, it was my understanding that the Linux ps command
worst-case scenario: use wordpad, always save as plain text.
-t.
Peter Brandt-Erichsen wrote:
Use
a decent text editor...like Ultra Edit or Slick Edit,Notepad
isn't up to the job.Peter
-Original
Message-
From: chew [EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
[EMAIL PROTECTED]>
Date:
Hello Peter,
you'll need to modify the server.xml and web.xml files - the Admin interface
doesn't persist any of the changes you make using it.
-Thom
peter duong wrote:
hi,
i am trying to use admin function to map some jsp and servlets to my
localhost.
it it possible or i have to map it
Dear All,
I'm seeing some odd behavior from getUserPrincipal(). I have a simple
servlet that calls:
getRemoteUser(), getUserPrincipal() and isUserInRole().
I've setup an appropriate web.xml and all is well until I access the
same servlet from two web-browsers on the same machine.
In the first
menu,
command line, etc.?
If you ask an IE browser to open a new window, the two "browsers" will share
the same cookie so tomcat will think they are the same user...
-Original Message-
From: Thom Park [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 18, 2000 4:58 PM
T
..But use of security-role> /is/ broken in tomcat 3.2
e.g.
consider the following web.xml fragments:
!-- list of web app level roles -->
security-role>
role-name>fred/role-name>
/security-role>
and in the servlet definition we have
!-- list of aliases for roles that the servlet will use
->
Hi,
In 'vanilla' tomcat 3.2 there is no jndi support.
There are versions out there from commercial suppliers that support jndi but
that's somewhat off-topic.
Tomcat 4 is/will support jndi and provide features for support of the
java:comp naming constructs
-Thom
[EMAIL PROTECTED] wrote:
Hi,
HI All,
now that Tomcat 3.2 had gone final
where can I get a definitive list of all the valid (i.e. non-deprecated)
parameters that will be valid for a Context.
Currently I can see the following;
path,docBase,crossContext,debug,reloadable and trusted
However there are a few others
I'm having Yet Another Servlet Mapping Problem.
I'm trying to disable the /servlet/ mapping with my web-application. Here's the
gist of what's happening.
My webapp is called "songs" it get's deployed according to J2EE specs. In the
webapps folder there's a
songs folder with an html file called
Hi,
bear with me on this one but...
" It is NOT enough to download the binaries from the jakarta
web site and follow the instructions in server.xml. You have to build
it from source (and make sure that the JSSE files are in the classpath)."
...Why not? is there some special build directives
I'm having some trouble getting the J2EE CTS tests to pass using Tomcat
3.2.b8.
The CTS is complaining that a public static final member has been added
to javax.servlet.http.HttpServletResponse class -
e.g.:public static final int SC_TEMPORARY_REDIRECT = 307;
I can't find this public
Thanks Craig,
I appreciate the quick answer !
-Thom
Craig R. McClanahan wrote:
Thom Park wrote:
I'm having some trouble getting the J2EE CTS tests to pass using Tomcat
3.2.b8.
The CTS is complaining that a public static final member has been added
Hello,
I've noticed some curious behavior with Tomcat 3.2.beta 8. It seems that if the
'global' welcome file (index.html) is missing then Tomcat will drop into
a CPU extensive loop (on NT at least) The easiest way to reproduct this is as
follows;
1. rename %TOMCAT_HOME%\webapps to
Peter,
It looks like your JNDI context info isn't initialized (stating the obvious - I
apologize).
I had a similar problem (with env-entry constructs). Tomcat 3.2 doesn't come
with any JNDI so I had to add a JNDI service
layer of my own. Prior to the servlet that makes the EJB call, the JNDI
-app.
Was this the intent of the spec? The reason I ask is that the java:comp entries in
'EJB-land' are spec'ed at the Bean level as opposed to the Jar level.
Just curious...
-Thom
"Craig R. McClanahan" wrote:
Thom Park wrote:
Craig,
thanks for your response, it helped
hello,
Is there any documentation that describes how the tomcat dispatcher
works?
I'm trying to track the flow of control of the request down to the
actual thread running the servlet, the problem
is that I'm still missing something.
Can anyone give a thumbnail sketch of the process execution
Hi,
I made a few simple mods to the HelloworldExample servlet and now I
can't get it to run. I put the original back and I still get a 404 error
back from Tomcat 3.2b6. What Handler could it be wingeing about? I'm not
sure what the problem could be and I'm getting very bogged down
in the code
I solved my problem - it seems that a nasty html editor
clobbered the index.hmt file and didn't 'Uppercased' the S in
Servlets in one of my links.
I'm surprised that this is a problem though - I always thought
Windows was case insensitive to pathname entries.
Oh well, onwards and upwards
Hello,
I understand that Tomcat (3.2.b6) has an implicit default place
to look
for webApps ($TOMCAT_HOME/webapps) but is there any
configuration
method (e.g. in server.xml) that will allow me to specify an
alternative
place to look?
Currently I'm working around the problem by providing
38 matches
Mail list logo