Feeds:
Posts
Comments

Archive for February, 2008

Topics: Servlets, Open Office Development

Recently I worked on incorporating an existing, working Open Office 2.3 based solution into a Java servlet, Tomcat 6.0.1.4. Everything worked fine until I dropped the bootstrapping code into a session bean, and then I got the dreaded “No office executable found” error. It happened when I tried to start up Open Office in the servlet using the com.sun.star.comp.helper.Bootstrap.bootstrap() method. Evidently I’m not alone, as there are any number of threads on this error at the Open Office community forums. Most of these threads are very helpful to read, but one of the frequent responders recently did a great job of distilling the knowledge there into a jar file solution that can be included right in your web-app’s classpath. It fixed the problem I was having right away.

An excellent solution to “No office executable found”

If you find it useful, please go there and leave a thank-you!

Advertisements

Read Full Post »

Out of the Mouths of Babes

Two recent classics:

——–

Mommy to Gracie: “We can’t have a cat because Daddy is allergic to cats.”

Gracie to Mommy: “When Daddy dies, can we get a cat?”

———

Daddy to Gracie: “There are no more dinosaurs.  They all died long ago, and their bones are in museums.”

Gracie to Mommy: “When papa dies, are they going to put his bones in a museum?”

———

I know Gracie’s going to read this someday, so I’ll say right now: I forgive you (Ha ha ;-)

Really though, keep in mind, she is four years old now.  This is how kids learn, incrementally drawing connections between concepts as they come up in conversation.  Yet I am often surprised by the reactions I get when I tell other people these stories.  The last one above in particular had me laughing so hard when my wife called to tell me on the phone that I had to tell my coworkers in the neighboring cubicles, and two of them were disturbed. Come on, she’s FOUR!  This is how you learn.  And it’s hilarious to boot!  Was it beyond the pale of office etiquette to discuss?

My Uncle Joe  observed during our trip to California last year that my wife and I generally do not talk dumb to Gracie.  We take pains to explain unfamiliar words when they come up and we usually don’t change subjects in front of her.   And Gracie is a chatterbox and a half, and she reliably absorbs all of the language she hears.  She is very adept at drawing connections.  Nonetheless, the permanence of death is one concept that we’re not going into until she gets a little older.

Oh, and when I die, go ahead and put my bones in a museum and get all the cats you want, what the hell do I care?  In fact, I think I’ll put that in my will.

Read Full Post »