i hav one doubt..
we can access http://localhost:8080/foldername/filename
this is normale way
how to access
http://localhost:8080/filename
what change i made and where
pls reply me fast..
--
View this message in context:
http://www.nabble.com/how-to-access-the-filename-direct-without-givin
Hi,
I'm using Tomcate 5.5.15. I have just configured SSL successful. Now I want
tthat the Server will authenticate the Client by Client Certificate or
Username/Password!
Does Tomcat support this mode? If yes, how can I do?
Thanks,
Hung.
--
View this message in context:
http://www.nabble.com/Aut
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.
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
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()
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]> wrot
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 auth
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:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-
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 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 b
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 Mur
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 ms
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
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 fol
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 add
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
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 t
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 vers
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 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]
Sen
>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):
[...]
[...]
Now my valve is called before the response the authenticati
Hi world.
Are there Tomcat settings for achieving such a behaviour?
Regards, Karl-Heinz.
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
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:-)
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
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
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
>>> 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?
W
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 applicatio
Hi,
additional Info:
I moved the two valves in a DefaultContext tag at the end of the host
definition.
Now there are no exceptions any more. But my own valve is never called.
Regards
Jochen
-
To start a
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 a
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:
http://www.nabble.com/%22Busy%22-in
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:
But unfortunately I get this exception starting the app server:
java.lang.reflect.Invoc
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.
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:
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 PROTEC
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 - http://www.m
37 matches
Mail list logo