Hi Jim,
You might want to look at SecurityFilter
(http://securityfilter.sourceforge.net/). I have a write-up on this on
my site (http://cymulacrum.net), using JDBC. If you look at the source
files in the download tarball, you can easily guess how to adapt it for
your own needs, I think. I'm
Yeah its confusing. In your global naming resources
you need to declare a resource and then a seperate
group of resource params with the same name. For your
app context look below at my example () is the
name of your app.
Host name=localhost debug=0 appBase=webapps
unpackWARs=true
Hi,
we´re building an Intranet application running on Tomcat 4.1.30 (Client
OS is Win2K). It would be very suitable to authentificate the users
against the NT Domain Controller to avoid a second login.
I searched this ML and Google but did not find very much about this theme.
There is a
Hi,
I've written one step by step for this. It's for Tomcat on Linux, but I
don't think Windows is different at all, at least for the realm part.
Can't say the same for the installation. You can view it at
http://www.connecties.com/cymulacrum/tomcat5/c578.html. This is for JDBC
Or maybe you
Hello everyone,
when I start up Tomcat and Tomcat activates any sessions from
SESSION.ser, shouldn't sessionDidActivate() in a registered
HttpSessionActivationListener be called?
Or is this listener reserved only for Session migrations between JVMs?
In any case, how can I detect a session if
Try putting
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd/web-app_2_3.dtd;
At the start of the web.xml file
Mark
-Original Message-
From: James Bucanek [mailto:[EMAIL PROTECTED]
From: Frank Schaare [mailto:[EMAIL PROTECTED]
we´re building an Intranet application running on Tomcat
4.1.30 (Client
OS is Win2K). It would be very suitable to authentificate the users
against the NT Domain Controller to avoid a second login.
I searched this ML and Google but did not
spec-quote
SRV.15.1.8 HttpSessionActivationListener
public interface HttpSessionActivationListener extends java.util.EventListener
All Superinterfaces: java.util.EventListener
Objects that are bound to a session may listen to container events notifying
them
that sessions will be passivated and
You could take commons-logging out of /common/lib, and place the version
you want to use for each app in /WEB-INF/lib.
app1/WEB-INF/lib/commons-logging-ver1.jar
app2/WEB-INF/lib/commons-logging-ver2.jar
/app3/WEB-INF/lib/commons-logging-ver1.jar
etc.
That way you could control the version of
Yea! Adding the DOCTYPE solved my parsing problems! Thanks Mark.
I realize now that I had taken it out when I was having another problem. I originally
created the files using UTF-8 encoding:
?xml version=1.0 encoding=utf-8?
But the parser would puke up and wouldn't even start:
Apr
On 04/18/2004 12:22 PM Frank Schaare wrote:
I've written one step by step for this. It's for Tomcat on Linux, but
I don't think Windows is different at all, at least for the realm
part. Can't say the same for the installation. You can view it at
Frank Schaare wrote:
Or maybe you just think that my writing sucks
i´m reading a lot of this stuff but your writing definetly NOT sucks !
Is is cool, short and very useful, thank you for posting your link.
Greetings from Germany...
Thanks a lot, Frank !!
I hope it's good enough for another
Hi Frank !
I seem to remember ActiveDirectory being discussed here, on this mailing
list. The good thing about ActiveDirectory is that, if you do not have
an overly complicated schema, you can use the LDAP subset to query the
directory (you need to do a fair bit of tweaking to get
Try taking a look at this http://jcifs.samba.org/
Look into using the NTLM authentication filter. You'll achieve single-on
authentication and when you need to grab the user's username, you can use this:
String username = ((HttpServletRequest)request).getRemoteUser();
Russ-
-Original
Hi.
I'm trying to generate PDF document directory from JSP using
itext library. I have an encoding problem.
I put pageEncoding and contentType attributes in page directive
as:
%@ page contentType=application/pdf%
%@ page pageEncoding=Shift_JIS%
Then tomcat (or jasper) translates them like:
Please read the attached file.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello everybody,
I've got a cron job that periodically requests a specific JSP page. In
order to save resources on the generation of HttpSession objects for
each request, I declared in the page not to use any sessions with the
following page directive:
%@ page session=false %
Unfortunately,
Hello Mark,
spec-quote
SRV.15.1.8 HttpSessionActivationListener
/spec-quote
HttpSessionActivationListener is the way to achieve what you are trying to do.
Then why doesn't Tomcat 5.0.19 call my registered
HttpSessionActivationListener when I shut Tomcat down or start it up again?
I know that my
Norton AntiVirus gelöscht1.txt
Description: plain/text
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello everyone. I was woundering if anyone could point me to a web hosting company
that supports tomcat and php
Thanks if you can help
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Without looking at your source code, no idea. I have just checked the Tomcat
source and every attribute that implements
HttpSessionActivationListener will have sessionWillPassivate() and
sessionDidActivate() called.
At the moment it looks like something in your app.
Mark
-Original
Mark Thomas wrote:
Without looking at your source code, no idea. I have just checked the Tomcat
source and every attribute that implements
HttpSessionActivationListener will have sessionWillPassivate() and
sessionDidActivate() called.
I've got a simple class that keeps track of the sessions
http://www.hostforweb.com
is a good service, I work with them about 3 years
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, April 18, 2004 9:40 PM
Subject: good webhosting
Hello everyone. I was woundering if anyone could point me to a web
hosting
You need to answer at least these questions:
- what monthly traffic do you need?
- what OS and server software do you need?
- what security do you need?
- can you manage the server or need an admin?
- what is your budget?
Just a quick note:
For personal use any shared j2ee hosting will serve
your
Andreas,
I believe you have misinterpreted the spec. Having re-read the relevant parts of
the spec (SRV.10.2, SRV.15.1.7 SRV.15.1.8) HttpSessionActivationListener
applies to session attributes. Although HttpSessionActivationListener's
inclusion in table SRV.10-1 could suggest otherwise, section
Tom,
Thanks, but...G I think you missed what I was after.. I wanted to
be able to back reference to the parent directory of the web
application in a link to an image..
Example: (trivial example)
Normally you would use a relative path to an image directory IN
the web application like
On 4/17/2004 10:05 AM, Tom K wrote:
I have pagination working with Tomcat 5 through a bean. I like the
flexible features that Pager Tag Library v2.0 has and would like to
implement it in my jsp. I know I have everything configured correctly
because I can get the paging to display but not more to
Hi,
Im wanting to run the program on the server.
When I startup Tomcat with the -security option Tomcat doesn't start up? This is the
case even when I take out my modifications to the policy file. When I don't use the
-security option Tomcat runs fine but I am unable to execute another program
Thanks Eric, but would the example give me the back, forward buttons and
in-between the jump to pages, for example, it looks like this:
1 2 3 4 5 6
I have the back and forward buttons working but getting the jump to a
certain number page will not work.
Tom K.
-Original Message-
Hi,
I have an application where my JSP talks to the Servlet for further
processing of my form. I am maintaining the user information in a session(
UserDetails) object since the user has logged in.
My application works sometimes, but never works sometimes.
When I try to navigate within the
Norton AntiVirus gelöscht1.txt
Description: plain/text
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Has the session expired and started a new session and thus the objects
that were in the previous session are not available?
Print out the session ID and see if it matches.
[EMAIL PROTECTED] wrote:
Hi,
I have an application where my JSP talks to the Servlet for further
processing of my form.
Norton AntiVirus gelöscht1.txt
Description: plain/text
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Norton AntiVirus gelöscht1.txt
Description: plain/text
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I host several websites on my apache2 (2.0.49) using virtual hosts. One
of the hosts I would like to forward fully to a web application
deployed on tomat via Mod_JK. What I have done is the following:
Installed the webapplication in tomcat's root / context
Configured a worker in
Norton AntiVirus gelöscht1.txt
Description: plain/text
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
We have recently upgraded from Tomcat 4.1.10 to Tomcat 5.0.19 and we are now
getting every now and again we are getting HTTP requests to our servlets
with no parameters. We use POST to send parameters, and this only ever
happened before for users who used certain browsers on Mac OS (prior to Mac
37 matches
Mail list logo