Welcome to my website. I am always posting links to photo albums, art, technology and other creations. Everything that you will see on my numerous personal sites is powered by the formVistaTM Website Management Engine.


  • Subscribe to this RSS Feed
  • Installing JBoss AS 6 Tools in Eclipse Helios
    02/13/2011 10:11PM
    • Go to Help > Install New Software
    • Set Work with to http://download.jboss.org/jbosstools/updates/development/
    • In the results, unfold "All JBoss Tools" and check JBoss AS Tools.? When last I checked the description indicates only 4.x and 5.x for JBoss, but it does include JBoss AS 6 Tools
    • Next, etc, Finish.
    When I then ran through the Eclipse add server wizard the 6.0 version of JBoss AS was available.

  • Including libraries in WAR files in Eclipse
    02/11/2011 10:32AM

    By default, the newer versions of Eclipse do not include the libraries that you add to the build path in .war files.? There are three approaches to solving this problem:

    • Declare your libraries/jar files to be module dependencies for your war file; essentially forcing Eclipse fo treat the lib the same way it would a dependent project.? I found a web page describing how to do this for an older version of Eclipse and couldn't readily figure out how to do it with Helios.? This one is an excersize for the reader.
    • Add the library to your directory of shared libraries on your app server.
    • Either copy, or symlink the jar files directly into your WEB-INF/lib directory on your file system and then do a refresh for your project in Eclipse.?
  • Disabling Autodeploy in Eclipse for Web and JavaEE Projects
    02/11/2011 10:10AM

    In some cases it is helpful to have your Java project automatically built and deployed for you by Eclipse.? For me, when working on a dynamic web or JavaEE project I'd much rather run it on the server through the IDE manually, as I tend to save often and I end up having to wait for a previous deployment to finish on a regular basis.

    To disable the feature:

    • Go to: Window/Show View/Servers
    • Double-click on the server that you associated with Eclipse
    • On the right-hand side, should be a collapsed menu titled "Publishing"
    • Expand the menu and you will see the radio buttons with the various auto-deploy options.

    You will need to shutdown the server before you can save the change.

  • Linux Daemons and Services List
    02/08/2011 9:08AM

    A couple of links with lists of the default set of Linux daemons installed on most systems. Helpful to know which ones that you need to disable when locking down a machine.



  • Deleting a File Using the Inode Number
    01/21/2011 10:18AM
    Sometimes you will accidentally create a file that has special characters in the file name which then prevents you from running commands on it.  In that case, you can resort to accessing the file via it's inode number.

    To do so:

    $ ls -il | more

    In the directory in which the file that you want to examine resides

    This will output a list of files, the first column being the inode number.

    You can then run the following command to delete it, where 123456789 is the inode number:

    $ find . -inum 123456789 -exec rm -i {} \;

    Of course, you can -exec other commands to modify the file as well.

Advanced Search