Hi,
I bet the elapsed time between your last succesful login and the
next attempt is 8 hours. There's a connection timeout variable in MySql which
controls this value but can't remember exact name off the top off my head.
Anyway to sort it out try adding - autoReconnect=true to the
Hi,
Are you sure it is hanging? The message you quote is the
perfectly normal and is the last message you get once tomcat
has completed its initialisation (with a default config). The Ajp12
Connector is necessary to shutdown tomcat smoothly and can be used
to integrate tomcat with another
Hi,
Have you looked at TOMCAT_HOME/doc/tomcat-iis-howto.html ?
-andrew
On Mon, 27 Aug 2001, you wrote:
Hi,
I am a new user with TomcatI need to establish a connector between IIS
4.0 and Tomcat 3.3.2 so that when IIS receive a JSP request, he'll send it
to Tomcat...
The Tomcat
On Mon, 27 Aug 2001, you wrote:
Hello, I'm frustrated, trying to use JDBC realms. Can anyone help me here
before I start wading trough the TOMCAT source-code?
Thanks for any help
--
Hi,
I have this working and I'm sure a lot of other people do.
I'm guessing you've read the howto? If you
Tomcat can also act as a http server. So it will handle
your html as well as JSP's and servlets. Apache is not
required.
However many people choose to integrate the two so that
apache is managing the static content and Tomcat is managing
the dynamic content. There has been much recent discussion
Hi,
You need to add
JkMount /secure/j_security_check ajp13 to httpd.conf
(or ajp12 if that is the connector you are using).
btw, this has been answered many times on the list. A search
of the archive at
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/
would have got you an answer
Why not use
HttpServletRequest
boolean isUserInRole(java.lang.String role)
andrew
On Mon, 13 Aug 2001, you wrote:
Hi,
I am using JDBCRealm and need a convenient way to get the userRoles of the
user. GetRemoteUser is not the right way. In the source code of JDBCRealm I
found a
Hi,
Your problem is that 'cut' is in the wrong place.
Copy it from wherever it is (/bin I think) into /usr/bin/
This will get rid of error message but you're not out of the
woods yet. See the thread from yesterday about a missing
file - libstd++-libc6.1-1.so.2 I suspect you will get the
same
with Yahoo! Messenger
http://phonecard.yahoo.com/
--
Andrew Robson
tel: (0141) 424 0607
mobile: 07759 430234
email: [EMAIL PROTECTED]
Hi,
Following is taken from the readme for 3.2 and is probably
what the person was referring to
6.11 Misconfiguration Can Cause CPU-Bound Loop
If you misconfigure Tomcat 3.2 in a way that there is no valid context to
handle a request (such as removing the root context and then
On Mon, 30 Jul 2001, you wrote:
I have a web site to which a lot of cross-links have been built up over time.
Inevitably the links are to pages with names like index.htm. I would like to change
these to jsp pages, but of course I can't change the name without breaking the link
(and losing
[X] +1 - Plain Text only. Strip HTML on the mailing list.
Otherwise you start to exclude people who don't use html
enabled mail client.
Also it seems to me if you are going to post to a list you
should read the guidelines first which explicity say not to
post HTML or Stylelized emails. I
[EMAIL PROTECTED]
--
Andrew Robson
tel: (0141) 424 0607
mobile: 07759 430234
email: [EMAIL PROTECTED]
Hi,
If you get it to work in tomcat standalone (have you
tried that?) then you need to add
JkMount /examples/jsp/security/login/j_security_check ajp13
(or ajp12 if that's the connector you are using)
to httpd.conf to get it to work with apache.
Otherwise apache won't know to delegate the
Hi Peter,
Have you looked at Realms? This allows you to specify a set of resources
(html, jsp, servlets etc) to be protected in your web.xml file. Any
unauthorised access attempt to these files will automatically throw up
a login form. Means you don't have to code in protection to each page.
3.2.1 and 3.2.2.
And I need it fixedas soon as possible. Does anyone know a workaround to
thisone.(I'd rather not upgrade to Tomcat 4 yet,seems like its fixed here.)
--
Nils O. SelÄsdal
--
Andrew Robson
Message -
From: Andrew Robson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 16, 2001 7:29 AM
Subject: Re: Need workaround for Tomcat security.
Hi,
No workaround I'm afraid. I can confirm that the problem
affects form - based JDBCRealm as well. Tried putting
*/admin
--
===
Andrew Robson
2/1
723 Pollokshaws Road
Glasgow G41 2AA
Tel: (0141) 424 0607
Mobile: 07759 430234
Hi,
I've been on the list about eight months and I'm not sure
I agree that splitting it will alleviate the volume problem.
I'm rather afraid that I would end up subscribed to 2 or 3
high volume lists rather than one. I imagine that we would
see a lot of multiple posts across the lists.
Below is good advice. If the login page does not
come up (btw, what happens does it just take you
direct to the protected resource?) the first place I would
look is the tomcat config files. So basically I would
double-check server.xml and the web-xml for your app.
If you are sure they are
)
at java.lang.Thread.run(Thread.java:484)
--
===
Andrew Robson
2/1
723 Pollockshaws Road
Glasgow G41 2AA
Tel: (0141) 424 0607
Mobile: 07759 430234
hi,
Couple of possibilities.
1) You are trying to go directly to the login form rather than having it
thrown up automatically when you try to access a protected resource
2) You are running apache which doesn't know to pass the handling
of j_security_check to tomact. If so add following line to
Hi Jeff,
I had exactly the same problem (with mm 2.0.2) and only
solved it by customisng JDBCRealm to use database
connection pooling. A bit heavy handed but might be
a lot easier than trying to track potential driver problem if time is
an issue. I have also seen a suggestinon on the list
Hi,
One possibility: you can set a sesson timout value in the web.xml for your
application
!-- session timeout --
session-config
session-timeout30/session-timeout!-- 30 minutes --
/session-config
Don't know what default is if you don't
andrew
On Wed, 28 Mar 2001,
Hi,
Tomcat has authentication via database built in which means you should be
able to accomplish everything without need to write any code.
Read http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/JDBCRealm.howto
Look at server.xml for the examples of setting up a JDBCRealm with various
Hi,
I've had this as well. Solved it by customising JDBCRealm to use database
connection pooling - perhaps a little heavy handed ;-).
As far as I could make out the problem seemed to be related to the wait_timout
variable set to 28800 by default. According to earlier posts
1) This bug is
that I have some configuration wrong.
I don't start tomcat as a user, just root for the moment.
Thanks,
Ken
-Original Message-
From: Andrew Robson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 14, 2001 4:50 PM
To: [EMAIL PROTECTED]
Subject: Re: almost there
Hi,
Sorry don't
Firstly I very strongly highly recommend you buy a decent book on servlets with
a section on JDBC
The O'Reilly book Java Servlet Programming - by Jason Hunter is a good one.
On Thu, 15 Mar 2001, you wrote:
Hi I am using MySQL and JDBC mm.mysql Driver to connect to the database. I am
Hi,
I think this is an error which has been discussed a number of times
on the list. To the best of my recollection problem stems from IE's
caching behaviour. You have two choices
1) Ignore it - as you say page loads fine
2) Do something to prevent IE caching the resources
however recollection
Hi,
No. It synchronizes the calls to the service method (see Craig McLanahan's
post from 2nd of March). That tomcat properly implements SingleThreadModel
should be easy to verify by generating a unique id for each of your requests and
tracing their execution.
Andrew
On Fri, 09 Mar 2001, you
Hi Amit,
I'm using 3.2 so details may vary.
What you want to do is write your own authentication module.
Easier than it sounds. Just take a copy of the authentication module you
are using (SimpleRealm?) to use as a base for your own code. Add in
the functionality you want, compile and include
Hi,
You might want to try something like the following. It works for me.
RequestInterceptor
className="org.apache.tomcat.request.JDBCRealm"
debug="99"
driverName="org.gjt.mm.mysql.Driver"
connectionURL="jdbc:mysql://localhost/somedb"
John,
This question has appeared on the list before.
Below is a quote from a reply by one of the tomcat developers. I have the same
problem. I want to integrate apache/tomcat but can't at the moment because
I need the functionality I've built into my custom JDBCRealm. And I don't know
how to
For additional commands, email: [EMAIL PROTECTED]
--
=======
Andrew Robson
10 Bank Street
Glasgow G12 8JQ
Tel: (0141) 339 9970
Mobile: 07759 430234
-
To unsubscribe, e-mail: [E
Are you using Redhat 7.0? This sounds similiar to a known
bug I came across recently. Tomcat dies and spits out
#
# HotSpot Virtual Machine Error, Unexpected Signal 11
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Error ID: 4F533F4C494E55580E43505005BC
#
#
Try
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/JDBCRealm.howto
There's an jsp example in your tomcat distribution (3.2 anyway) which this
takes you through
-A
On Tue, 09 Jan 2001, you wrote:
Hi all,
Do you know any documentation on how to set the authentication on tomcat
from
Try http://www.mysql.com/downloads/api-jdbc.html to
get mm MySql driver (type 4). I'm using jdk1.3 and seems to work OK
(so far!)
Andrew
PS you probably shouldn't be posting to this list unless
tomcat specific ;-)
On Thu, 14 Dec 2000, you wrote:
jdk1.2
I'm currently using the IBM JDK
37 matches
Mail list logo