Common classloader (ClassNotFoundException) issues in WebSphere Application Server

JNDI lookup for a WebSphere application server resource could be tricky due to lots of client jar being required. Below are few common exceptions you might run into during JNDI lookup from an external java client.   1. Caused by: java.lang.ClassNotFoundException: com.ibm.websphere.naming.WsnInitialContextFactory Remedy:  Make sure you place “Naming.jar” in the

Continue reading »

Troubleshooting classloader issues with WebSphere

What is a Classloader: ClassLoader is the central entity of Java Virtual Machine. It is responsible for loading the classes into the JVM. The ClassLoader class uses a delegation model to search for classes and resources. Each instance of ClassLoader has an associated parent class loader. When requested to find a class or resource,

Continue reading »