Category Archive: Computers

Jun 09

Torquebox and Cygwin: Take I

Torquebox and Cygwin don’t work as nicely together as one might hope. That said, here are a couple of findings: In order to deploy, you need to set the $JBOSS_HOME with the Windows path.  You can do this via export JBOSS_PATH=cygpath -w PATH_TO_JBOSS. Additionally, the JRUBY_HOME needs to be a windows path as well.   Otherwise …

Continue reading »

Mar 02

Rails & JRuby in a Jar

This is a discussion of what I needed to do to put rails and JRuby together in a single jar.

Sep 01

Fractal Terrain Generation

Our map

I’ve been working on a wargaming library/framework off and on for over a year; along the way I’ve encountered a number of interesting problems to solve. This blog entry details one of them, fractal terrain generation.

Aug 25

Using jnp as a JBoss heartbeat

jnp is a JBoss protocol which exposes jndi.  It is, by default, bound to port 1099.  I’d been using that port as a heartbeat, but “cheating” — I would open a socket and then close it immediately.  However, this caused problems.  jnp is chatty.  And it got upset at my not letting it say ‘hi’ …

Continue reading »

Jul 29

JBoss port confusion

Sometimes, JBoss reports that it is unable to bind to a port, saying it is already in use. However, this is not always the case.

May 14

SSL Joys

The nice thing about standards is that there are so many of them to choose from. Andrew S. Tanenbaum I’ve been working with a Apache proxy to force SSL and https.  Well, I haven’t had any control over the certificates.  And they can come in so many versions, especially given that Microsoft wants to do …

Continue reading »

Feb 05

Web Based Portable mysql tool suite

Are you limited in what software you can use at work?  This article details how to have a web based tool suite for mysql.  It currently has the following tools: AjaxMyTop — a php implementation of mytop (think top for mysql) which runs in a browser. rbdb — a phpmyadmin work-alike in progress.  It’s the …

Continue reading »

Jan 23

Prawn’d by Scruffy, Gruff

I’ve been putting together an automated report for my team, and decided to give prawn and scruffy a try.  I ended up using Gruff, but here are some of the lessons along the way: Scruffy has issues with bar charts and values from 1-3 (actual values were [1,3,1]).  I was able to get around this …

Continue reading »

Jan 14

SSL and Java Keystores

If you happen to change a machine’s name, be sure to delete the previous definition from the keystore.  Otherwise it will complain mightily and, indeed, fail when you attempt to add in the pem file.

Dec 17

JBoss and Sesame Street’s Count

One, One database record! Two, Two database record! Muahahaha! By default, when using datasources with JBoss, it does a count to validate a connection, both on creation and when it is requested from the connection pool.  It looks something like: select count(*) from x Now, this can take take a while when working with tables …

Continue reading »

Older posts «

» Newer posts