On 11 March 2015 at 04:43, Christopher Schultz wrote:
Basically, making a
> servlet threadsafe only requires you to avoid any non-threadsafe class
> members in the servlet itself...
>
Since we're tossing pennies, I've often wondered how the app-server
achieves the effect that any instance-level
On 6 February 2015 at 02:42, Brian wrote:
> Hi,
>
> I have a Restful service that receives a huge amount of HTTP requests per
> day. In some of these requests, Tomcat returns an HTTP 403 error status.
>
Your servlet does something which throws a java.lang.Security exception
(which is a runtime e
Seems like BMC have a lock-ordering problem leading to deadlock. What's it
got to do with Tomcat?
*David BullockMachaira Enterprises Pty Ltd*
PO Box 31
Canowindra NSW 2804
02 6344 1100
http://machaira.com.au/
On 30 October 2014 11:39, vbck wrote:
> "MidTier-ServerReaper-name.domain.com" -
NSA: "So, how much do you want to not actually *use* string ciphers with
perfect forward secrecy"?
Mozilla,Google,Opera,et-al: "Hey, that's a business model RIGHT THERE!
How much do you even have?"
NSA: "How about, not being put out of business permanently, family members
keeping up their low i
/org/apache/coyote/http11/Http11NioProcessor.java?r1=1478576&r2=1478714&diff_format=h
Reading the source code and the repository, it seems there has been a
*lot* of activity around this async stuff in the codebase, and you may
well get different test results with a more modern version of the
trunk.
chee
On 24 December 2013 07:58, Daniel Mikusa wrote:
> On Dec 19, 2013, at 8:08 PM, David Bullock
> wrote:
>
>> On 20 December 2013 04:10, Daniel Mikusa wrote:
> Unfortunately, once this problem starts to occur onWritePossible doesn't get
> called back.
> When I t
On 20 December 2013 04:10, Daniel Mikusa wrote:
> When run, you'll see that it processes some of the requests but fails due to
> a timeout. I've not been able to replicate the other exceptions with the
> unit test though, so those may be unrelated.
> @WebServlet(asyncSupported = true)
>
On 25 November 2013 23:27, Ognjen Blagojevic
wrote:
> What most users do is to copy the XML example, and paste it into
> tomcat-users.xml.
>
> I propose that 401 page for Manager be dynamically generated, so that
> instead of occurrences of example password "s3cret", it generates random
> passwor
Oh, and 'throw e;' at the end of the handler :-)
David Bullock
Machaira Enterprises Pty Ltd
PO Box 31
Canowindra NSW 2804
02 6344 1100
http://machaira.com.au/
On 21 November 2013 11:48, David Bullock wrote:
> Line 150 of org.apache.tomcat.jdbc.pool.FairBlockingQu
}
166}
167 return result;
168}
David Bullock
Machaira Enterprises Pty Ltd
PO Box 31
Canowindra NSW 2804
02 6344 1100
http://machaira.com.au/
On 21 November 2013 04:58, Christopher Schultz
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> Marko,
&g
Marko wrote:
> In that case debugging looks like the only option?
Nobody yet disputed:
> The 'leakiness' of the pool is actually in
> org.apache.tomcat.jdbc.pool.FairBlockingQueue#poll()
> If the line (!c.await(timeout, unit)) exits via an
> InterruptedException, the the 'exchangecountdownlatc
On 19 November 2013 14:59, Caldarale, Charles R
wrote:
>> From: David Bullock [mailto:david.bull...@machaira.com.au]
>> Subject: Re: Tomcat connection pool "bleeding" under heavy load
>
>> In PooledConnection#borrow(int,String,String) when handling
>> Inte
ying to acquire a connection
gets issued aWorkerThread.interrupt() for taking too long. So
adjusting some timeout settings (to make Tomcat more patient
than the connection pool) should give a workaround. DBCP had
a better grasp of what was going on when reporting this.
cheers,
David
David Bullock
configured in logging.properties.
cheers,
David.
*David Bullock
Machaira Enterprises Pty Ltd
*
PO Box 31
Canowindra NSW 2804
02 6344 1100
http://machaira.com.au/
On 23 October 2013 09:57, Richard Pierce wrote:
> The init() method of all of my servlets is being called every 10 seconds
> o
fication.
I did my bit recently at https://java.net/jira/browse/SERVLET_SPEC-81
cheers,
David Bullock
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
On 9 October 2013 23:33, Christopher Schultz
wrote:
> On 10/8/13 11:03 PM, David Bullock wrote:
> > Please answer at Stackoverflow, and I'll report the results back to
> > this list:
> >
> http://stackoverflow.com/questions/19261727/in-tomcat-juli-do-the-facilit
-general
mechanism for allowing a deployer (remember those things called 'roles'
from the EJB 1.0 spec, anyone?) to override configuration settings which
have unfortunately been embedded in the WAR file, I'd **love** to know
about it. I haven't spotted anything about this in the Tomcat doco so far.
thanks,
*David Bullock*
17 matches
Mail list logo