[29 Dec 2009 | No Comment | ]

For some reasons the asupgrade tool from Sun Glassfish doesn’t work if you want to upgrade your Glassfish from 2.1 to 2.1.1. The upgrade method what I will present you in the next post, probably, is not recommended by SUN, but it will work in most cases (clustered or not). Just follow this steps:

Share this post

Hide Bookmarks

Read the full story »

Clustering, Featured, Glassfish, Headline, How-to, Java »

[29 Dec 2009 | No Comment | ]

For some reasons the asupgrade tool from Sun Glassfish doesn’t work if you want to upgrade your Glassfish from 2.1 to 2.1.1. The upgrade method what I will present you in the next post, probably, is not recommended by SUN, but it will work in most cases (clustered or not). Just follow this steps:

Share this post

Hide Bookmarks

Bugs, Featured, Headline, Recovery, vmware »

[22 Oct 2009 | 2 Comments | ]

After successfully install of ESXi 3.5 server, my datastore1 disappeared unexpectedly after first or second reboot. Is possible to be because of my “hacks” in “Advanced Settings”, but I’m not very sure about that. Looking in /var/log/messages I spotted some very strange errors:

Share this post

Hide Bookmarks

Apache, Bugs, Debian, Featured, Glassfish, Headline, How-to, Java, Linux, Shell, Tuning »

[28 Sep 2009 | No Comment | ]

A lot of people are not satisfied by the default Java Logging (JUL) in Glassfish. Also, myself I encountered some problems on clustered environments where we should have one single log and not one log for each instance. Trying to change the logging system in Glassfish it looks to be almost impossible , but I found a very interesting project java.util.logging to log4j Bridge and the sky become more clear for Glassfish logging. Jul to Log4J Bridge are part of log4J project and is very useful when you …

Apache, Databases, Debian, Featured, Headline, Java, Mysql, Shell »

[24 Sep 2009 | 3 Comments | ]

Initially, DBAppender for Log4j was introduced in version 1.3 of Log4j, but this version was ABANDONED by Apache team. DBAppender is very useful when we want to send our log on a JNDI resource and not on standard JDBC or file. If you need just logging in a database for your application, then you should use JDBCAppender. If you want to log on a JNDI or Database Connection Pool the DBAppender is for you. In this post I will show you how to get, compile and quick test the DBAppender.

Share …

Bugs, Cryptography, Debian, Featured, Java, Security, Shell »

[10 Aug 2009 | 2 Comments | ]

Trying to integrate BouncyCastle Cryptography provider in Java can be a nightmare. I read a lot of forums messages about “JCE cannot authenticate the provider BC” and I didn’t find any clear response. After several hours of tweaking and digging I found the main reason of the problem. If you want to use BouncyCastle as Security provider then install it directly on your Java Virtual Machine and remove any library of bc from your application.

Share this post

Databases, Featured, Headline, How-to, Linux, Shell, Tuning »

[16 Jul 2009 | One Comment | ]

In my experiments with databases I was constrained to tune the system together with the databases. A system what will run a database is quite different from any other server system, because databases put a lot of stress on the IO and especially on the disks (probably the file servers too). Hardware is not all you should tune your system as much as possible. In this post I will talk about Linux with Ext3 (is what I have right now), but on future I will test OpenSolaris with ZFS.

Share …

Bugs, Debian, Featured, How-to, Linux, Shell »

[9 Jul 2009 | 5 Comments | ]

On the Linux market are a lot of distributions and every distribution is unique in his way. Is normal to have different compilers and tools from distribution to distribution so is almost normal to have programs what doesn’t compile on all distributions. sysbench 0.4.12 is one of them.

Share this post

Hide Bookmarks

Debian, Featured, How-to, Linux, Shell, Webservice, vmware »

[26 Jun 2009 | No Comment | ]

For me one of the most annoying thing from VMware is the VMware Infrastructure Client, because it doesn’t support Linux. Every-time when I want to manage some machines, or I want to see the IP/Status/etc of some machines, I need to log on on some Windows Server and run the VMware Infrastructure Client from there. Because I’m running exclusively on Linux (Debian 5.0.1 Lenny) on my workstation, this can be very annoying. Anyway, VMware VirtualCenter is exposing to us a set of web services who can control your VMware ESX …

Apache, Debian, Featured, How-to, Newbie, Tuning »

[22 Jun 2009 | One Comment | ]

Limiting abusers from running 20 download threads from the same Apache server is easy now with mod_limitipconn. But the apache 2 module, mod_limitipconn, is not available under the latest Debian distribution, Lenny. In this mini how-to I will show you how-to manage this module to work for Debian Lenny users. The compile process of mod_limitipconn is a little bit more than “make install”.
First install apache prefork development utilities (we need apxs2 to compile our module)

Share this post

Databases, Debian, Headline, Linux, Mysql, Oracle, Postgresql, Shell, Tuning »

[18 Jun 2009 | 42 Comments | ]

We are living interesting times … MySQL was first purchased by SUN and now SUN was purchased by ORACLE. I don’t know what future will reserve for MySQL, but in this moment it seems MySQL is coming very very close to PostgreSQL. We are NOT talking about MySQL with MyISAM, we are talking about MySQL with InnoDB, because I’m directly interested in a set of properties what PostgreSQL already have them built-in and MySQL achieve them through InnoDB (and the new Maria Data plugin). This properties are Atomicity, Consistency, Isolation, Durability = ACID, in other words, very stable, good integrity and crash proof database. Why an ACID database? Sometimes we are more interested in ACID for our data than raw speed. For example do you keep your savings to a bank who is running a NON ACID database? I think you understand my concern.