Christopher,
Christopher Schultz schrieb:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mike,
On 9/21/2011 3:52 AM, 1983-01...@gmx.net wrote:
I have removed the MemoryRealm from my server.xml in Tomcat 6.0.33
and noticed that the StandardEngine creates a JAASRealm [1]:
21.09.2011 09:14:58 or
Hi folks,
I'd like to write a custom ldap resource factory as same as a data
source factory. The getObjectInstance method shall return
InitialDirContext object. I have written a mock factory and noticed that
the output is cached by Tomcat. So the object is created only once (same
id in Eclips
Hi folks,
this resource [1] mentions that I can instruct my webapp to perform the
authentication on the resource, e.g. user credential albeit this
resource remains container-managed. How is that supposed to work?
I was not able to find an example implementation for this. All I know is
that the
Hi,
several authentication mechanisms require a session (*not* HTTP session)
or connection being initiated when authentication is performed and
principal cached for subsquent requests [1], [2].
Now, I want to patch our SPNEGO authenticator in Tomcat 6 to behave
stateful. I once contributed t
Am 2012-10-27 16:57, schrieb Mark Thomas:
On 27/10/2012 14:50, Michael-O wrote:
Hi,
several authentication mechanisms require a session (*not* HTTP session)
or connection being initiated when authentication is performed and
principal cached for subsquent requests [1], [2].
Now, I want to
Am 2012-10-27 18:38, schrieb Mark Thomas:
On 27/10/2012 16:28, Michael-O wrote:
Am 2012-10-27 16:57, schrieb Mark Thomas:
The only mechanism to maintain state between HTTP requests is the HTTP
session. You might be able to hack something together (in a non-portable
way) on a per connection
Am 2012-10-27 19:25, schrieb Mark Thomas:
Is this something worth being filed in Bugzilla as a longterm goal for
Tomcat 8?
Sure, but without a proposed patch I suspect it will sit there for a few
years and then closed as WONTFIX. With a patch, it still might not get
fixed but at least you'll kn
Am 2012-10-27 20:22, schrieb Mark Thomas:
On 27/10/2012 18:57, Michael-O wrote:
Am 2012-10-27 19:25, schrieb Mark Thomas:
Is this something worth being filed in Bugzilla as a longterm goal for
Tomcat 8?
Sure, but without a proposed patch I suspect it will sit there for a few
years and then
Hi,
I've been struggling recently with this builtin valve and some
Spring-based REST services. I some cases I do return states like 404 or
400. SendError seems to be the right thing to do but Tomcat alters the
response with the HTML page. Which is highly unwanted for a REST API.
I have check
Am 2012-11-23 22:16, schrieb Mark Thomas:
On 23/11/2012 21:09, Michael-O wrote:
Hi,
I've been struggling recently with this builtin valve and some
Spring-based REST services. I some cases I do return states like 404 or
400. SendError seems to be the right thing to do but Tomcat alter
Am 2012-11-23 22:28, schrieb Mark Thomas:
On 23/11/2012 21:23, Michael-O wrote:
Am 2012-11-23 22:16, schrieb Mark Thomas:
On 23/11/2012 21:09, Michael-O wrote:
Hi,
I've been struggling recently with this builtin valve and some
Spring-based REST services. I some cases I do return states
Am 2012-11-23 22:50, schrieb Mark Thomas:
On 23/11/2012 21:44, Michael-O wrote:
Am 2012-11-23 22:28, schrieb Mark Thomas:
On 23/11/2012 21:23, Michael-O wrote:
Am 2012-11-23 22:16, schrieb Mark Thomas:
On 23/11/2012 21:09, Michael-O wrote:
Hi,
I've been struggling recently with
Am 2012-11-23 23:02, schrieb Mark Thomas:
On 23/11/2012 22:00, Michael-O wrote:
Am 2012-11-23 22:50, schrieb Mark Thomas:
On 23/11/2012 21:44, Michael-O wrote:
Am 2012-11-23 22:28, schrieb Mark Thomas:
On 23/11/2012 21:23, Michael-O wrote:
Am 2012-11-23 22:16, schrieb Mark Thomas:
On 23/11
Am 2012-11-23 23:10, schrieb Mark Thomas:
On 23/11/2012 22:07, Michael-O wrote:
Am 2012-11-23 23:02, schrieb Mark Thomas:
On 23/11/2012 22:00, Michael-O wrote:
I am aware of that implementation detail. I was solely referring to the
definition in the JavaDocs. They seem to be misleading
Am 2012-11-24 23:08, schrieb Terence M. Bandoian:
On 11/23/2012 3:09 PM, Michael-O wrote:
Hi,
I've been struggling recently with this builtin valve and some
Spring-based REST services. I some cases I do return states like 404
or 400. SendError seems to be the right thing to do but T
Am 2012-11-23 23:02, schrieb Mark Thomas:
On 23/11/2012 22:00, Michael-O wrote:
Am 2012-11-23 22:50, schrieb Mark Thomas:
On 23/11/2012 21:44, Michael-O wrote:
Am 2012-11-23 22:28, schrieb Mark Thomas:
On 23/11/2012 21:23, Michael-O wrote:
Am 2012-11-23 22:16, schrieb Mark Thomas:
On 23/11
Hi,
why does the ErrorReportValve trigger the report on this condition only?
if ((statusCode < 400) || (response.getContentCount() > 0))
return;
So, even if I do a reponse.setStatus(404), this valve is executed. According to
the Javadoc: if setStatus is invoked [1], the response sh
Am 2012-11-28 18:26, schrieb Mark Thomas:
Michael-O <1983-01...@gmx.net> wrote:
Hi,
why does the ErrorReportValve trigger the report on this condition
only?
if ((statusCode < 400) || (response.getContentCount() > 0))
return;
So, even if I do a reponse.setStatus(404), t
Hi,
I am having again trouble with the respone.sendError method. The docs
say that an IllegalStateException is thrown if response has already been
committed. So this should cause an exception:
protected void doGet(HttpServletRequest request, HttpServletResponse
response) throws ServletExcept
Am 2012-11-28 21:39, schrieb Mark Thomas:
On 28/11/2012 20:34, Michael-O wrote:
Hi,
I am having again trouble with the respone.sendError method. The docs
say that an IllegalStateException is thrown if response has already been
committed. So this should cause an exception:
protected void doGet
Am 2012-11-28 21:41, schrieb Caldarale, Charles R:
From: Michael-O [mailto:1983-01...@gmx.net]
Subject: Writing to response and issuing sendError
The exception is thrown out to the console but the response is still
written.
As it should be - it's already committed, and may well have
Am 2013-02-27 19:36, schrieb André Warnier:
dku...@ccilindia.co.in wrote:
Hi,
I have downloaded apache-tomcat-7.0.35.zip and runiing it on Window
Server SP 2 machine and it is working fine. Is it OK to run
apache-tomcat-7.0.35 setup on Window Server SP 2 machine?
Please reply.
Server version:
> Michael-O wrote:
> > Am 2013-02-27 19:36, schrieb André Warnier:
> >> dku...@ccilindia.co.in wrote:
> >>> Hi,
> >>>
> >>> I have downloaded apache-tomcat-7.0.35.zip and runiing it on Window
> >>> Server SP 2 machine and it is
Hi,
I'd like to make a string available as an env entry via JNDI. The string
is static but must be created dynamically at startup time of the webapp.
I have evaluated and implemented a listener which I have added to my
context.xml. It listens for startup and shutdown events. It works pretty
Am 2013-03-16 10:46, schrieb Konstantin Kolinko:
2013/3/16 Michael-O <1983-01...@gmx.net>:
Hi,
I'd like to make a string available as an env entry via JNDI. The string is
static but must be created dynamically at startup time of the webapp.
I have evaluated and implemented a liste
Am 2013-03-16 11:43, schrieb Konstantin Kolinko:
2013/3/16 Michael-O <1983-01...@gmx.net>:
Am 2013-03-16 10:46, schrieb Konstantin Kolinko:
2013/3/16 Michael-O <1983-01...@gmx.net>:
Hi,
I'd like to make a string available as an env entry via JNDI. The string
is
static bu
Am 2013-03-29 09:38, schrieb Shyam Yadav:
Hi,
I want to run my tomcat on port 443 with https on an Ubuntu machine.
what are the required steps i should take, please guide me through it.
I search Internet but did not get any proper solution that is why i am here
sending you this mail.
Hi Shyam,
Am 2013-03-31 19:20, schrieb Kevin Jenkins:
If I run tomcat7w.exe (windows) there is a tab where I can set the initial
and maximum memory pool to 2560. However, I don't want to use tomcat7w.exe,
I just want to run the batch file manually (startup.bat). However, I can't
figure out how to set thes
Am 2013-03-31 23:52, schrieb Ognjen Blagojevic:
Shyam,
On 29.3.2013 14:54, Shyam Yadav wrote:
I did all the setting you have mentioned for Unix Daemon for Tomcat, but
still i am getting the same problem.
i.e. Permission Denied.
When you run your jsvc-based Tomcat startup script, you MUST do
Am 2013-04-01 08:25, schrieb N.s.Karthik:
Hi
Spec:
JDK1.6
Tomcat 6.0.26
O/s nix Suse
I have build a Customized Valve and have done the required settings in
context.xml for specific APP
and have them returned variables System.println on console ( Catalina.out)
Question :
1) How to get the
Am 2013-04-01 14:28, schrieb N.s.Karthik:
Hi
Thx for the reply
I know that Valves are invisible to the app..
Reason :
I have created a Customized valve as a separate jar used for AAA
interception of my APPS ,
Since I cannot configure each and every application hosted on the Tomcat
with fi
Am 2013-04-05 11:37, schrieb Jean-Claude Haw-King-Chon:
Hi,
I use the connection pool of tomcat7 and set a connection in a
ThreadLocal. The context is a web application : the threadLocal is
configured when the http request is initialized. The jdbc connection is
closed and removed from the thread
Fist of all, do NOT top post. Use the power of your wondeful mail client.
Am 2013-04-05 13:05, schrieb Jean-Claude Haw-King-Chon:
I wish to avoid passing the connection through the layers of the
application (from controller to DAO).
The controller initialize the connection and must pass it to th
Am 2013-04-06 10:30, schrieb dku...@ccilindia.co.in:
Dear All,
JDBC-ORACLE CONNECTIVITY ISSUE WITYH OCI8 DRIVER using oracle 11g client..
I am getting below error when i m trying to access oracle db using oracle
11g client. It works with earlier oracle client versions. how do i resolve
this. is
Hi folks,
I recently enabled a QueryTimeoutInterceptor with queryTimeout of 60 seconds in
a JDBC Pool data source (7.0.37). When the app was shut down, Tomcat said: "The
web application [/...] appears to have started a thread named
[OracleTimeoutPollingThread] but has failed to stop it..."
We
> Von: "Mark Thomas"
> On 07/05/2013 09:16, Michael-O wrote:
> > Hi folks,
> >
> > I recently enabled a QueryTimeoutInterceptor with queryTimeout of 60
> > seconds in a JDBC Pool data source (7.0.37). When the app was shut down,
> > Tomcat sai
> Von: "Mark Thomas"
> On 07/05/2013 10:25, Michael-O wrote:
> >
> >> Von: "Mark Thomas" On 07/05/2013 09:16,
> >> Michael-O wrote:
> >>> Hi folks,
> >>>
> >>> I recently enabled a QueryTimeoutInterceptor w
> Von: "Mark Thomas"
> On 07/05/2013 10:25, Michael-O wrote:
> >
> >> Von: "Mark Thomas" On 07/05/2013 09:16,
> >> Michael-O wrote:
> >>> Hi folks,
> >>>
> >>> I recently enabled a QueryTimeoutInterceptor w
Hello Christopher,
Am 2013-05-07 17:20, schrieb Christopher Schultz:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Michael,
On 5/7/13 6:43 AM, Michael-O wrote:
Von: "Mark Thomas" On 07/05/2013 10:25,
Michael-O wrote:
Von: "Mark Thomas" On 07/05/2013 09:16,
Michae
Hi,
I recently have started using the SlowQueryReport to tackle performance issues.
The log message, unfortunately, does not contain the parameters passed to the
prepared statements. Though AbstractQueryReport receives this information in
protected String report*Query(String query, Object[] arg
Am 2013-05-08 14:08, schrieb Nick Williams:
On May 8, 2013, at 6:54 AM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256
Michael,
On 5/8/13 3:01 AM, Michael-O wrote:
I recently have started using the SlowQueryReport to tackle
performance issues. The log message
Am 2013-05-08 14:38, schrieb Christopher Schultz:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Nick,
On 5/8/13 8:08 AM, Nick Williams wrote:
On May 8, 2013, at 6:54 AM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256
Michael,
On 5/8/13 3:01 AM, Michael-O
Christopher,
Am 2013-05-08 13:54, schrieb Christopher Schultz:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Michael,
On 5/8/13 3:01 AM, Michael-O wrote:
I recently have started using the SlowQueryReport to tackle
performance issues. The log message, unfortunately, does not
contain the
Am 2013-05-08 19:42, schrieb Christopher Schultz:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Michael,
On 5/8/13 1:14 PM, Michael-O wrote:
Christopher,
Am 2013-05-08 13:54, schrieb Christopher Schultz:
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256
Michael,
On 5/8/13 3:01 AM, Michael
Hi folks,
I have modified the ErrorReportValve's messages outside of the one-byte range
and the output got mangled. The response does not contain a char encoding
anymore.
I know that the error valve does this:
response.setContentType("text/html");
response.setCharacterEncoding("utf-8");
but t
Hi Christopher,
> Von: "Christopher Schultz"
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Micheal,
>
> On 5/15/13 3:46 AM, Michael-O wrote:
> > I have modified the ErrorReportValve's messages outside of the
> > one-byte range a
Hi folks,
there's now a follow-up on the issue [1].
Recap: JreMemoryLeakPreventionListener reported that my webapp has spawned
OracleTimeoutPollingThread because I have set a QueryTimeout in the JDBC Pool.
Mark Thomas noted that this is likely a bug in the driver. I have taken action
and created
Listener and Tomcat's JDBC Pool and
> OracleTimeoutPollingThread
>
> On 17/05/2013 09:28, Michael-O wrote:
> > Hi folks,
> >
> > there's now a follow-up on the issue [1].
> > Recap: JreMemoryLeakPreventionListener reported that my webapp has spawned
> > OracleTimeoutPo
> Gesendet: Freitag, 17. Mai 2013 um 14:26 Uhr
> Von: "Mark Thomas"
>
> On 17/05/2013 12:31, Michael-O wrote:
> > Hi Mark,
> >
> > thanks again for the detailed answer, details inline.
> >
> >> Gesendet: Freitag, 17. Mai 2013 um 11:36 U
C Pool and
> > OracleTimeoutPollingThread
> >
> > On 17/05/2013 12:31, Michael-O wrote:
> > > Hi Mark,
> > >
> > > thanks again for the detailed answer, details inline.
> > >
> > >> Gesendet: Freitag, 17. Mai 2013 um 11:36 Uhr
> >
Am 2013-05-15 16:35, schrieb Christopher Schultz:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Micheal,
On 5/15/13 3:46 AM, Michael-O wrote:
I have modified the ErrorReportValve's messages outside of the
one-byte range and the output got mangled. The response does not
contain a
Am 2013-05-17 14:26, schrieb Mark Thomas:
On 17/05/2013 12:31, Michael-O wrote:
Hi Mark,
thanks again for the detailed answer, details inline.
Gesendet: Freitag, 17. Mai 2013 um 11:36 Uhr
Von: "Mark Thomas"
An: "Tomcat Users List"
Betreff: Re: Follow-up: Possibl
Am 2013-05-21 20:38, schrieb Mark Thomas:
Seems like they understood the problem. But I do doubt that this is a
fixed size moemory leak.
I think the point they are trying to make is that it is only the first
instance of the web application to be unloaded that will be pinned in
memory. Subsequen
Am 2013-05-21 20:38, schrieb Mark Thomas:
On 21/05/2013 19:01, Michael-O wrote:
Mark,
I did receive an answer to the issue, citing your findings.
See verbatim copy below:
Hi Michael,
I received the following update from our developer
Am 2013-06-04 00:40, schrieb Jeffrey Janner:
[..]
For those who might be interested, here are the two header sets returned:
Without SSLAuthenticator:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Pragma: No-cache
Cache-Control: no-cache
Expires: Wed, 31 Dec 1969 18:00:00 CST
Content-Disposition: att
Am 2013-07-24 19:22, schrieb Aryeh Friedman:
I have a number of documents that are very template like and ideal for
JSP that are 1) not intended for the web and 2) need to be
automatically batch processed (the output stored in output files).
How do I call the JSP processor from them command line?
Am 2013-07-31 07:11, schrieb TRAN Trung Thanh:
Hi all,
I am newbie here.
Today, I tried to start apache tomcat 7.0.42 in Linux environment.
Server path contains two consecutive spaces. When I run ./catalina.sh
run, server cannot start and there is the following exception in console
./catalina.sh
Am 2013-08-01 15:41, schrieb Jeffrey Janner:
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: Wednesday, July 31, 2013 12:27 PM
To: Tomcat Users List
Subject: Re: Cannot start apache tomcat 7.0 if server path contains two
consecutive spaces.
TRAN Trung Thanh wrote:
Am 2013-08-01 22:59, schrieb Mark Thomas:
If you'd like early sight of Tomcat 8 and an opportunity to contribute
to Tomcat development, the release vote has now opened for the first
Tomcat 8 release candidate.
Features include:
-[...]
- Update to DBCP2 (now includes JMX monitoring)
Am 2013-08-02 11:43, schrieb Mark Thomas:
Michael-O <1983-01...@gmx.net> wrote:
Am 2013-08-01 22:59, schrieb Mark Thomas:
If you'd like early sight of Tomcat 8 and an opportunity to
contribute
to Tomcat development, the release vote has now opened for the first
Tomcat 8 releas
Am 2013-08-02 21:24, schrieb mw...@loftware.com:
I expect that by putting the SQL Server JDBC4 driver jar
(sqljdbc4.jar) into ${CATALINA_HOME}/lib, that the driver would be
automatically available upon server start. As expected, this works
in 6.0.33, but fails in 6.0.35. It seems that the fix t
Am 2013-08-02 21:26, schrieb Caldarale, Charles R:
From: Michael-O [mailto:1983-01...@gmx.net] Subject: Re: Apache
Tomcat 8.0.0-RC1 release vote started
According to Apache's JIRA DBCP2 is still in the works whereas
Tomcat JDBC Pool already works quite well. If so, I would favor the
Am 2013-08-06 17:48, schrieb Mark Thomas:
The Apache Tomcat team announces the immediate availability of Apache
Tomcat 8.0.0-RC1 (alpha).
[..]
The purpose of this release candidate is to give users an opportunity to
test Tomcat 8 and provide feedback to the Tomcat community. It has been
given an
Am 2013-08-22 17:48, schrieb Konstantin Kolinko:
2013/8/22 Daniel Mikusa :
On Aug 21, 2013, at 4:09 PM, David kerber wrote:
Basically you're trying to defeat the way the system is designed to work.
Don't do that…
+1 Don't do what you've described unless you have a very good reason. It wi
Am 2013-08-22 21:40, schrieb Caldarale, Charles R:
From: Michael-O [mailto:1983-01...@gmx.net]
Subject: Re: Having trouble with common.loader
IF you want to decouple libraries from your war, add them to your
webapp's classpath, by configuring a VirtualWebappLoader ,
http://tomcat.apach
Am 2013-08-24 18:10, schrieb Jesse Barnum:
I am trying to use SSL with Tomcat and an APR connector. This is
hosted on Ubuntu 13.04. I can make changes to the server, but not to
the existing Java client.
For some reason, whenever a Java 6 client connects to the Tomcat
server using SSL, it is not
Am 2013-08-25 14:21, schrieb Jesse Barnum:
How come Java 6 can connect to SSL running on Apache without this
setting, but not to Tomcat running APR/SSL?
On Aug 24, 2013, at 12:15 PM, Michael-O <1983-01...@gmx.net> wrote:
I had this problem months ago too. APR Connector ist fine. The
p
Am 2013-09-08 14:15, schrieb Marc Boorshtein:
I'm trying to figure out how I can create custom session cookies. I've
found the Manager interface for creating the sessions, but there's nothing
about the actual session cookie. I don't see anything in the Valve
interface that will let me do this e
Am 2013-09-08 16:34, schrieb Marc Boorshtein:
I need to be more dynamic. I need to be able to setthe session name and
domain based on the url.
On Sep 8, 2013 9:12 AM, "Michael-O" <1983-01...@gmx.net> wrote:
1. Do *not* top-post!
2. Session name? You obviously mean session /co
Am 2013-09-18 11:04, schrieb Joy Obba:
Hello Team,
Some security issues were raised by our audit team and these issues were
forwarded to secur...@apache.org.
We got a response from Mark Thomas from the Security team
Theses issues are listed below:
1. Banner Disclosure
We observed that the
Am 2013-10-08 10:39, schrieb Chawla, Rachit:
Hi All,
I am struggling on SSO configuration using SPENGO mechanism on Tomcat 7.0.42
but not able to get it working. We tried on 7.0.29 version too. Since I get
Login Successful in logs, I assume Kerberos login was successful. Its
SpnegoAuthentica
Am 2013-10-09 17:28, schrieb Chawla, Rachit:
Hi All,
I am struggling on SSO configuration using SPENGO mechanism on Tomcat 7.0.42
but not able to get it working. We tried on 7.0.29 version too. Since I get
Login Successful in logs, I assume Kerberos login was successful. Its
SpnegoAuthent
Am 2013-10-16 14:11, schrieb Hyve Info:
HI Daniel,
Yes I have created an account, my user is "Jon Lucas"
We are a hosting company and have been hosting Tomcat applications in our
data center for clients globally since 2001. We live and breathe Tomcat.
Here is our page:
http://www.hyve.com/cloud
73 matches
Mail list logo