We offen need to add or remove an scsi or a fiber channel attached disk under Linux. This is can be done easly (be carefull when removing a device: do not forgot to unmount all filesystems present on the device to be removed. Moreover, before reducing disk size, underlaying partitions' size must be reduced).

  • Rescan scsi device bus: echo 1 | sudo tee /sys/class/scsi_device/*/device/rescan

  • Rescan device gemeometry change : echo "- - -" | sudo tee /sys/class/scsi_host/host*/device/scsi_host/host*/scan


Le résultat de l'élections, bien qu'incomplet est clair : c'est un petit pas pour le peuple de Gauche et la France, mais un pas de géant vers le changement.

Malgré ce pas de géant, le changement ne commencera que le 17 juin au soir, à l'issu des élections législatives.


  • Jusqu'à ce matin, je n'aurai jamais cru faire un post intitulé "Mes respects Monsieur Bayrou". De mon point de vu, François Bayrou a toujours été une giroutte : un coup petit à gauche, un grand coup à droite, un coup sur les journalistes et un autre coup à droite (faut-il rappeler qu'il a été ministre sous un gouvernement de droite et participer au démentelement de l'école publique?).

    Sa décision de voter pour François Hollande m'a fait changer l'idée que je me faisais de lui. Contrairement, Jean-Louis Borloo ou Rama Yade, il n'a pas fait de calcul politique en indiquant qu'il voterait François Hollande le 6 mai 2012. Et cette décision l'isole de l'UMP pour les élections législatives.

    Pour cette prise de décision courageuse, sans arrière pensée politique (bon, il y en a peut-être, mais cela n'ôte pas la valeur de l'acte), fait qu'aujourd'hui, j'éprouve un profond sentiment de respect pour François Bayrou.

    Ce petit pas, nous rapproche inexorablement vers le changement qui commencera le soir du 6 mai 2012.


  • Hier, le 02 mai 2012, à partir de 20h00 à la télé, un certain Nicolas a cru pouvoir déguster du Flamby, mais il y a eu un bug : Nicolas a eu un caramel dur et a même failli se casser des dents. Certes, le caramel en question n'était pas assez dur et n'a pas abordé tous sujets (santé, logment, dépendences). Mais ce fut une belle surprise...

    C'est avec joie que je glisserai mon bulletin de vote dimanche 6 mai 2012, qui sera la première étape vers le changement.


  • We are moving from Tomcat 5.5 (under Debian Etch) to Tomcat 7 (Debian Wheezy). Most of the migration was quite easy, but we had 2 blocking issues.

    One of them was raised when asking JDK to use proxies when contacting external web sites(CAS ticket validation, in our case). Setting proxies in tomcat is done by passing -Dhttp.proxy* parameters to the JDK (in /etc/default/tomcat7i file). When these paremeters are set, tomcat dies quickly. In catalina.out, one can find GLib-GIO-ERROR **: Settings schema 'org.gnome.system.proxy' is not installed. This errors seems to linked with Open JDK 7, provided by Debian. Swiching to JDK 7 from Oracle resolves the issue. We didn't fill a bug report yet, but I'm going to take some time to fill a bug report in order to switch back to Open JDK as soon as possible.

    The second one concerned JSP. In fact, a change was made in the way the JSP syntax was checked. In tomcat 5.5, by default, the syntax checking was less strict and didn't lead an exception when JSP didn't conform to the Java Language Specification for Java identifiers. When this exception occurs, one can notice javax.el.ELException: Failed to parse the expression followed by the expression causing the exception and the log file shows the exact jsp file which triggered the exception. After few research, We found to 2 ways to correct the issue:

    • Setting org.apache.el.parser.SKIP_IDENTIFIER_CHECK to True (i.d. adding -Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true to /etc/default/tomcat7 file).

    • Correcting JSP pages in order to conform Java Language Specification for Java identifiers.
    • Using the first solution is quite easy: add the parameter to /etc/default/tomcat7 and restart tomcat. But it's messy: using reserved keywords as indentifiers may lead to unkown issues. But, as the application is developped and maintained in our company, we decided to correct all the JSP pages, which took few minutes.



    At the moment, our test server is running under Tomcat 7 and doing quite well. We will move our pre production server and then, the production server to Tomcat 7 in few days.