Monthly Archives: April 2009

A hint for the “Object foo is not a known entity type” errors from Glassfish

As a JavaEE-codemonkey you have perhaps noticed this error: java.lang.IllegalArgumentException: Object: Ting@193c227 is not a known entity type. This will occur when you have redeployed an app f.ex through Eclipse to Glassfish, the Glassfish server has not quite understood that … Continue reading

Posted in Java | Tagged , | 10 Comments

The Pirate Bay redirects abuse to lawyers (LOL)

Guessing that this whois output should say it all torhenning@bais:~$ host thepiratebay.se thepiratebay.se has address 91.191.138.15 thepiratebay.se mail is handled by 10 mx.thepiratebay.org. torhenning@bais:~$ whois 91.191.138.15 % This is the RIPE Whois query server #3. % The objects are in … Continue reading

Posted in Web | Tagged , | Leave a comment

Show/hide a div with javascript

Looking for a simple javascript to show/hide a given text/element? Here`s all you need! <!– Simple show/hide system @author – Tor Henning Ueland –> <script language=”javascript” type=”text/javascript”> //ShowHide function – takes the div ID as argument function showHide(divId) { //Switch … Continue reading

Posted in Web development | Tagged , | Leave a comment

Fix for the “Out of memory! Callback called exit.” error in Request Tracker (RT)

When RT is upgraded, users can experience WSOD(White Screen Of Death), all the log will say is: “Out of memory! Callback called exit.”. Not so informative eh? The solution is pretty simple, run this query in the database: “ALTER TABLE … Continue reading

Posted in Linux | Tagged , , | 1 Comment