Author name: Manuel Bogner

JBAS010153: Node identifier property is set to the default value

I got the following warning on startup of EAP 6.4.2: WARN  [org.jboss.as.txn] (ServerService Thread Pool — 46) JBAS010153: Node identifier property is set to the default value. Please make sure it is unique. To get rid of this you have to add a node-identifier attribute in the transactions subsystem. Here is my actual config after

JBAS010153: Node identifier property is set to the default value Read More »

hibernate.id.new_generator_mappings

“true or false. Setting which indicates whether or not the new IdentifierGenerator implementations are used for AUTO, TABLE and SEQUENCE. Default to false to keep backward compatibility. Note We recommend all new projects to use hibernate.id.new_generator_mappings=true as the new generators are more efficient and closer to the JPA 2 specification semantic. However they are not

hibernate.id.new_generator_mappings Read More »

JBoss show JDBC Queries

Sometimes it is necessary to see which queries are executed and what the parameters of these queries have been. To get this data from a JBoss 7+ you have to follow these steps: Enable JDBC-Spy on Datasource: /subsystem=datasources/data-source=ExampleDS/:write-attribute(name=spy,value=true) Or just add spy=”true” as attribute in standalone.xml. Then you have to enable the spy by adding a

JBoss show JDBC Queries Read More »

Change CentOS 7 keymap

After installing CentOS 7 with German locale the keymap still was set to us. To change it to de I had to edit the file /etc/default/grub and replace us with de after vconsole.keymap=: GRUB_CMDLINE_LINUX=”… vconsole.keymap=de …” After that execute the following command to update grub and reboot: grub2-mkconfig -o /boot/grub2/grub.cfg Of course you have to take these steps

Change CentOS 7 keymap Read More »