How To: Java Stack Trace in LinuxFebruary 24th, 2008 A simple tip for newbies - how to get Java stack trace, the invaluable tool to debug java programs, in Linux:
- Type the Ctrl key followed by \, in short Ctrl \. I just used it to debug a persistent problem where a server process which automatically fetches data from a third-party site was inexplicably hanging.
Debugging Java Software using NetBeans and Sun Java Studio Enterprise 7August 2nd, 2005 Debugging guidelines for NetBeans and Sun Java Studio Enterprise.
Debugging Tips for Applications Built With Sun Java Studio Enterprise 7
Debugging Java Software using NetBeans 3.6
Java Open Sourcing DetailsNovember 14th, 2006 Sun is slowly releasing its implementations of the Java platform. The components of the Java SE implementation that Sun is releasing initially are the Java programming-language compiler (javac) and the Java HotSpot virtual machine.
iText, must-have document conversion library, Version 1.3.3 ReleasedAugust 24th, 2005 iText is a java software library which contains API to generate documents in the Portable Document Format (PDF), XML, HTML and RTF. It can also parse XML documents and convert them into any of these formats.
Google Web Toolkit: A Brief ReviewMay 17th, 2006 Google has released GWT - a java window toolkit which converts your java applications (using the toolkit API) to javascript (incl. AJAX) and HTML.
How To Connect To OpenFire XMPP Server From Gaim / PidginAugust 17th, 2007 I faced quite some problems, to say the least, in configuring Pidgin / Gaim to connect to OpenFire XMPP Server on Fedora Core 6. Here are the detailed steps for a no-brainer configuration of Gaim for OpenFire:
1.
Java: How To Get Stacktrace of Any Local / Remote Java ProcessSeptember 23rd, 2008 You may run Java processes in the foreground or in many cases they may be run using cron jobs or during system startup, as background processes. How can you find out stacktraces of any running Java process? But first how can you even know their name & process id's?
How to find process id (pid) of all running Java processes?
The following command displays list of all running Java processes in your machine -
$JAVA_HOME/bin/jps
Note the process id of the process you want to get stacktrace as you will need it in the next step.
Java EE 5 (formerly J2EE 1.5) Unanimously Passes Public Review Ballot; Promises Ease of UseAugust 16th, 2005 Back to The POJO days and lots of goodies scheduled with Java Enterprise Edition 5.
Good article on understanding java.lang.ThreadLocalApril 24th, 2005 ThreadLocal allows you to have copy of variable per thread, which are subject to garbage collection when the thread goes away. IBM has an excellent article on understanding and using ThreadLocal.
The case for HSQLDB as RDBMS for Java DevelopmentMay 19th, 2007 HSQLD is a mature, high-performant database written in Java. It is used in several high profile popular commercial and open source products like Open Office 2.0 (Office productivity suite; competitor of MS Office), JBoss (Application Server), JFox (Application Server), Jonas (Application Server), Mathemetica, Hibernate (ORM), Jira (Defect Tracking), TrackStudio (Defect Tracking), C-JDBC (Database Clustering) etc.
Core Java: How To Get Java Source Code Line Number & File Name in CodeSeptember 8th, 2008 While debugging code Java programmers often use System.out.println(). It is important to write separate message in each System.out.println() so you can understand from the output where the problem lies.
ExtJS: Ext.LayoutDialog GotchasAugust 8th, 2007 After much debugging I realized that in creating dialogs using Ext.LayoutDialog class of ExtJS library we must specify the configuration for east, west, north and south properties, as required, in the LayoutDialog config (see below for more requirements, details and a working example). This should be done before you add the content panels to the layout of the dialog.
J2SE 5: New wine in new bottle with old corkMarch 15th, 2005 J2SE stands for Java 2 Standard Edition. The 2 stands for version 2 of the platform.
Understanding Java: Simplified Hello World for Socket ProgrammingApril 15th, 2006 In my experience much of the complexities a newcomer faces in the Java world is understanding extraneous stuff like handling exceptions or formatting data etc. Today I was requested for the nth time (n -> infinity) how to write a simple socket client and server (actually debug one).
How To Resolve Tomcat - Openfire Port ConflictNovember 13th, 2007 Openfire (Jabber/XMPP server) by default binds on port 8080 which is also used by Tomcat. This causes Tomcat to fail when openfire is started before it.
March 13th, 2009 at 8:50 pm
Hey, I am running into the same problem. How did you solve this?
-ben