Hy,
I have the following constelation:
Windows XP
Apache 2.0.58
Tomcat 4.1
Mod_jk 1.2.15
I secured one directory using htpasswd.
Calling the URL, the prompt to enter password and username pops up, and after I
entered it correctly, the authentication ist succesfull. (also the apache log
file
Busy=number of parallel requests being processed for a worker at that
point of time.
If worker.yourloadbalanceworker.method=B, this loadbalancer will send a
request always to its balanced worker with the lowest busy count.
A bug in mod_jk 1.2.15 leads to the wrong display of very high busy
Dear All
Please explain what this V Load Balancer Value number is in jkmanager and
its significance to the load balancer.
Thanks in advance.
Andrea
---
This mail sent through IMP: http://webmail.ateneopv.it/
CILEA MAILFARM -
Hi Frank,
Thanks for your reply,
In fact it is finding these listeners (or the error message is
misleading me), it is the javax.servlet.AttributeContextListener that
its not finding which is odd since the others app finds it...
-Original Message-
From: Franck Borel [mailto:[EMAIL
Hi everyone,
I'm still not happy with the answer's I got...is there noone who can tell me
how to get a different war-file name and url-path. Pid said that someone
more knowledgeable should be able to help...but there were no answers yet.
so please help me to get the following done:
WAR-FILE:
The V value is an internal counter, on which the decision
concerning the load balancing is based. In 1.2.15 it is normal, that you
see negative values. For 1.2.16 this behaviour has been changed, so you
should see only positive V values and the worker with the lowest one
gets the next request.
We
Hi Mark,
thanks for your hint. I configured the the BasicAuthentication valve an my own
one in the following order in the server.xml document:
Host name=localhost
autoDeploy=false deployOnStartup=false deployXML=false
Valve
Thank you very much for that answer.
When you say 'Requests' does that mean the number of objects rendered
through that particular tomcat node ?
And how does the load balancing mechanism use the 'Busy' factor ?
Thanks
Mohan
--
View this message in context:
As it states, the authenticator valve must be attached to the context,
not the host.
Just put your valve at host level and it should be called before the
authentification valve which is automatically added to the context.xml
at deployement.
Also, take a look at single sign-on valve which doe
Hi,
additional Info:
I moved the two valves in a DefaultContext tag at the end of the host
definition.
DefaultContext
Valve
className=de.tccproducts.valves.PenFrameworkAuthenticationValve /
Valve className=org.apache.catalina.authenticator.BasicAuthenticator /
/DefaultContext
From tomcat docs:
You can nest one or more Context elements inside this Host element, each
representing a different web application associated with this virtual
host. In addition, you can nest a single DefaultContext element that
defines default values for *subsequently* deployed web
I want to have 2 web applications on my web server. Idea si to
makde JDBC Realm unique for each web application.
problem is that i dont understand what should i have in this
{context}.xml files and what should i have in server.xml :-( a
nd where should i put this {context}.xml file?
Where
Quoting Kim Brianne Go [EMAIL PROTECTED]:
Hi... you might want to look at SecurityFilters. This make it possible for
each webapp to be given unique realm security, basically the concept is a
webapp containing its own security configuration so that you can deploy your
webapp without additional
Request = HTTP Request in progress
Load balancing only uses Busy counter when the method attribute of the
lb worker is set to B in workers.properties. In this case the lb
worker always routes a request to the worker with smallest Busy counter
at the times the request has been received.
If the
Thank you very much for your clarifications. Much appreciated.
Request = HTTP Request in progress
Load balancing only uses Busy counter when the method attribute of the
lb worker is set to B in workers.properties. In this case the lb
worker always routes a request to the worker with smallest
On 7/4/06, Stanislav Komlenac [EMAIL PROTECTED] wrote:
Where are you defining your contexts now??
nowhere! i dont have any contexts define in my applications, as
far as i know :-(
An application *is* a Context. It sounds like reading the servlet spec
would make this a lot less painful:-)
Hi together,
I would like to send a xml file from a remote client to the web application. I
have an apache and tomcat which are linked over mod_jk. My problem is, that I
only get 8K of data in my servlets although the file is bigger. If I send the
file directly to a http connector the file has
Hi world.
Are there Tomcat settings for achieving such a behaviour?
Regards, Karl-Heinz.
Again, put your valve in host, not context if you want it to be called
before authentification
Sorry I misunderstood your hint. Now I have this configuration (with Valve and
Host element on the same level):
[...]
Valve className=de.tccproducts.valves.PenFrameworkAuthenticationValve /
Hi Thilko,
Which version of Tomcat 5.5 are you using?
There is an InputBuffer bug in older versions that has been fixed in Tomcat
5.5.16, see http://issues.apache.org/bugzilla/show_bug.cgi?id=38346.
Regards,
Martina
-Original Message-
From: Thilko Richter [mailto:[EMAIL PROTECTED]
I think its the default behaviour. Or do you mean specially defined requests?
Leon
On 7/4/06, KHZ (SAW) [EMAIL PROTECTED] wrote:
Hi world.
Are there Tomcat settings for achieving such a behaviour?
Regards, Karl-Heinz.
Hi Martina,
Thanks for the quick answer!
I use Tomcat 5.5.15.
In my servlet I use request.getInputStream() and write the received data
into a byte array. With request.getContentLength() I see that I get less
data that I have sent to the server.
Ok, I will try to update my server to a newer
The problem is that my JSP uses relative paths to reference CSS files. These
paths work fine in the static mode, i.e. when I open JSP file directly in the
browser without deploying it on Tomcat. However, when I deploy the JSP all
relative links stop working.
Here is an example. Suppose I have
I would appreciate it if anyone can give me a lead on how to resolve
my problem.
I am trying to switch from Jetty 5.1.4 to Tomcat 5.5.17 as the
servlet container within JBoss. No changes to code or configuration
files, the JSP pages do not produce the expected output. The JSTL
tags are not
Hi!
I've never seen it before - Tomcat compiles a couple of my JSPs on every
request! Why? How can it be?
Thanks,
Sergei
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
tom ot wrote:
Hi everyone,
I'm still not happy with the answer's I got...is there noone who can
tell me how to get a different war-file name and url-path. Pid said that
someone more knowledgeable should be able to help...but there were no
answers yet.
so please help me to get the following
Böhringer Jochen wrote:
So I think the request object I modify does not reflect its changes to the
CoyoteRequest the BasicAuthenticator reads the values from. Is there a
solution to modify the CoyoteRequest?
Sounds like you are heading in the right direction. You can access the
headers via
Hello,
This is a newbie question. I am trying to set up a servlet container using
Apache Tomcat.
One of the primary steps is setting up the JAVA_HOME environment variable.
Unfortunately,
when I use:
setenv JAVA_HOME /System/Library/Frameworks/JavaVM.Framework/Home
I get the error msg
Frank,
See http://www.mcsr.olemiss.edu/unixhelp/environment/env3d.html
It has been too many years since I did bash, but if I remember
correctly, basically, just to JAVA_HOME=/System/etc; export JAVA_HOME
However, why not wrap it up in a sh or ksh script to make your life easier?
Frank
Hi Thilko,
please report your findings also in the case, when the problem does not
appear with 5.5.15.
Rainer
Thilko Richter schrieb:
Hi Martina,
Thanks for the quick answer!
I use Tomcat 5.5.15.
In my servlet I use request.getInputStream() and write the received data
into a byte
The connector receiving requests from httpd needs the attribute
tomcatAuthentication set to false in server.xml. Otherwise tomcat will
ignore the REMOTE-USER header provided by httpd.
-- David
Oliver Enders wrote:
Hy,
I have the following constelation:
Windows XP
Apache 2.0.58
Tomcat 4.1
Hi all,
I am having problem getting my application to work with IE6.
In IE6, everytime when I refresh the page, it creates a new session with
different session ID.
Firefox doesn't have this problem.
Here is my sample test page:
!DOCTYPE html PUBLIC -//W3C//DTD XHTML
Mark is correct: request.addHeader has been deprecated in 5.5.x+, and
doesn't actually do anything at all. See Mark's response for the correct
way to add your own request header.
Alternatively, if the set the userPrincipal on the Request in your Valve,
then Tomcat won't bother to try and
It works correctly for me, with IE6 and Tomcat 5.5.17. On the first
request, isNew = true. On subsequent requests, isNew = false and the
session ID is the same.
Perhaps your IE is set to ignore all cookies, or to ignore cookies
from certain hosts.
--
Len
On 7/4/06, Galam [EMAIL PROTECTED]
Hi Len,
Thanks for trying the test page.
I figured out the problem now. It was because the URL I used to visit the
web pages.
Previously, I used the machine's hostname in the URL. Now, I change it to
use localhost and it is fine.
i.e.
http://serverone:8080/app01/hello.jsp (bad, getSession()
Hello again,
According to the workers.properties document
(http://tomcat.apache.org/connectors-doc/config/workers.html),
Definition of 'method' says the following...
Specifies what method load balancer is using for electing best worker. If
method is set to R[equest] balancer will use number of
This is the default behaviour.
Alex
On 7/4/06, KHZ (SAW) [EMAIL PROTECTED] wrote:
Hi world.
Are there Tomcat settings for achieving such a behaviour?
Regards, Karl-Heinz.
37 matches
Mail list logo