Websphere Archive

WebSphere Application Server Interview Q’s(FAQ)

Hi All,

Below are the few interview Question in WebSphere:

1. How to choose websphere over other application servers?

2. What is the difference between web server and application server?

3. How to check a particular port is working or not in unix?

4. What are the issues commonly seen while installling the WebSphere Application Server

5. What is generic server cluster and how do you allow to configure standalone servers??

6. What is the difference between Dmgr and AppServer profile

7. Compared to custom and AppServer profile which is the best profile and why??

8. How to change a port no. using wsadmin?

9. What do you mean by Gloabl Security and how to enable it??

10. What are the different types of log files?

11. How do you take back ups in WAS

12. What is meant by SSL certificate and how do we renew them?? What is the defualt key store location for WAS

13. What are the different kinds of sync operations and How do you disable auto sync

14. Explain JNDI in WAS

15. How do you make WAS run as a service and why

16. How do you disable security for Deployment manager without logging into the console

17. What are the steps you will follow while installing a fix pack? How do you trouble shoot fixpack installation falied?

18. How do you recover the admin console password is lost?

19. what is class loader? how many types of class loaders are there?

20. when you are logged into dmgr admin console, if you click any option, it is showing 500 internal error, what could be the problem and how do you trouble shoot ?

21. What are the two basic steps that admin have to do after deploying the application & before running the application?

22. If the app server crashes in the middle of application deployment, wht could be the reason and wht steps we have to follow?

23. Compare the WAS process server & WAS portal server and WAS application server?

24. What Development Environment(s) are available to develop applications for WebSphere?

25. With Java2Security enabled on WebSphere Application Server, and you are performing an Enterprise Application deployment, what security file is open during deployment?

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 classpath

Location:   WEBSPHERE_HOME\deploytool\itp\plugins\com.ibm.websphere.v7_7.0.0.v20080817\wasJars


2. Caused by: java.lang.ClassNotFoundException: com.ibm.ejs.ras.Tr

Remedy:  Make sure you place “Ras.jar” in the classpath

Location : WEBSPHERE_HOME\deploytool\itp\plugins\com.ibm.websphere.webservice.rt.v5.1.1_6.1.1.v200808141532\lib


3. Caused by: java.lang.ClassNotFoundException: com.ibm.ws.exception.WsException

Remedy:  Make sure you place “wsexception.jar” in the classpath

Location: WEBSPHERE_HOME\deploytool\itp\plugins\com.ibm.websphere.webservice.rt.v5.1.1_6.1.1.v200808141532\lib


4. Caused by: java.lang.ClassNotFoundException: com.ibm.ws.bootstrap.RASWsLoggerFacTory

Remedy:  Make sure you place “Bootstrap.jar” in the classpath

Location:  WEBSPHERE_HOME \lib


5. Caused by: java.lang.ClassNotFoundException: org.eclipse.hyades.logging.events.cbe.impl.EventFactoryContext

Remedy:  Make sure you place “com.ibm.jaxws.thinclient_7.0.0.jar” in the classpath

Location:  WEBSPHERE_HOME \runtimes


6. Exception in thread “main” javax.naming.ConfigurationException: The property com.ibm.ws.naming.wsn.factory.initial is not set or is not a string.  The most likely cause is that the jar which contains the file com/ibm/websphere/naming/jndiprovider.properties cannot be found by  the class loader.

at com.ibm.websphere.naming.WsnInitialContextFactory.initClass(WsnInitialContextFactory.java:145)

Remedy :  Make sure you place “namingclient.jar” in the classpath

Location: WEBSPHERE_HOME\deploytool\itp\plugins\com.ibm.websphere.v7_7.0.0.v20080817\wasJars


7. Caused by: java.lang.ClassNotFoundException: com.ibm.CORBA.iiop.ORB

Remedy :  Make sure you place “Ibmorb.jar” in the classpath

Location:  WEBSPHERE_HOME\java\jre\lib


For further troubleshooting classloader issues, please refer the below post:




Wonders Team 🙂


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 WebSphere LDAP configuration.

Open DS is a freeware and can be downloaded from the below site.


Steps to configure:

1.       Setting up the global security.

Global security configuration applies to the security policy for all administrative functions and is used as a default security policy for user applications. Security domains can be defined to override and customize the security policies for user applications.

Login to WebSphere 7 admin console, navigate to Security –> Global Security.


Global security settings

Global security settings

2.       Enable administrative security option.

3.       Configure user account repository.

Select “Standalone LDAP Registry” from the drop down of “User Account Repositoryà configure

4.       Define the LDAP configuration details in the next page.

Specify the below properties.

Primary administrative user name:  Specifies the name of a user with administrative privileges that is defined in your custom user registry

Type of LDAP Server: Since we are using Open DS for the illustration, select ‘Custom’ from the drop down.



Click on “Test Connection” button to check the ldap configuration settings. Save the changes

5.       Modify the Advanced LDAP User Registry Settings.

Define the User Filter to use (objectclass=inetOrgPerson), since it resonates to the LDAP user registry objectclass settings.

6.       Set the LDAP registry as Current realm definition.


7.       Restart the WebSphere Application server.

8.       Login into the admin console using the operator from the LDAP Server.


For further reading:




Wonders Team