java

How to run two instances of Tomcat on your machine

I decided I wanted two Tomcats running on the same box, one for "live", and one for "dev".

I'm going to put these notes here, for me, so I can do it again if I stuff things up, and for other people. You can cut and paste these commands blindly, or do them one at a time.

I did this on a Ubuntu "Jaunty" server, with 6.0.18-0ubuntu6.1 installed. Your mileage may vary if you have a different distro/version.

Decisions I made:

  • I decided to call my dev one tomcat6dev.

Maidenhead

I have written a little Java app for mobile phones with GPS that will calculate the Maidenhead Locator Grid that you are in.
This system of identifying location is used in Amateur Radio, as it cuts down on the number of characters used to encode the information, something very useful when using Morse Code.

Untrusted Java apps - and suspicious end users

Now that I've started writing little apps for phones, I occasionally get excited by one, and send a link to some people.

They get an SMS from me with an URL ending .jad, and a message urging them to install, and run it.

Some do, some don't - I suspect because they're suspicious about it.
Hell, if I didn't know about phones, and permissions, I wouldn't. No way. I'm far too suspicious when it comes to things like that.

Syndicate content