Interview Q&A · questions with model answers

WebSphere Interview Questions

Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.

  1. Most asked Users see errors and the logs show J2CA0045E: connection not available. How do you investigate?

    J2CA0045E means a request waited the full connection timeout for a pooled database connection and none became free: the pool is exhausted. Find out why connections are held: slow queries, long…

  2. Most asked WSVR0605W hung thread warnings appear and the application stops responding. What do you do?

    WSVR0605W means a thread has been active longer than the hung-thread threshold (10 minutes by default). Collect javacores (thread dumps) a few times, 30 to 60 seconds apart, to see what the stuck…

  3. An application works in test but fails in production with NoSuchMethodError. What's happening?

    Almost always a class loading conflict: production has a different version of a library visible to the application than test does, often because the server, a shared library or another JAR in the…

  4. The server's memory grows after every application redeploy until it runs out of memory. Why?

    A class loader leak: something outside the application (a server thread, a static field in a shared library, a JDBC driver registered with DriverManager, a ThreadLocal on a pooled thread, an…

Was this page helpful?

Report a mistake