Author name: Manuel Bogner

ActiveMQ Configuration under JBoss AS7

Update 11.7.2013: New version for JBoss 7.2.0.Alpha1 / EAP 6.1.0.Alpha1 can be found here: ———————– JBoss 7 and ActiveMQ finally work together. Download the latest snapshot of activemq.rar. Unzip the file and name the resulting folder activemq.rar. Place the folder in you deployments folder of jboss. Place the files ra.xml and ironjacamar.xml into the […]

ActiveMQ Configuration under JBoss AS7 Read More »

Simple Bash Backup Script

I just started a backup script to maintain a simple configurable, daily backup script for linux that holds 1 month history of backuped data and has host dependant configuration to update the script in a central repository. I published it under github: Features: logging of all output configuration file in /etc/backup.conf to override default

Simple Bash Backup Script Read More »


here is a list of often needed openssl commands to work with ssl keys: Create new private key + CSR: openssl req -new -newkey rsa:2048 -nodes -keyout common_name.key -out common_name.csr Create CSR from existing private key: openssl req -new -key common_name.key -out common_name.csr Check CSR: openssl req -text -noout -verify -in common_name.csr Check private key:

Openssl Read More »

Magento – Column ‘option_id’ in where clause is ambiguous.

This problem should be fixable by changing app/code/core/Mage/Eav/Model/Resource/Entity/Attribute/Option/Collection.php line 117. Just insert “main_table.” (without “) before option_id. The line shoul look like the following after that: return $this->addFieldToFilter(‘main_table.option_id’, array(‘in’ => $optionId));

Magento – Column ‘option_id’ in where clause is ambiguous. Read More »

Manually update Google Nexus S I9023 with Android 4.0.3 Ice Cream Sandwich and root it

There are lots of forums explaining how to upgrade or root a Nexus S but it took me hours to find all needed parts and get it running with ICS and rooting it afterwards. So I decided to summarize my experience – of course you follow my steps on your own risk and I’m not

Manually update Google Nexus S I9023 with Android 4.0.3 Ice Cream Sandwich and root it Read More »

JBoss AS 7.1.0 Mail

Since version 7.1.0 JBoss AS includes a mail subsystem by default and it seems to work with a local postfix installation out of the box. Here is a simple mailer bean: import; import javax.enterprise.inject.Model; import javax.inject.Inject; import javax.mail.Message; import javax.mail.MessagingException; import javax.mail.Session; import javax.mail.Transport; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeMessage; import org.jboss.logging.Logger; /** * * @author

JBoss AS 7.1.0 Mail Read More »

JEE6 Schedulers

Creating a scheduler in JEE6 is very simple. Just use @Schedule annotation. Here is an example of a simple bean logging all 30 seconds. import javax.ejb.Schedule; import javax.ejb.Stateless; import javax.inject.Inject; import org.jboss.logging.Logger; /** * @author manuel * */ @Stateless public class ApplicationScheduler { @Inject private Logger log; /** * Do something when fired. @Schedule can

JEE6 Schedulers Read More »

JBoss AS 7.1 Eclipse Startup Warning

Since 7.1 the following warning appears during server startup: WARNING: -logmodule is deprecated. Please use the system property ‘java.util.logging.manager’ or the ‘java.util.logging.LogManager’ service loader. This can be fixed be removing the following part from the launch configuration in the “Program arguments” section: -logmodule org.jboss.logmanager

JBoss AS 7.1 Eclipse Startup Warning Read More »