Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blogs by Community: Java Tools

• Adopt a JSR  • Embedded  • GlassFish  
• Global Education and Learning  • Identity Management  • IoT  
• Java Communications  • Java Desktop  • Java Enterprise  
• Java Patterns  • Java Tools  • Java User Groups  
• Java Web Services and XML  • JavaFX  • JCP  
• JDDAC  • Jini  • JXTA  
• Mac Java  • NetBeans  • Open JDK  
• Portlet  • Robotics  • Sun Grid  
• Sun RFID and Sensor  • [no association]  

Java Tools

Monitoring GlassFish HTTP service using VisualVM. GlassFish application server has some motniroting features which are exposed through its administration chanlles including Administration Console and asadmin utility. I disucssed some of these features here and in this we will see how we can use visualvm and its plugin as a desktop application to monitor GlassFish HTTP service. VisualVM is JDK...
on Mar 23, 2009
Here at my work, I take care of a 30-40 node Hudson cluster for our group. This is probably a relatively bigger Hudson cluster, but I know people out there do set up Hudson clusters of various sizes. Hudson cluster is used for doing builds, obviously, but I've been thinking it would be nice if this cluster becomes multi-purpose, because there are a lot of things we could do better if we have a...
on Mar 15, 2009
The Maven2 repository was set up about 2.5 years ago so that people hosting projects on can push artifacts to a Maven repository. This repository has grown in size to the point that it puts significant strain on the system. So to improve the situation, we are moving the location of the repository from
on Mar 9, 2009
When run on Unix, Hudson can now authenticate users through the operating system, by using its user database and group database. I noticed that many Unix deployment of Hudson chooses LDAP for the authentication, but the problem with LDAP is that there are too many things that you need to configure. You have to configure the root DN, you need to tweak the queries, and you often need to give you...
on Feb 27, 2009
Starting 1.281, Hudson can now launch itself as a proper Unix daemon. All you have to do is start Hudson as: $ java -jar hudson.war --daemon If you run this as root, it'll leave /var/run/ and record PID there. Unlike java -jar hudson.war &, this will detach the daemon from the shell properly, so it'll keep going even after you exit your shell. This is done by using akuma that I...
on Feb 10, 2009
One of the things I recently came across is the Linux kernel's unique ability to have a process-specific file system mount table. In Unix that I know of, a file system mount table is global to the entire system, but apparently, starting Linux 2.6.16, you can have multiple mount tables in the system. In a way, this is a kind of a virtualization technology, because two processes in the same system...
on Feb 8, 2009
Here at Sun, one of my job is to maintain our internal Hudson cluster of some 40 nodes. Among other things, a part of the administration task involves in setting up a new slave every so often, which means installing a new OS, configuring it, and adding it to the cluster. We need to support all kinds of different OSes, so that adds an interesting complexity to the mix. We've got a considerable...
on Feb 7, 2009
Eric Lefevre found a study of CI tools by Fontys University of Applied Sciences in Venlo, Netherlands. This is based on sending questions to volunteer participants and tabulating the results. With the usual caveat about the sampling size and geographic distribution of respondents, this paper found that the most commonly used CI tool today is Cruise Control (29 people), followed by Hudson (24...
on Feb 3, 2009
As explained in here, writing a proper daemon requires various function calls that are traditionally only available to native applications. So typically, Java applications rely on external wrappers like Apache commons daemon or Java service wrapper, or even worse, just ignore those conventions and do Runtime.exec. But this creates an unnecessary inconsistency between how you launch a program in...
on Jan 31, 2009
Several people reported to me that the artifacts they pushed to the Maven2 repository stopped appearing to the external servers. I'm happy to report that this problem is fixed now. This appears to be caused by a Subversion workspace corruption triggered by a disk full problem — disk problem was fixed earlier, but because of the workspace corruption didn't resolve itself, we ended...
on Jan 22, 2009
Starting Hudson 1.264, Hudson has an option of sending usage statistics. This was released 12/16 last year, so it's been about a month. So I run some data analysis over the data that's collected so far. First, data is filtered to eliminate one off installations that don't appear to be a long running installation. That is, I only counted installations that kept sending the usage data for more...
on Jan 21, 2009
So, I started some weeks ago to look at JavaFX. Well, I got an awesome message talking about a JavaFX course that will start on January 30th. For free! You can get more information at
on Jan 21, 2009
I'm one of the few people who are still using Apache commons Jelly actively. I use it as an HTML macro engine in tools like htmlmacro, I use it to render views in Hudson, and I still occasionally use Maven1 to build my old projects, which uses Jelly big time. One of the pain points of using Jelly is that there's no schema for tags, so you can't take advantages of the modern schema-aware IDEs...
on Jan 6, 2009
Vivek told me that Hudson is on the front page of JavaWorld.
on Dec 18, 2008
I've been playing with OpenSolaris lately, and I was finally able to build my own OpenSolaris LiveCD with Hudson, so this is the record of what/how I did it. There are two ways to read this post; if you are just interested in installing Hudson on a machine, real or virtual, then you can just download the ISO file, boot from the ISO, then run the installer. It will install OpenSolaris and Hudson...
on Dec 15, 2008
Two recent good news made my day. In a blog post titled "What Sun should do?", an analyst James Governor wrote: Get behind Hudson is a big way. Developers really like it. It just works. It makes managing your builds a relatively painless experience. It is even, dare I say it, "pretty" - at least that was the adjective Dan McWeeney from Adobe used for it when he demoed it to me. This being...
on Dec 11, 2008
So far I'm exploring the samples. Looks good!
on Dec 7, 2008
A handy book by Sun's Ruth Kusterer, 100 NetBeans IDE Tips & Tricks: Your Guide to Finding Your Way Around the NetBeans IDE!, is now available on Safari Books Online. The tips are divided into 14 categories: editing, navigation, projects, and so forth: well organized, illuminating, and helpful. Congratulations and hats off to Ruth.
on Dec 4, 2008
It's common for a Java project to compile with later versions of JDK than it minimally requires. For example, when Hudson runs on Java6 it takes advantages of those features, but it can also run on Java5 without those advanced features. The technique to do this is well understood. Here's one such code fragment taken from Hudson: try {    for (ThreadInfo ti : Functions....
on Nov 14, 2008
Working on a project based on NetBeans Platform, never thought I would discover many new technologies! Ant-Based Projects, NetBeans Build System For the past 1 week or so, I am trying to learn how to create a new project type based on the layout I decide. So, thought of going for Ant Based Project Type, asked the mailing lists. I was pointed to a document, here's an overview- "This guide...
on Nov 11, 2008