A Journey of a Thousand Miles Begins with a Single Step

Put messages in IBM MQ with Java

This post shows an example how to put a message with the IBM Websphere Message Broker Client and WebSphere MQ classes for JMS into a IBM MQ.

Read more

Excecute SQL on Connection with H2

The H2 database allows to excecute SQL statement(s) within the connection. This comes handy if you are using the H2 database to test your Java persistence queries.

Read more

Permission Calculator

http://permissions-calculator.org/ is a nice web application, to calculate octal permissions for chmod.

Read more

Create datasource for H2 in JBoss

This post demonstrates how to create a datasource for the H2 database in JBoss. This recipe can easily applied to any other database like Oracle DB, MySQL and PostgreSQL.

Read more

Europe/Busingen? Check TimeZone on Linux host

We in Switzerland have the TimeZone Europe/Zurich. If you are using Java to connect to an Oracle DB, and the DB responds with an exception ORA-01882: timezone region not found it is most likely, that the connection problem is located on the linux host, in that the Java application runs. In my case it was rhel.

Read more

Countermeasure Dictionary Attacks

In cryptanalysis and computer security, a dictionary attack is a technique for defeating a cipher or authentication mechanism by trying to determine its decryption key or pass-phrase by trying hundreds or sometimes millions of likely possibilities, such as words in a dictionary.

Read more