java.lang.OutOfMemoryError: Java heap space is an error (not an exception) which is thrown by the Java Virtual Machine (JVM) to indicate that it has run out of heap space. You are trying to create new object(s) but the amount of
How to add proxy settings in Eclipse
If you are using Eclipse on your office systems, you need to maintain the proxy server details in Eclipse. Otherwise, when you try to update/install plugins from the Internet, the process will timeout and throw an error. This blog describes
How to unlock Java locks in SAP Netweaver AS Java
This blog describes how to unlock Java locks in SAP Netweaver AS Java. Often a user while editing a Java object in SAP Netweaver AS, might accidentally close the browser window. In such a case, if the user logs-in again
How to install Wildfly in Eclipse
This blog describes how to install Wildfly in Eclipse development environment. Wildfly was formerly known as the JBoss Application Server. JBoss Application Server was originally developed and maintained by the company JBoss Inc. This company was acquired by Red Hat
Count active HTTP Sessions using HttpSessionListener
javax.servlet.http.HttpSessionListener is an interface which provides the implementing class a capability to keep track of HTTP Session life cycle events. In this post, I’ll demonstrate with the help of a demo project, how to count active HTTP Sessions using HttpSessionListener
How to create cookies in Java servlet
This blog describe how to create cookies in Java servlet. The Java project used as demo in this project has been created using Eclipse and deployed and run on JBoss application server. However, any other web container like Tomcat can
How to call Garbage Collector in Java
Memory management is the process of recognizing when allocated objects are no longer needed, deallocating (freeing) the memory used by such objects, and making it available for subsequent allocations. In Java, memory management is the responsibility of program called the
Enable debug in SAP Netweaver AS Java
If a Java application has to be debugged in SAP Netweaver Developer Studio, the SAP Netweaver Application Server should have the debug mode enabled. It can done by executing the following steps. Note The following information has been tested on