chris
derham
Sent: 06 Aug 2013 12 20
To: Tomcat Users List
Subject: Re: Why does JDBC application logging SQL instructions in Apache
Tomcat lists 545 repeatedly
On Tue, Aug 6, 2013 at 7:52 AM, Martin O'Shea wrote:
> This is now resolved. Thanks anyway.
For the benefit of anybody else that h
This is now resolved. Thanks anyway.
-Original Message-
From: app...@dsl.pipex.com [mailto:app...@dsl.pipex.com]
Sent: 06 Aug 2013 00 30
To: users@tomcat.apache.org
Subject: Why does JDBC application logging SQL instructions in Apache Tomcat
lists 545 repeatedly
I'm not sure of this is a
ED MESSAGE-
Hash: SHA256
Martin,
On 7/28/13 10:40 AM, Martin O'Shea wrote:
> Have you an example at all?
>
> At the moment, I've simply rigged a simple authentication method of my
> own . Have you a code example of container-provided authentication
> system, or could you r
Chris
Have you an example at all?
At the moment, I've simply rigged a simple authentication method of my own .
Have you a code example of container-provided authentication system, or could
you refer me to one?
Thanks
Martin O'Shea.
-Original Message-
From: Christoph
artin,
On 7/18/13 1:08 PM, Martin O'Shea wrote:
> OK. So let me see if I understand what you’re suggesting: I already
> have client and server communicating with each other by sending XML
> requests via Jersey with a servlet implemented in web.xml.
>
> So in addition to this,
Chris
I'm checking this with Jersey.
Thanks
Martin O'Shea.
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: 18 Jul 2013 18 52
To: Tomcat Users List
Subject: Re: Authentication from a REST service
-BEGIN PGP SIGNED MESSAGE-
Ha
7/18/13 10:32 AM, Martin O'Shea wrote:
> It's a case of considering options at the moment. It doesn't matter
> too much about the actual expiration time of the session. But a
> question arises concerning use of a realm: if I have the following
> code in a realm
it be used also for the REST service? And would a servlet be required to
handle authentication?
Thanks
Martin O'Shea.
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: 18 Jul 2013 15 05
To: Tomcat Users List
Subject: Re: Authentication from
Thanks Andre. I have already done so. I thought to ask it on both just in
case.
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: 18 Jul 2013 14 16
To: Tomcat Users List
Subject: Re: Authentication from a REST service
Martin O'Shea wrote:
> Hello
>
>
period of
time and then have to re-authenticate after that time has expired.
Can anyone suggest anything?
Thanks
Martin O'Shea.
...@verizon.net]
Sent: 09 Dec 2011 16 02
To: users@tomcat.apache.org
Subject: Re: Tomcat memory allocation
On 12/9/2011 10:49 AM, Caldarale, Charles R wrote:
>> From: Martin O'Shea [mailto:app...@dsl.pipex.com]
>> Subject: RE: Tomcat memory allocation
>
>> I
I should add that Tomcat is running as a Windows service, it isn't started
manually.
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: 09 Dec 2011 15 29
To: Tomcat Users List
Subject: RE: Tomcat memory allocation
> From: Martin O'She
...@unisys.com]
Sent: 09 Dec 2011 15 29
To: Tomcat Users List
Subject: RE: Tomcat memory allocation
> From: Martin O'Shea [mailto:app...@dsl.pipex.com]
> Subject: RE: Tomcat memory allocation
> But if I change the settings in catalina.bat to:
Don't make changes to catalina.bat; cre
ading?
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: 09 Dec 2011 15 03
To: Tomcat Users List
Subject: RE: Tomcat memory allocation
> From: Martin O'Shea [mailto:app...@dsl.pipex.com]
> Subject: RE: Tomcat memory allocation
> So I could reduce
earlier
and I wonder if memory was to blame although there is nothing in the system
or server logs to say so.
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: 09 Dec 2011 14 46
To: Tomcat Users List
Subject: RE: Tomcat memory allocation
> From: Mar
e and what it can expand to. But what exactly
is:
-XX:MaxPermSize=128m
Should it be set to an addition of the other settings, or the other settings
to an addition of it?
Thanks
Martin O'Shea
-
To unsubscribe, e-mail: user
Well, I hope I'm reading VisualVM correctly, because when I run the JMeter
test first time around, I see 40 'connector' threads created in VisualVM,
all of which run for so long and then return to a wait state.
And if I run the test again several times in succession, the number of
connector th
Are you able to provide any more information about what I am actually
looking for in VisualVM?
. Bandoian [mailto:tere...@tmbsw.com]
Sent: 21 Nov 2011 16 11
To: Tomcat Users List
Subject: Re: Connection pooling issue with
MySQLNonTransientConnectionException and Java webapp
On 1:59 PM, Martin O'Shea wrote:
> Caused by:
> com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionExce
Usually the connection is initialised as null and then assigned inside
the try block. What happens if the method above throws an error after
a connection is removed from the pool?
To try to answer this, the sample code provided is illustrative of my DAO
classes generally. The following is
lder, when
>set as a Windows service, I get a message that:
>
>Windows could not start the service on the Local Computer.
>
>Have you any iseas at all?
>
>The Tomcat logs display nothing when the above happens.
>
>Martin O'Shea.
>
I run Windows 7.
I just downloaded Tomca
>Windows could not start the service on the Local Computer.
>
>Have you any iseas at all?
>
>The Tomcat logs display nothing when the above happens.
>
>Martin O'Shea.
>
I run Windows 7.
I just downloaded Tomcat 6.0.26 from the archives, using this zip file:
http://arc
ows-Server-Permissions
Ilya Kazakevich,
Developer
JetBrains Inc
http://www.jetbrains.com
"Develop with pleasure!"
-Original Message-
From: Martin O'Shea [mailto:app...@dsl.pipex.com]
Sent: Wednesday, November 16, 2011 3:59 PM
To: 'Tomcat Users List'
Subject: RE:
27;m running the batch file
with adminstrator authorities.
Has anyone any idea?
I should also add, that this version of Tomcat runs perfectly if called from
NetBeans 7.0.1 which is deployed on
the same PC.
Martin O'Shea.
--
-
INA_BASE, JAVA_HOME
and JVM. I'm running the batch file with adminstrator authorities.
Has anyone any idea?
I should also add, that this version of Tomcat runs perfectly if called from
NetBeans 7.0.1 which is deployed on the same PC.
Martin O'Shea.
--
---
Well, it seems that using a no cache filter works for Chrome, Firefox and
IE. But Opera and Safari don't obey the rules at all.
-Original Message-
From: cjder...@gmail.com [mailto:cjder...@gmail.com] On Behalf Of chris
derham
Sent: 12 Oct 2011 23 22
To: Tomcat Users List
Subject: Re: Appli
Not HTTPS but it worth me checking as you advise.
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: 12 Oct 2011 23 16
To: Tomcat Users List
Subject: RE: Application not logging out properly
> From: Martin O'Shea [mailto:app...@dsl.p
r
/*
REQUEST
FORWARD
INCLUDE
ERROR
So be it.
I can always edit the to exclude certain pages anyway.
Thanks.
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: 12 Oct 2011 23 05
To: Tomcat Users List
Subject: RE:
pages just visited.
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: 12 Oct 2011 23 01
To: Tomcat Users List
Subject: Re: Application not logging out properly
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
On 10/12/2011 5:58 PM, Martin O&
cation not logging out properly
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 10/12/2011 5:30 PM, Caldarale, Charles R wrote:
>> From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE:
>> Application not logging out properly
>
>> I would rather avoi
t: RE: Application not logging out properly
> From: Martin O'Shea [mailto:app...@dsl.pipex.com]
> Subject: RE: Application not logging out properly
> I would rather avoid forcing the browser to reload each page via the
> appropriate headers.
Then they're going to be available in
I would rather avoid forcing the browser to reload each page via the
appropriate headers.
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: 12 Oct 2011 22 18
To: Tomcat Users List
Subject: RE: Application not logging out properly
> From: Mar
List
Subject: Re: Application not logging out properly
Martin O'Shea wrote:
> Hello
>
>
>
> I'm using Apache Tomcat 6.0.26 for an application where the majority
> of the content is hidden behind a page requiring authenticated login.
> This appears to work fine
applications seems unaffected, or my application has an issue which I
can't find.
Any ideas?
Thanks
Martin O'Shea.
a login or logoff event
> From: Martin O'Shea [mailto:app...@dsl.pipex.com]
> Subject: Detecting a login or logoff event
> I need to be able to intercept a successful authentication of a login
> / logout request which can then be used to make a series of system
> updates to rec
losing
the browser , you need use javascript events and throw a call to the server.
Maybe, a filter can be use to capture this event
For login, you can use Spring Security
Maybe for logout too, but I don't know it Or your use your own filters
2011/10/6 Martin O'Shea
> I need to
But if
so, what might a filter check for?
-Original Message-
From: Martin O'Shea [mailto:app...@dsl.pipex.com]
Sent: 05 Oct 2011 23 06
To: 'Tomcat Users List'
Subject: RE: Using multiple login pages
Thanks for this Chris. It is food for thought.
I was under the impression
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
On 10/5/2011 6:50 PM, Martin O'Shea wrote:
> If I understand you correctly, I think I should have this:
>
> FORM
> Form-Based Authentication Area
> /login
> /jsp/security/protected/error.jsp
>
>
>
>
>
If I understand you correctly, I think I should have this:
FORM
Form-Based Authentication Area
/login
/jsp/security/protected/error.jsp
But when called I receive a page not found exception. /login maps to a servlet
I've
n for logging in?
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: 05 Oct 2011 23 20
To: Tomcat Users List
Subject: RE: Using multiple login pages
> From: Martin O'Shea [mailto:app...@dsl.pipex.com]
> Subject: RE: Using multiple login pag
ogin pages
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
On 10/5/2011 6:06 PM, Martin O'Shea wrote:
> Thanks for this Chris. It is food for thought.
>
> I was under the impression that was static, because
> that's how I seen it used in apps I've worked on.
>
&g
08
To: Tomcat Users List
Subject: Re: Using multiple login pages
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
On 10/5/2011 1:59 PM, Martin O'Shea wrote:
> I have it now. There was a redirection going on in a method called
> from a scriptlet in the login page. It now seems to be OK
an you give any
pointers about this?
.-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: 05 Oct 2011 18 39
To: Tomcat Users List
Subject: Re: Using multiple login pages
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
On 10/5/2011 11:41 AM
herschultz.net]
Sent: 05 Oct 2011 18 39
To: Tomcat Users List
Subject: Re: Using multiple login pages
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
On 10/5/2011 11:41 AM, Martin O'Shea wrote:
> This follows on from yesterday's discussion about whether in my
> applicati
This follows on from yesterday's discussion about whether in my application,
I can have more than one page with an embedded login form or not.
I've been looking over the servlet spec (V2.2) and it seems that I can't
actually do this which is a shame. So I'm now looking at a more conventional
log
This follows on from yesterday's discussion about whether in my application,
I can have more than one page with an embedded login form or not.
I've been looking over the servlet spec (V2.2) and it seems that I can't
actually do this which is a shame. So I'm now looking at a more conventional
log
Message-
From: Martin O'Shea [mailto:app...@dsl.pipex.com]
Sent: 22 Sep 2011 19 49
To: 'Tomcat Users List'
Subject: RE: Session management issue with Tomcat
To answer your questions:
Is there a reason this data is in a custom cookie, rather than the session,
via setAttribute
To answer your questions:
Is there a reason this data is in a custom cookie, rather than the
session, via setAttribute()?
The cookie is dedicated and meant to be persistent. The idea is that a user
is recognised by the system upon returning to the website after having been
away for some time. Hen
if (found) {
return cookieValue;
}
}
}
return cookieValue;
}
The cookieName parameter here is the name of the cookie which is myAppUser
This all seems to work fine.
-Original Message-
From: Martin O'Shea [mailto:app...@dsl.pipex.
} catch (Throwable t) {
...
}
But the results are imperfect.
Is this the sort of thing you mean?
http://www.koelnerwasser.de/?p=11
Or can you tell me what to do if I am wrong?
Thanks
Martin O'Shea.
-Original Message-
From: Shanti Suresh [mailto:sha...@umich.edu]
Sent: 22 Sep 2011 13 5
Hello
I have a situation where I'm using Tomcat 6.0.26 but the logging in / out of
the application is not authenticated via Tomcat's:
action='<%= response.encodeURL("j_security_check") %>' >
method.
The current system allows cookies to store userids which are used to show
recent lis
Hello
I wonder if anyone can advise? I am using Tomcat 6.0.26 in an application
with a MySQL 5.* back end database.
Currently my users' username and userrole details are stored in the User
table of the database.
At the moment though, there is no actual logging in facility in the
appli
match latest 5.5 as well.
Do you not know where the Apache svn is? Hint:
http://svn.apache.org/viewvc/tomcat/
http://svn.apache.org/repos/asf/tomcat/
Martin O'Shea,
FastCommonAccessLogValve was deprecated in Tomcat 6 and is completely
removed from Tomcat 7. Just use the "AccessLogValve&
e log files are not very important
to me at this time but can you advise?
Thanks
Martin O'Shea.
Users List
Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1
On 20/10/2010 12:41, Martin O'Shea wrote:
> And then when I terminate the Quartz application, but leave Tomcat
> running, the second dump appears to be show no trace of these messages
> at all. So
Well, I believe I've identified and run the thread dumps as suggested. I am
using default Quartz properties without any customisations of my own in a
dedicated properties file. The job is set to print out a message every
minute and appears to be fine.
This is an extract from the first dump where T
Thanks Mark. I will give this a try later on.
-Original Message-
From: Mark Eggers [mailto:its_toas...@yahoo.com]
Sent: 19 Oct 2010 01 08
To: Tomcat Users List
Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1
Once again, I apologize for the wall of text. However,
ronment:
OS: Fedora 13 2.6.34.7-56.fc13.i686
Java:Oracle/Sun Java JRE/JDK 1.6.0_22
IDE: NetBeans 6.9.1 / Maven 2.2.1
Tomcat: 6.0.29
6.0.18
Quartz: 1.8.3
Monitor: VisualVM 1.3.1 (https://visualvm.dev.java.net/)
If I have some time today, I'll try some variations.
. . . . just
omcat memory leak error launching web app in NetBeans 6.9.1
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
On 10/16/2010 11:11 AM, Martin O'Shea wrote:
> Definitely seems to be when the web application in question is terminated,
> rather than Tomcat itself. And all indications are t
Well, I've upgraded to Quartz 1.8.3 and the two SLF4J files that seem to be
needed. I believe Quartz's config is correct with regards to the two scheduled
jobs I have. But upon terminating my web app in Tomcat or terminating Tomcat, I
still find a number of messages:
-Oct-2010 14:40:52 org.apac
Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1
On 16/10/2010 15:24, Martin O'Shea wrote:
> OK. So the error is happening as the application is closed, not as it
> started. My mistake. But Tomcat restarts occur frequently as I have
> NetBeans's Deplo
other environments.
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: 16 Oct 2010 15 53
To: Tomcat Users List
Subject: RE: Tomcat memory leak error launching web app in NetBeans 6.9.1
> From: Martin O'Shea [mailto:app...@dsl.pipex.com]
> Sub
s.com]
Sent: 16 Oct 2010 15 30
To: Tomcat Users List
Subject: RE: Tomcat memory leak error launching web app in NetBeans 6.9.1
> From: Martin O'Shea [mailto:app...@dsl.pipex.com]
> Subject: RE: Tomcat memory leak error launching web app in NetBeans 6.9.1
> I have NetBeans's
...@pidster.com]
Sent: 16 Oct 2010 15 06
To: Tomcat Users List
Subject: Re: Tomcat memory leak error launching web app in NetBeans 6.9.1
On 16 Oct 2010, at 12:45, Martin O'Shea wrote:
> Hello
>
> I wonder if anyone can help here? I am developing a web application written
> in J
To do with the use of cookies and Trusted sites within IE 8.
-Original Message-
From: Martin Gainty [mailto:mgai...@hotmail.com]
Sent: 16 Oct 2010 13 09
To: Tomcat Users List
Subject: RE: Connecting Tomcat 6.0.26 to MySQL 5.1
how did misconfiguration for IE browser cause these problems?
It turned out to be MS Internet Explorer security settings.
emory leak.
Has anyone any idea? It seems to be causing Tomcat to stop every so often
requiring a PC reboot. And I've found very little about this so far.
I don't know if it is a problem with Tomcat or Quartz so any help is welcome
Thanks
Martin O'Shea.
ginal Message-
From: Pid [mailto:p...@pidster.com]
Sent: 23 Sep 2010 14 00
To: Tomcat Users List
Subject: Re: Use of error page in Tomcat
On 23/09/2010 13:27, Martin O'Shea wrote:
> I'm currently using a DataSourceRealm and Tomcat 6.0.20.
Well, you aren't actually using the DSR
Well, that's the code in the 6.0.20 samples I have.
-Original Message-
From: Darryl Lewis [mailto:darryl.le...@unsw.edu.au]
Sent: 23 Sep 2010 14 04
To: Tomcat Users List
Subject: Re: Use of error page in Tomcat
On 23/09/10 9:56 PM, "Pid" wrote:
>
> Tables for layout. How very 1997.
From: Pid [mailto:p...@pidster.com]
Sent: 23 Sep 2010 13 17
To: Tomcat Users List
Subject: Re: Use of error page in Tomcat
On 23/09/2010 13:04, Martin O'Shea wrote:
> Apologies re the duplicate posting; email trouble with my ISP.
>
> Relevant part of web.xml reads:
>
>
Tomcat
On 23/09/2010 12:22, Martin O'Shea wrote:
> Hello
>
> I have a /myApp/displayDatasetPage which is used to display content.
> In this page, I incorporate the default Tomcat login code as follows:
>
>
> method = "post">
>
Hello
I have a /myApp/displayDatasetPage which is used to display content. In this
page, I incorporate the default Tomcat login code as follows:
Username
Hello
I have a /myApp/displayDatasetPage which is used to display content. In this
page, I incorporate the default Tomcat login code as follows:
Username
It appears to be working. Many thanks.
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: 22 Sep 2010 16 06
To: Tomcat Users List
Subject: Re: Issue with logging in to Tomcat 6.0
On 22/09/2010 07:50, Martin O'Shea wrote:
>> Because you haven't told T
to do something, like post a
comment, on the page.
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: 22 Sep 2010 15 43
To: Tomcat Users List
Subject: Re: Issue with logging in to Tomcat 6.0
On 22/09/2010 06:27, Martin O'Shea wrote:
> But when I try to login
Hello
I have a Java / Tomcat application which creates a cookie for a user when
they visit the homepage. This cookie is used to recognize that user on
subsequent visits and generate recent lists. These are working well and so
far without any type of authentication of the user using Tomcat itself.
76 matches
Mail list logo