Hi,
when using basic authentication with tomcat, tomcat sends a 401 response
code if the user is accessing the page for the first time.
This makes the browser show a login window and retry the request with
the username/password provided by the user.
However, if there is already a username and
On Thu, 2002-10-24 at 16:24, Kristján Bjarni Guðmundsson wrote:
I use custom error pages for various error codes (404. etc), all of them
work except 401 error.
If I go to a protected page the browser just displays the 401 page without
prompting me
to log in. What am I doing wrong?
Short
Hi,
after searching for quite a while now and having some trouble with
the server.xml file. I would like to ask where I can get a DTD for
the server.xml.
Is there something like the well documented specification for the
web.xml file (can be found in the servlet specification)?
Thank You,
Hans
Hi,
I am trying to set up JK 1.2 with Apache 1.3 and Tomcat 4.1.12.
All seems to work fine, but I am a bit confused about the local worker
configuration option:
According to the documentation at
http://www/tomcat-docs/jk2/jk/workershowto.html (section Advanced lb
Worker properties) an incomming
Hi,
I have a external site which is hosted on a server seperate from my
tomcat server.
That server should provide a login form that can be used to log in into
an application on the tomcat web server.
However, I could not figure out how to log in from an external host.
The following code
Hi,
is it possible to call a method within a JSP or servlet and pass
a user name and password in order to validate those credentials
and log in the user?
It would be great if I there were an API supporting that as I have
a login scenario that does not seem to be supported by Tomcat
(login form
Hi,
is there a known problem / bug with defining resources in the
DefaultContext?
The following resource definition works in a Context-environment
but won't be inherited from the DefaultContext to contexts automatically
created by tomcat for war-files (and for the ant-target deploy):
On Fri, 2002-10-11 at 14:58, Padhu Vinirs wrote:
Correct me if I understood this wrong:
Login Form html ( external web site ) ---Servlet/JSP ( Your web
site )
Right, that's the configuration I want to use.
If you setup https access in your web site, then the external form can
Hi,
is there an API function available to pass
user name and password from a servlet/JSP to
tomcat?
I found nothing about it and I guess it would
be useful to allow servlets to pass this kind
of information to the servlet container.
Thank You,
Hans
--
To unsubscribe, e-mail:
Hi,
what do You think about the following idea?
Is it possible at all:
I am looking for a way to build web applications that can
be used by logging in from a user/password HTML-form.
To do this, I would like to use the standard API which
would save me reimplementing the JDBC-Realm and
Uhrmann
--
Johann Uhrmann
xpecto AG | Lindenstrasse 81 | D-84030 Ergolding
Telefon: 0700 xpecto 00 (0700 973286 00)
Telefax: 0700 xpecto 10 (0700 973286 10)
Internet: www.xpecto.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Hello,
I have the following scenario:
- The user can see a static page with a login form.
- The form action points to a web application.
In order to allow the user to log on, I have to use a request filter
and check the parameter values (username/password).
The typical Tomcat-Logins are no
One additional question:
Is request.getSession() the only method where a session is retrieved?
I am asking this because I am planning to override the getSession method
in a subclass of HttpServletRequest. However, I do not want a JSP-Page
to bypass this method (e.g. by using the implicit
Hi,
is it possible to configure mod_jk2 to pass the requests to different
installations of tomcat depending on the host name used in the request?
Please note that this is not the virutal host feature from tomcat as
Apache (or mod_jk2) has to decide where to pass the request to.
Thank You,
Hans
been filed as bug?
Regards,
Hans
--
Johann Uhrmann
xpecto AG | Lindenstrasse 81 | D-84030 Ergolding
Telefon: 0700 xpecto 00 (0700 973286 00)
Telefax: 0700 xpecto 10 (0700 973286 10)
Internet: http://www.xpecto.com
-
To unsubscribe
Hi,
I have a hint on that issue:
The jasper compiler crashes if the TLD contains a variable-section.
In my case, commenting out the following section from my TLD
made jasper run without any errors:
variable
name-from-attributevar/name-from-attribute
,
Hans
--
Johann Uhrmann
xpecto AG | Lindenstrasse 81 | D-84030 Ergolding
Telefon: 0700 xpecto 00 (0700 973286 00)
Telefax: 0700 xpecto 10 (0700 973286 10)
Internet: http://www.xpecto.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED
of Your logger.
Do You deploy the log4j-lib with the web application or do You have it
in common/lib?
(Putting it in common/lib might solve Your problem)
Kind regards,
Hans
--
Johann Uhrmann
xpecto AG | Lindenstrasse 81 | D-84030 Ergolding
Telefon: 0700 xpecto 00 (0700 973286 00)
Telefax: 0700
Johann Uhrmann wrote:
[...]
The taskdef tag and the jasper2 tag do not care about the
path set in compile.classpath. Instead, the CLASSPATH variable
from the shell is used.
How do I make ant (or especially those two tags) recognize the
path in compile.classpath?
[...]
Anybody?
It seems
Hello,
is there a way to compile JavaServer Pages offline with ant?
I am currently using the jspc ant task, but it has some significant
disadvantages:
- no support for incremental compilation
- no support for the compilation of directory trees
(afaik every single page has to be mentioned in
in a way that makes /manager1 access
the context /manager of the backend?
In Tomcat 4 it helped to rename the manager.xml file to manager1.
This does not seem to work anymore in Tomcat 5.
Kind regards,
Hans
--
Dipl.-Inf.(FH) Johann Uhrmann
xpecto AG | Lindenstrasse 81 | D-84030 Ergolding
Telefon
. Is there a size limit for the classpath
in ant/jasper2 or even jdk1.4.1?
The class pathes are quite huge (approx. 4kByte).
Does the order of the jar files matter?
Can someone give me a hint how to run this without changing the
CLASSPATH environment every time?
Thank You very much,
Johann Uhrmann
P.S
Hello,
I am writing a single-sign-on filter that uses cookies and
a request-wrapper in order to fake a form-based login in
case the user is already authenticated in another web application.
The filter needs some internal structures to perform the single-sign-on
process, e.g. a map that associates
Tim Funk wrote:
Before going farthar, have you looked at the Single Sign On valve?
If you are using container managed security(such as form
authentication), those contraints are executed before the filter chain
is ever made.
Unfortunately, I cannot use container managed security because I have
Johann Uhrmann wrote:
Hello,
I am writing a single-sign-on filter that uses cookies and
a request-wrapper in order to fake a form-based login in
case the user is already authenticated in another web application.
The filter needs some internal structures to perform the single-sign-on
process, e.g
Hello,
how to map different URLs to different tomcat servers with mod_jk2?
I need this for a migration scenario (upgrade from tomcat 4.1.12 to
4.1.24).
ajp13 is used as connector.
I tried to modify my load balancer configuration but jk2 seems to
ignore the settings.
Is there an example
Hello,
what are the semantics of the resource-env-ref tag in the
deployment descriptor?
Has every object (e.g. DataSources for DB access) to be declared
in the deployment descriptor or is a Resource/ResourceLink in
the server.xml sufficient?
Does the application have to declare the use of a
Hello,
is there a way to enforce URL rewriting in tag libraries?
(e.g. the common tag library and the struts tags)
As far as I know, setting
cookies=false
in the context should disable all cookies and therefore
force URL rewriting to be used.
Unfortunately, some browsers fool Tomcat (4.1.24) and
someone give me a hint why that context is not available?
Thank You,
Johann Uhrmann
--
Johann Uhrmann
xpecto AG | Lindenstrasse 81 | D-84030 Ergolding
Telefon: 0700 xpecto 00 (0700 973286 00)
Telefax: 0700 xpecto 10 (0700 973286 10)
Internet: http://www.xpecto.com
is considered correct.
If You want Your JSP to return a response code different from 200
You have to include:
% response.setStatus(response.SC_NOT_FOUND); %
in Your 404-page.
Regards,
Johann Uhrmann
--
Johann Uhrmann
xpecto AG | Lindenstrasse 81 | D-84030 Ergolding
Telefon: 0700 xpecto 00 (0700 973286 00
Shapira, Yoav wrote:
Howdy,
Set debug=99 for your server, engine, host, so you can see why tomcat
is running into errors processing server.xml.
Unfortunately, that setting does not provide any more information
about the problem.
Regards,
Hans
--
Johann Uhrmann
xpecto AG | Lindenstrasse 81 | D
.
Is that a known issue? Is there a setting for jasper2 to produce
error messages in an offline-compile run that actually help to
find the error?
Kind regards,
Johann Uhrmann
--
Johann Uhrmann
xpecto AG | Lindenstrasse 81 | D-84030 Ergolding
Telefon: 0700 xpecto 00 (0700 973286 00)
Telefax: 0700 xpecto 10
are not compatible with
tag pooling?
Regards,
Johann Uhrmann
--
Johann Uhrmann
xpecto AG | Lindenstrasse 81 | D-84030 Ergolding
Telefon: 0700 xpecto 00 (0700 973286 00)
Telefax: 0700 xpecto 10 (0700 973286 10)
Internet: http://www.xpecto.com
tomcat instances?
How to tell that tomcat2 should not get new sessions for foobar?
Thank You very much,
Johann Uhrmann
--
Johann Uhrmann
xpecto AG | Lindenstrasse 81 | D-84030 Ergolding
Telefon: 0700 xpecto 00 (0700 973286 00)
Telefax: 0700 xpecto 10 (0700 973286 10)
Internet: http
Andrzej Jan Taramina wrote:
Douglas WF Acheson has said late last year:
# Define the Manager proxy that comes with Tomcat
[uri:/tomcat/manager/*]
context=/manager
info=Manager prefix mapping
But, after frustrating attempts I cannot seem to get it correct. I have
search the mail archives and a
this to determine if the tomcat instance can be safely
switched off without kicking out users.
Thank You,
Johann Uhrmann
--
Johann Uhrmann
xpecto AG | Lindenstrasse 81 | D-84030 Ergolding
Telefon: 0700 xpecto 00 (0700 973286 00)
Telefax: 0700 xpecto 10 (0700 973286 10)
Internet: http
36 matches
Mail list logo