27.01.05

How-to install Java (j2sdk1.4) on debian woody

Finally I made it and got Java and Jira running on my vserver.
But here is how it begans and how I made it:
So I got myself a vserver at nodeeps.de already 6 weeks ago. I was playing a bit around with it lately, I want to get Jira running on it. And therefore I needed to install a new JDK on it.
And this was a very, very big issue.
I finally found a way, which I want to describe here:
First of all: I grew up with a mac and since a while I use Windows. So my linux knowledge is limited to some shell commands. And the vserver has no confixx or similar, so putty was the way to go.
After reading around debian.org I realised that Java on a Debian Linux is not that easy, since it is non-free, non-open source. And therefore not included in the nice apt-get functionality.
apt-get is great, but If your package is not there it sucks.
But the following step by step guidance is a great starting point:
Java on Debian
I just had a couple of issues with the debian integration, so I skiped it and merely installed the JDK. And it works.
But then I also stumbled across Java Platform 2 Version 1.4.x for Linux which led to the Blackdown Java-Linux Java 2 SE v1.4.2-01.
But the installation instructions there were not the best either. The problem was my vserver runs a debian woody, but the jdk has dependencies resolved in the new debian sarge only. (it is the libc6, which needs to be >=libc6 2.3.2.ds1-4, but libc6 2.2.5-14.3 is the one in shipped in woody)
With the help of apt-get-org I managed to get the new libc6 by including the follwing line in /etc/apt/sources.list

deb http://www.linex.org/sources/linex/debian sarge linex

Then I managed to install the j2sdk1.4 package from the site mentioned at the blackdown.org site
I unpacked Jira, exported JAVA_HOME, and started Jira with the startup script.
Tata, there it is ....
Up and running.
WOW. Now I only need to put the JAVA_HOME into /etc/profile; setup Jira with MySQL; hide it behind firewall; include it in the startup script to auto-start; ....
But the biggest thing is done and I am getting familiar with the command line and learned a lot about debian and linux.

Posted by Karsten at 14:10 | Comments (1) | TrackBack

24.01.05

U2 - The Vertigo Tour

One of my favourites bands is finally on tour again. I try to get some tickets for the show in Munich.
Here are the tourdates:

June 12th Gelsenkirchen - Schalke Stadium
2nd July Vienna - Ernst Happel Stadium
7th July Berlin - Olympic Stadium
11th July Zurich – Letzigrund Stadium
3rd August Munich - Olympic Stadium

Tickets are not out yet.

Posted by Karsten at 14:35 | Comments (0) | TrackBack

The Lost 1984 Mac Video

21 years ago, apple presented the Macintosh. And a TV station broadcasted the stockholders' meeting from Flint Center in Cupertino. The broadcast is remastered available here:
The lost 1984 video
Nice to see Steve Jobs with long hair and a bow tie.
And it is nice to see the beginnings of my own computer carreer, since this was the very first Computer my Dad bought in 1984. Wow.
Who else had one of the first Macintoshs?

Posted by Karsten at 13:59 | Comments (0) | TrackBack

21.01.05

Single Sign On with NT Domain logins into WebApp

I did not knew that it is possible to use the Windows Domain login as a SSO source for a J2EE webapp. But it is. I cam accross it at Lucas Jellema post
He refers to the description at Samba: JCIFS NTLM HTTP Authentication
I do not need this feature in any of my companies webapps now, but it is nice to know about this feature.

Posted by Karsten at 10:37 | Comments (0) | TrackBack

20.01.05

Java Programming Notes

Sometimes you forgot about array specifics, want to know more about String Regular Expressions? Classpath handling? GUI specifics? or any other Java specifid?
Then there is a site for you:
Java Programming Notes
Nice list of a references, well structured/ordered.
So it is time to forget all the details and always go there as reference ;)

Posted by Karsten at 09:16 | Comments (0) | TrackBack

19.01.05

All OpenSource JavaTools listed

Are you looking for a open source caching solution in java? or forum software? or a database? or ...
And you were browsing around at jakarta, Sourceforge, Google etc?
Searching is over. You can find all OpenSource Java tools listed on Open Source Software in Java(tm) at java-source.net.
I like the site and I hope you are enjoying it as well.

Posted by Karsten at 17:46 | Comments (1) | TrackBack

javablogs.com has Problems

javablogs.com has some Problems lately:


500 Internal Server Error
Could not create Hibernate transaction; nested exception is net.sf.hibernate.JDBCException: Cannot open connection
Caught an Ognl exception while getting property blogEntries

And it is often not reachable. This is a pitty since I like the site a lot.

Posted by Karsten at 17:36 | Comments (0) | TrackBack

12.01.05

Macworld generates wishlist (Mac mini + iPod shuffle)

Macworld Expo started in San Francisco yesterday and generated a big wishlist. First of all I must admit that I miss my Mac since I switched to a PC three years ago. And now it seams like the best time to switch back. The new Mac mini is a reasonable cheap entry to the mac world. It would be nicer to have a G5 though, but hey, it's cheap (< 500 Euro) and it includes a lot of software already.
The next thing is the new Mac OS X 10.4 (Codename Tiger) which is due soon. The list of new features is amazing an Apple definetly makes the best OS. Especially for Java development.
And last but not least I would like to get the brand new iPod shuffle. 22g light and with 1GB for 150 Euro.
I have already a iPod, 10GB Generation 2, and my girlfriend got one, 40GB Generation 3. So I think of selling mine and getting the iPod shuffle.
I merely need to convince myself to throw some money away for gadgets ;)

Posted by Karsten at 09:58 | Comments (0) | TrackBack

02.01.05

Stopped random spammers

Lately I got a lot of comment spam with ridiculous URLs (like aarsdgfsdf.com).
They were triggered by a robot and changed from comment to comment, so I could not use the add functionality of MT Blacklist.
As a workaround I added .com to my blacklist, so anyone with a .com URL will no be refused as a potential spammer.
Sorry for the inconvenience but I had to draw a line and since the bot at least uses .com till now. So if you are a "good" commenter, just leave out the dot and I will correct it.
Thanx.

PS: It is definetely time for a upgrade to new MT 3.1.

Posted by Karsten at 15:47 | Comments (0) | TrackBack

WGV powered by Oracle DB

While browsing around at WGV, a German insurance company, I came across a Oracle Error:

ORA-01403: no data found

So after GMX (see here) and TSS (see here) another site shows the technology behind due to an error message.
I feel a bit like a error spotter ;)
Is anyone else collecting error messages from sites which reveal the technology?

Posted by Karsten at 15:29 | Comments (0) | TrackBack