Captain Debug's Blog

Java tips, observations, bugs and problems from the world of Spring, Weblogic, Oracle, MySQL and many other technologies...

Blogs on Investigating Deadlocks

  1. Creating code that deadlocks.
  2. Obtaining a thread dump.
  3. Analysing a thread dump.
  4. Fixing the deadlocked code with Lock ordering
  5. Fixing the deadlocked code with ReentrantLock and the tryLock(...) Method

No comments:

Post a Comment

Home
Subscribe to: Posts (Atom)

Search

Loading...

About Me

My Photo
Roger Hughes
My Linkedin profile
View my complete profile

Followers

Useful Pages

  • Home
  • Spring 3.2 Blogs
  • Spring 3.1 Blogs
  • Blogs on Testing Techniques
  • Approaches to XML
  • Blogs on Exception Handling with Spring
  • Spring Social and Other OAuth Blogs
  • Blogs on Investigating Deadlocks
  • Blogs Dealing With Null Return Values
  • Read the blog in Portuguese
  • Why Captain Debug?

Blog Archive

  • ►  2013 (20)
    • ►  May (3)
    • ►  April (5)
    • ►  March (5)
    • ►  February (3)
    • ►  January (4)
  • ▼  2012 (58)
    • ►  December (1)
    • ▼  November (4)
      • Ten Things You Can Do With Spring Security
      • CaptainDebug Wins an Award
      • Is Programming the Art of Making the Right Decisio...
      • Investigating Deadlocks – Part 5: Using Explicit L...
    • ►  October (6)
    • ►  September (5)
    • ►  August (2)
    • ►  July (4)
    • ►  June (5)
    • ►  May (3)
    • ►  April (3)
    • ►  March (8)
    • ►  February (8)
    • ►  January (9)
  • ►  2011 (287)
    • ►  December (10)
    • ►  November (11)
    • ►  October (14)
    • ►  September (21)
    • ►  August (23)
    • ►  July (27)
    • ►  June (30)
    • ►  May (31)
    • ►  April (30)
    • ►  March (31)
    • ►  February (27)
    • ►  January (32)

Translate

This Month's Popular Posts

  • Spring MVC, Ajax and JSON Part 1 - Setting The Scene
    I've been thinking about writing a blog on Spring, Ajax and JSON for a good while, but I've never got around to it. This was mainly ...
  • Accessing Request Parameters using Spring 3 MVC
    One of the neat things you can do in Spring 3 MVC is to map request parameters into specific controller method input arguments. This is done...
  • Exception Handling with the Spring 3.2 @ControllerAdvice Annotation
    A short time ago, I wrote a blog outlining how I upgraded my Spring sample code to version 3.2 and demonstrating a few of the little 'go...
  • Spring 3.1: Caching and EhCache
    If you look around the web for examples of using Spring 3.1’s built in caching then you’ll usually bump into Spring’s SimpleCacheManager , w...
  • Misapplying JSR 303 Annotations
    One of the main things to remember when applying constraint annotations to your beans is that not every annotation can be applied to every d...
  • Spring MVC, Ajax and JSON Part 2 - The Server Side Code
    In my last blog I said that I was going to talk about Spring, Ajax and JSON, but didn't. The reason for this is that I wanted to set th...
  • Spring 3 MVC Exception Handlers
    The majority of the Spring 3 error handling sample code that I’ve come across only ever seems to give the simplest overview of its usage, ye...
  • Spring MVC, Ajax and JSON Part 3 - The Client Side Code
    If you’ve been following this short series of blogs on Spring, Ajax and JSON you’ll recall that I’ve got as far as creating a Spring MVC web...
  • Five Ways of Synchronising Multithreaded Integration Tests
    A few weeks ago I wrote a blog on synchronizing multithreaded integration tests, which was republished on DZone Javalobby from where it rec...
  • Using JSR-250’s @PostConstruct Annotation to Replace Spring's InitializingBean
    JSR-250 aka Common Annotations for the Java Platform was introduced as part of Java EE 5 an is usually used to annotated EJB3s. What’s not s...

Labels Cloud

.profile (1) ACID (1) Adaptor (1) Admin (1) Aggregation (3) Agile (10) Ajax (5) Annotations (57) Anti-Pattern (8) AOP (7) Apache Commons (3) Apple (4) ApplicationContext (3) Art (1) AspectJ (6) Autowired (2) Base64 (2) Blueprint (1) BMT (2) Book Review (1) Builds (1) cache (5) Caffeine (1) certification (30) change (1) charset (1) Classic Mistakes (5) ClassLoader (4) CMT (2) Collections (10) Comments (1) Concurrency (12) ConcurrentHashMap (1) ConcurrentSkipListMap (1) Configuration (7) ConnectionFactory (1) Constraint (6) ContextSingletonBeanFactoryLocator (3) Continuous Delivery (2) Continuous Integration (4) Convention (1) Convention over Configuration (2) Conversion (2) CRC Cards (1) CSS (1) Database (29) Datasource (1) Deadlock (5) Debug (7) DefaultListableBeanFactory (1) Delivery (2) Dependency Injection (13) Deployment (1) Design (7) devops (2) dos2unix (1) Durable Subscriber (2) EasyMock (5) eclipse (10) ehcache (1) EJB (12) encapsulation (2) Encryption (3) End to End Tests (3) Entity (1) Enum (3) environment (4) equals hashCode contract (2) equals() (2) ERD (1) Error (9) Exceptions (23) Facebook (5) Flash (1) flowplayer (1) Formatting (4) Free Pool (1) Gang Of Four (2) Generics (6) Git (1) GOF (2) Grant (1) Guava (2) hashCode() (2) HashMap (1) Hashtable (1) Hibernate (1) HTTPS (1) IdentityHashMap (1) immutable (3) Inheritance (2) init.d (1) initialcontext (1) Inner Class (2) Installation (7) Integration Tests (4) Interceptor (2) Interface (1) Iterator (5) Java (242) Java SE7 (1) JavaBeans (1) Javascript (7) JAXB (2) JCS (1) JDom (2) JMS (3) Join (2) JQuery (6) JSON (8) JSP (9) JSR 303 (11) JSTL (1) JUnit (22) Law of Demeter (1) LDAP (1) Leap Year (1) Legacy (1) Lifecycle (3) LinkedBlockingQueue (3) LinkedHashMap (1) Liskov (1) Locale (3) Log4j (2) m2eclipse (2) Mac (3) MacOS (1) Map (1) Maven (23) MDB (9) MethodInvokingFactoryBean (1) Mock (3) modulo (1) Motivation (7) Multi-Threading (10) MultiThreading (9) MultiThreading. (1) MVC (19) MySQL (8) Naming (5) NoClassDefFoundError (1) NoMachine (1) Null (2) NXServer (1) nyroModal (1) OAuth (5) Object Construction (1) Object Orientation (16) Objective-C (1) Observer (6) OO (19) Opensource (1) Optimisation (3) Oracle (19) Pattern (26) Performance (1) Perl (1) permGen (1) PL/SQL (5) POJB (1) POJO (1) Polymorphism (1) POM (4) PowerMock (5) Privileges (1) Process (1) Producer Consumer (3) Producer Consumer Pattern (3) Profiles (2) Properties (11) PropertyEditor (1) Refactoring (2) Reference Counting (1) Reflection (2) Remote (1) ResourceBundle (3) Rules (1) Run Level (1) Runtime (1) SaaS (3) SAX (1) Schema (5) Security (2) Serializable (2) shell script (3) Shutdown Hook (2) Single Responsibility Principal (SRP) (7) Singleton (1) Sitemesh (1) SLF4j (3) SOA (2) Social (2) Software as a Service (6) Solaris (4) SOLID (6) Specifications (5) Spotlight (1) Spring (99) Spring 3.1 (8) Spring 3.2 (5) Spring Lifecycle (2) Spring Security (2) Spring Social (7) SQL (7) SQL*Plus (1) SSL (1) State Machine (2) Strategy (3) String (5) StringBuilder (3) Struts (1) Stubs (1) Style (1) Subversion (4) SureAssert (2) SVN (2) Swing (2) Tag-Lib (1) TDD (3) Team Management (7) Tell Don't Ask (2) Template (1) Test Driven Development (10) Thread (3) Threading (13) Tiles (1) Time Machine (1) Tomcat (8) Tools (4) toString (1) Transactions (4) Twitter (4) UML (8) Unit Test (2) Unit Tests (19) Unitils (1) Unix (5) Upgrade (3) Validation (13) Validator (10) Visitor (1) Wall (1) WeakHashMap (2) Web Service (2) Weblogic (20) XML (22) XmlBeans (4) XP (1) XSD (4)

All Time Popular Posts

  • Accessing Request Parameters using Spring 3 MVC
    One of the neat things you can do in Spring 3 MVC is to map request parameters into specific controller method input arguments. This is done...
  • Spring 3 MVC Exception Handlers
    The majority of the Spring 3 error handling sample code that I’ve come across only ever seems to give the simplest overview of its usage, ye...
  • The Benefits Of Dependency Injection
    Dependency Injection is the way to go, so say the Guys at Spring, and who am I to argue with them, after all it sounds like a sensible idea....
  • Using Spring MVC’s @ModelAttribute Annotation
    The @ModelAttribute annotation is used as part of a Spring MVC web app and can be used in two scenarios. Firstly, it can be used to inject...
  • Using Spring Interceptors in your MVC Webapp
    I thought that it was time to take a look at Spring’s MVC interceptor mechanism, which has been around for a good number of years and is a r...
  • Using JSR-250’s @PostConstruct Annotation to Replace Spring's InitializingBean
    JSR-250 aka Common Annotations for the Java Platform was introduced as part of Java EE 5 an is usually used to annotated EJB3s. What’s not s...
  • Approaches to XML - Part 1 - XML is not a String...
    XML has been around a long time: from memory, I’d guess that it’s about 12-14 years old by now; it’s a mature product with, in computing ter...
  • Is ‘Convention Over Configuration’ Going Too Far?
    I’m all for convention over configuration, especially in frameworks such as Spring and I really like the idea that the Spring XML configurat...
  • Adding SLF4J to your Maven Project
    In yesterday’s blog, I documented the various bits of the Maven POM file created for a ‘Spring MVC Project’ using one of Spring’s project te...
  • Declarative Unit Testing: Is JUnit Obsolete?
    One of the pains in the bum with Test Driven Development is that if (or when) you change a class, you often spend a good deal of time patchi...
Captain Debug. Powered by Blogger.