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
Of 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 app...@dsl.pipex.com wrote:
This is now resolved. Thanks anyway.
For the benefit of anybody
-
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 refer me to one?
Container-provided
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: Christopher Schultz
,
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, I would need a filter set
period of
time and then have to re-authenticate after that time has expired.
Can anyone suggest anything?
Thanks
Martin O'Shea.
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
I am
= RoleName /
Could 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
,
On 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 in context.xml for existing browser
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-
Hash: SHA256
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: users-unsubscr
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: Martin
...@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; create a setenv.bat
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'Shea [mailto:app
...@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 should add that Tomcat is running
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
[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.MySQLNonTransientConnectionException:
Data source
Are you able to provide any more information about what I am actually
looking for in VisualVM?
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
?
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://archive.apache.org/dist/tomcat/tomcat-6/v6.0.26/bin/apache-tomcat-6.0
.26-windows-x64.zip
I have the 64 bit Java sdk installed: jdk
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://archive.apache.org/dist/tomcat/tomcat-6/v6.0.26/bin/apache-tomcat-6.0
.26-windows-x64
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.
--
-
To unsubscribe, e-mail: users
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.
--
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
-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: Trying to get Tomcat 6 running
applications seems unaffected, or my application has an issue which I
can't find.
Any ideas?
Thanks
Martin O'Shea.
: 12 Oct 2011 22 19
To: Tomcat Users 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
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: Martin
: 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 the browser cache until
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 avoid forcing the browser to reload each page via
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'Shea wrote
R [mailto:chuck.caldar...@unisys.com]
Sent: 12 Oct 2011 23 05
To: Tomcat Users List
Subject: RE: Application not logging out properly
From: Martin O'Shea [mailto:app...@dsl.pipex.com]
Subject: RE: Application not logging out properly
But it doesn't explain why I can see the pages after
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.pipex.com]
Subject
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:
-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:
login-config auth-methodFORM/auth-method
realm-nameForm-Based Authentication Area/realm-name
form-login-config form-login-page/login/form
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 that form-login-page was static, because
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 app...@dsl.pipex.com
I need to be able
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 record the fact.
I am thinking about
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
: 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
application, I can have more than one page
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, Martin O'Shea
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.
Glad
login 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 form-login-page was static, because
that's how I seen it used in apps I've worked on.
But I am curious
If I understand you correctly, I think I should have this:
login-config
auth-methodFORM/auth-method
realm-nameForm-Based Authentication Area/realm-name
form-login-config
form-login-page/login/form-login-page
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()?
The cookie
.
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 57
To: Tomcat Users List
Subject: Re: Session management issue
) {
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.com]
Sent: 22 Sep
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.
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 lists
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
not 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 class
Martin O'Shea.
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 does this indicate
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 the listener
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
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.
It turned out to be MS Internet Explorer security settings.
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
]
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 app...@dsl.pipex.com wrote:
Hello
I wonder if anyone can help here? I am developing a web application written
in Java servlets and JSPs
]
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 Deploy on Save set. This seems
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]
Subject: RE: Tomcat
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 Deploy on Save set. This seems
Hello
I have a /myApp/displayDatasetPage which is used to display content. In this
page, I incorporate the default Tomcat login code as follows:
div id = login
form action='%= response.encodeURL(/myApp/loginPage) %'
method = post
table border = 0
Hello
I have a /myApp/displayDatasetPage which is used to display content. In this
page, I incorporate the default Tomcat login code as follows:
div id = login
form action='%= response.encodeURL(/myApp/loginPage) %'
method = post
table border = 0
Message-
From: Pid [mailto:p...@pidster.com]
Sent: 23 Sep 2010 12 57
To: Tomcat Users List
Subject: Re: Use of error page in 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
[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:
security-constraint
display
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 p...@pidster.com wrote:
Tables for layout.
file needs to be corrected?
-Original 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
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.
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 to Tomcat, I am given message 'Invalid
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 Tomcat that those
71 matches
Mail list logo