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 »

Websphere Application Server configuration with LDAP Server

 Security is a critical aspect of any distributed application model. Most of the firms have a centralized repository of the users in LDAP servers like Active Directory, Novell LDAP. This post illustrates how you can configure authentication to the WebSphere Application server using an Open DS LDAP  commonly reffered as

Continue reading »

JBoss EAP Training Presentation

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 »

Weblogic Thread Dumps

There could be scenarios like Server Hang, Crashes, Performance delays where you might need to capture Weblogic Thread Dumps for further analysis. Thread dumps provide a snapshot of the current active threads. It provides the stack trace of all the java threads in the JVM. There are different ways to

Continue reading »

All Server States using WLST

This is an extension to my earlier post which gives the runtime attributes about the alive servers. http://weblogic-wonders.com/weblogic/2011/03/16/weblogic-server-runtime-using-wlst/ However there could be scenarios where you might want to keep a track of all the server states like RUNNING, SHUTDOWN  etc  in the domain. The below WLST script provides a list

Continue reading »

Weblogic SSL configuration with Custom Identity and Custom Trust

These days the enterprise applications have grown more complex and boast a great deal of sensitive and critical data online. Cyber security has become more than important these days to secure the data. Secure Sockets Layer plays a pivotal role in how a sensitive data can be protected, accessed over

Continue reading »

Securing WebServices using Username / Password mechanism

Security is an important aspect of your application design. When the web services are deployed and accessed, you might like to restrict its accesses to particular set of users/ groups or any users of a particular role. Hence we specify the policies for the application  webservice in this case at

Continue reading »

Creating stand alone WebService Client from WSDL

The below post provides an implementation of a Java stand alone client for a sample Java WebService.  All you need to know is the URL to its public contract file, or WSDL. Per-Requisites: A WSDL file, describing the WebService deployed on the Server. You can refer the below link to

Continue reading »

WebService by Bottom Up approach using ant script

The JAX-WS allows you to implement a simple java class as a webservice by exposing its public methods as webservice operations. There are two programming approaches to develop a WebService.   1. Code-First This is a bottom-up, implementation-first strategy where we write the Java class and the data POJOs representing the

Continue reading »