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
  • Disabling JavaScript Validation in Eclipse Helios 3.6.1
    02/23/2011 3:53PM

    The Helios JavaScript validator does not seem to like the jquery-1.5.min.js (or for that matter a number of other know good js libraries).? As a result Eclipse complains a lot when building a project.

    The quick fix that I found was to disable JavaScript validation under the Builder preferences, for your project:


    Simply, uncheck the "JavaScript Validator" and you should be all set.

  • Simple Network Speed Command Line Test for Linux
    02/21/2011 2:02PM

    Let's say that all that you have access to is the command line on a Linux box and you want to know what the network throughput is.? If you have another Linux box you can use netcat to do a quick test:

    On box a:? Set up netcat to listen to a given port:

    nc -l 12345 > /dev/null

    Fire up netcat to listen on port 12345 and to dump the output to /dev/null.

    On box b:? Send data via netcat to the listening machine:

    dd if=/dev/zero bs=16000 count=50000 | nc -v boxa 12345

    This will use dd to generate a 'file' with 50000 blocks that are 16000 bytes in size and invoke netcat in verbose mode.? When invoked you will get something like:

    Connection to boxa 12345 port [tcp/*] succeeded!
    50000+0 records in
    50000+0 records out
    800000000 bytes (800 MB) copied, 6.85282 seconds, 117 MB/s

  • Installing Java SE Source Files and Linking to Eclipse on CentOS 5
    02/13/2011 10:19PM

    ?When I first set up a developoment VM with CentOS I must have forgotten to install the Java source because I could not navigate to Java SE method declarations in my Eclipse IDE.

    To have access to the Java source I did the following:

    • yum install java-1.6.0-openjdk-src
    • A src.zip file was placed in:
    • /usr/lib/jvm/java-1.6.0-openjdk-
    I created a src dir in the aforementioned containing dir and unpacked the zip I then linked to the source from Eclipse by: Right-clicking on some java.lang.* method in a class and selecting "view source" Originally it presented me with a view of the .class file Clicking on the Add Source button, I navigated to the /usr/lib/jvm/java-1.6.0-openjdk- dir
  • 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.?
Advanced Search