Category Archives: Java

Eclipse error: Java was started but returned error code=13

You need to add the following line before “-vmargs” parameter in “\eclipse\eclipse.ini” file, additionally make sure eclipse and java architecture are same, i.e both are 32 or 64 bit. … –launcher.appendVmargs -vm C:\Program Files\Java\jdk1.8.0_40\bin\javaw.exe -vmargs -Dosgi.requiredJavaVersion=1.7 … Advertisements

Posted in Eclipse, Java | Tagged ,

Health Center. No JVM detected on localhost on port 1972

Change in \AppServer\java\jre\lib\healthcenter.properties From com.ibm.java.diagnostics.healthcenter.agent.transport=iiop To com.ibm.java.diagnostics.healthcenter.agent.transport=jrmp References: https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014635281 http://pic.dhe.ibm.com/infocenter/isa/v4r1m0/index.jsp?topic=%2Fcom.ibm.java.diagnostics.healthcenter.doc%2Ftopics%2Finstallingagent.html  

Posted in Java, websphere, WebSphere Portal | Tagged

Asynchronous request dispatching

Allow Asynchronous Request Dispatching will enable enable the asynchronous request dispatcher (ARD), which enables servlets and JSP pages to make standard include calls concurrently on separate threads. Additionally, the initiation and the insertion of the include contents can be separated so that … Continue reading

Posted in Java, WAS

IBM Rational Clear Case (UCM) basic concepts

SCM : Software Configuration Management is about managing change to software UCM : Unified Change Management is IBM’s solution for managing change across the development lifecycle using Rational brand tools. UCM integrates a project’s activities with the software artifacts being changed through a defined, … Continue reading

Posted in Java, programming, Rational | Tagged , , ,

Opening JSP in the Page Designer causes java.lang.StackOverflowError error in RAD

I tried to open a JSP file in RAD7.5 and I got java.lang.StackOverflowError! RAD shutdown after this error and was throwing the same error while starting up. I did not want to make any change in JSP so my only goal was … Continue reading

Posted in Java, RAD | Leave a comment

Connection leak diagnostics in WebSphere Application Server

– Poorly written applications often do not properly release database connections. Forget to call connection.close(). Most often in the exception case. Connections should be closed in a finally{} block. – Orphaned connections only return to the pool after timeout. Can … Continue reading

Posted in Java, WebSphere Application Server | Tagged , | Leave a comment

Analyze javacore files – hung thread detection in WebSphere Application Server

Javacore: A javacore is a small diagnostic text file that is produced by the JVM. It contains a lot of vital information about the running JVM process. It provides a snapshot of all the running threads, their stack traces and … Continue reading

Posted in Java, WebSphere Application Server | Tagged , | Leave a comment