EJB Standalone Client JBoss AS7.1.1

Creating a standalone EJB-client application works like the following. If you use maven, just include the following dependency: <dependency> <groupId>org.jboss.as</groupId> <artifactId>jboss-as-ejb-client-bom</artifactId> <type>pom</type> <version>7.1.1.Final</version> </dependency> Then you need a file jboss-ejb-client.properties in your classpath. Here an example: remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=false remote.connections=default remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=true remote.connection.default.host=localhost remote.connection.default.port=4447 remote.connection.default.username=username remote.connection.default.password=password If you haven’t changed default configuration the username+passwort are added with the […]

EJB Standalone Client JBoss AS7.1.1 Read More »

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: http://blog.coffeebeans.at/?p=606 ———————– 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: https://github.com/mbogner/backup_script Features: logging of all output configuration file in /etc/backup.conf to override default

Simple Bash Backup Script Read More »

Openssl

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 »