Recent Posts

RSS Feeds

Motorcycles In The Mountains - Almost Heaven


Like I always say, this place is about as close to heaven as you can get without being dead...
We rode our motorcycles up this road to an old abandonded mine at the top of the hill, where we rode and jumped and played etc.
Here is Andrew climbing one of the hills

And here is Isaac doing a differnt hill.

We had a great afternoon!

Permalink     No Comments

The Duh! Department: Deploying Webapps on Tomcat From Build Directory


I just learned last night that you can deploy your webapp from anywhere on your hardisk with Tomcat. All you have to do is put a 'Foo.xml' file into the webapp directory of tomcat. The XML file needs to have the config for your app like this...

<Context path="/roller" docBase=".../roller/build/roller" debug="0">
other config info
</Context>


I'm doing some playing around (adding Cactus to the build) with the roller source (which is lot of fun BTW) and was trying to get the target that copies the webapp over to tomcat working, I thought to myself 'self there must be another way'. After looking around for 15 minutes I found the roller.xml file and ta-da an epiphany. Now all I have to do is build and invoke the catalina reload target in my ant file and roller is redeployed. Cool!

I posted a snipit of the build.xml file if your interested.

Anyway I hope this helps some other person that is new to Tomcat...

Permalink     1 Comment