berthou.com

db2, java, websphere, wordpress, php, linux

Archive de December 2007

Description

A few days ago I had a little problem when I tried to deploy in WAS 6.0 (Websphere Application Serveur 6) an application including a PDF signature.
During the execution of the servlet’s signature, I had the following problem :

java.lang.Exception: java.lang.Exception: java.io.IOException:
Error in loading the keystore: Private key decryption error:
(java.lang.SecurityException: Unsupported keysize or algorithm parameters)

Resolution

This error is caused by the JCE libraries used by the virtual java’s machine executing WAS. This JVM is the standard version and it had a limited support of cryptographie’s algorithme. To correct this you just have to substitute two jar files in teh configuration of the JVM IBM (local_policy.jar et US_export_policy.jar).
This files are in the index $JAVA_HOME/jre/lib/security (for exemple /usr/lib/jvm/jre-ibm/lib/security or /opt/IBM/WebSphere/AppServer/java/jre/lib/security).
You can download this non limited librairies http://www-128.ibm.com/developerworks/java/jdk/security/142/ (file unrestrict142.zip)

When the file is download you had to:

  • Decompress the downloaded file
  • Verify that this file contains local_policy.jar et US_export_policy.jar
  • Stop Websphere
  • Save the old files
  • Substitute the two files
  • Take off again WAS
  • 0 Comments
  • Filed under: websphere
  • aTicker - applet

    Description

    aTicker is a simple, free and small Ticker texte scrolling Applet. aTicker runs on all browsers with JDK 1.1x support. (aTicker is free with all source code).
    This applet is available in JDK 1.1x


    Source HTML

    <applet codebase="/jar" archive="applet-aticker.jar" code="com.berthou.applet.aticker.aticker.class" width=220 height=20 mayscript>
    	<param name=file value="s">
    	<param name=cSep value="§">
    	<param name="speed" value="1">
    	<param name="delay" value="30">
    	<param name="local" value="true">
    	<param name="bgcolor" value="13693183">
    	<param name="Font1" value="Verdana, 14, 0, 0">
    	<param name="Font2" value="Verdana, 14, 1, 1220">
    	<param name="s0" value="JavaSide § http://www.javaside.com § _load">
    	<param name="s1" value="Mess 2 § javascript:alert('Salut...') § _script § ?PopupJavascript">
    	<param name="s2" value="berthou-fr § http://www.berthou.com/fr/ § _load">
    	<param name="s3" value="berthou-us § http://www.berthou.com/us/ § _load">
    </applet>
    

    (more…)

  • 0 Comments
  • Filed under: applet
  • WWW - Browsershots.org

    On the web

    When I surfed on the net, I discovered the site browsershots.org . This site makes screenshots of your web design in different browsers. It is a free open-source online service. With a subscription you can get a priority processing and so you can reduce the waiting delay (30 min without sunscription).

    Borwsershots.org do this on 3 OS (Windows, Linux, Mac) and propose a large choice of browsers. I especially like the old browsers versions and the possibility to download all screenshots in 1 zipped file.

  • 1 Comment
  • Filed under: www
  • LiaDash


    You are Lia (), the aim in your life is to get all the keys (keys) of the level and a certain amount of jewels (keys) without being crushed by the boulders (keys) and the Jewel. To get the jewels you can eat the ground.
    Warning ! Destroy all monsters and crunch under a boulder to cross the uncrossable wall !

    How to play …

    • The arrow keys to move Lia
    • “F2″ key to start a new game
    • and you can commit suicide with the “End” key

    (more…)

  • 0 Comments
  • Filed under: applet, games
  • Description

    News version ! Correct bug in categories tag

    rbl-listtag is a Wordpress plugin, it can display in a page or in a post the last comments or the last posts filtered by tags or categories.
    It’s my first plugin, you can send me either your bugs or comments.

    Installation

    • Upload rbl-listtag.php to the /wp-content/plugins/ directory
    • Activate the plugin through the ‘Plugins’ menu in WordPress
    • That’s it!

    (more…)

  • 0 Comments
  • Filed under: wordpress
  • 
    Web Developement Blogs - Blog Catalog Blog Directory tlmeb