Category Archive: gotchas

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.

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 »

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.

Nov 14

Concatenation Note to Self

To concatenate in PHP you use a ‘.’, not a ‘+’.  Likewise, you don’t use ‘.’ to reference an object’s members, you use ‘->’.  Move along, nothing to see.

Nov 12

DIY Maps and Linux Firefox/Flash Quirks

First off, let me say that I really like DIY Map. It’s quick, and responsive, with an easy to use interface, as well as allowing you to make changes on the fly easily. That said, I discovered lastnight / this morning that there are some quirks with its updating through the Flash JavaScript Integration Kit. …

Continue reading »

Nov 11

YUI Datasources

Been a while since I’ve written.  I’ve been sick and working on a side project.  That said, I’ll be writing more…… Today’s note/reminder is a gotcha about YUI datasources.  If you have JSON feeding the datasource and you’re getting back more fields in the results than you’re expecting, the datasource will not behave properly.  For …

Continue reading »

Sep 25

JBoss run.sh may be harmful

A coworker and I discovered an issue with jboss’ run.sh (which starts the app server).  The problem lies in different flavours of unix (or unix-like) shells returning different values for wait. The relevant code is:

This is all well and good in linux — redhat uses /bin/bash and ubuntu uses /bin/dash for /bin/sh — …

Continue reading »

Sep 12

Class is Class, and Instance, Instance, and never the twain shall meet

More about methods, it’s inspired/spurred by a comment on methods, public_methods, and private_methods by Pit Captain. It also corrects some misconceptions I had (and may have (wrongly) given others). I’ve added a new category, “eating crow” for this and any other postings where I step back and re-evaluate my posts. This is to keep me …

Continue reading »

Older posts «

» Newer posts