Posts Tagged ‘tomcat’

I love VPS.net!

Monday, March 1st, 2010

I recently moved all my php sites to a new server, about a month ago, and had previously used VPS.net for my jsp/svn/etc.. server for quite a few months.

Running tomcat and sql + a few other things have used up almost all the memory on my java server, so I was thrilled to find a mail from vps.net in my inbox today, stating that they will upgrade all nodes from 256 mb ram to 375, and add 200 mhz cpu :D

on VPS.net you create your own virtual server which is made up of 1-18 nodes (1 node = 256 mb ram, 400 mhz cpu, 10 gb disk). So it’s very easy to make new machines, or upgrade an existing one by adding more nodes (then just restart the virtual server).

The server has been extremely stable, fast (the site your on now runs on a single node) and only restarted once, the website it runs is being monitored and have not had any downtime. This is by FAR the best virtual (or even dedicated!) server solution I’ve ever tried, and I would absolutely recommend it for anyone who needs a virtual or dedicated server. 1 node is just 20$ per month, there are no sign up fees and you can cancel at any time (1 node will be able to host a good amount of http/php/mysql content).

And if anyone wonders, no I’m not getting paid by VPS to advertise for them :) They’re just so awesome that I HAD to mention it, there are so many crappy hosting / virtual server companies but these guys really are awesome :)

Bye bye tomcat

Tuesday, April 8th, 2008

I’ve been using tomcat for quite a couple of years now..

But when making working on a registration page for a “ferret show“, I got so goddamn fed up with two things:

1) Each time I recompiled some of the background Java stuff (beans + database manager) I had to restart the server after recompiling

2) OFTEN after recompiling, for no frakking reason whatsoever. Tomcat would bitch about being unable to find the postgresql driver, even though it was in the common/lib as well as the webapps lib directory..

The second issue would sometimes take 5-10 minutes of removing the file, moving it back, restarting the server, removing work/tmp dirs, before it suddenly and miraculously worked again.. So I finally had it, and downloaded Resin and had it up and running in a few minutes.. Copied over the webapps, and now everything works nicely, and I never have to restart the webserver.

I’ve had some experience with Resin from my previous workplace, using the java php implementation and the JMS system. And Resin seems to be pretty nice, and switching from Tomcat to Resin only took a few minutes.. Did not tweak the config much and set up SSH, that will have to wait for the weekend :)

google analytics

Sunday, July 29th, 2007

Seeing that I never do anything with my tomcat log files, I tried out Google analytics on both this site and aakretech.com/net/org.

Adding the tracking code in WordPress was very simple, but I had to rename all the files on the Aakretech site to .jsp, and include the footer on every page. I also added

I was pleasantly surprised by the analytics web interface, very nice looking, user friendly and has a wide range of statistics. the highlights where the nice map (supports zooming down to city level) and of course seeing both Firefox and Safari whoop IE’s sorry ass :)

google analytics mapEven a visitor from Kanagawa Japan, Totemo kansha shimasu :)

browersIE(orange) got nothing on the other browsers :D

Current events

Sunday, March 25th, 2007

Haven’t posted much lately.. Things have been pretty busy with work and the moving (only 6 days left, yaaaaay!), I’ve had almost no time for UFO Afterlight or Silent Hunter 4 the last 2 weeks, and I don’t expect I will have much time for C&C 3 when it is released next week.

I took out my scooter today, drove around a bit.. took like half an hour to start the bastard after it being in storage for 5 months this winter. I’m looking forward to not taking the bus to work tomorrow :)

The other thing that has kept me busy lately is that I have been making a new webpage (that combines aakretech.no, .com, .net and .org into a single page). Not quite done yet but most of the pages are in place. Removing the cocoon webapp for aakretech.org from my Tomcat server reduced the server’s startup time from 15 seconds to 0.7 seconds.

Not much more to say really.. Nemi got her new cage, but we wont get it for her until we move next Sunday/Monday
ferret nation