Author name: Manuel Bogner

Java 8 Support in Eclipse Kepler 4.3.2 (SR2)

Java 8 released and the actual Eclipse version doesn’t support it out of the box. I found an official patch that adds this support to the actual version of Kepler SR2. Here is the update site: http://download.eclipse.org/eclipse/updates/4.3-P-builds Here the official JDT page that led me to this page: https://wiki.eclipse.org/JDT/Eclipse_Java_8_Support_%28BETA%29 Be sure to read the instructions as […]

Java 8 Support in Eclipse Kepler 4.3.2 (SR2) Read More »

Security manager changes :: Java DB / Derby – Access Denied

Security manager installed using the Basic server security policy. access denied (“java.net.SocketPermission””localhost:1527″”listen,resolve”) Java 7u51 contains changes in the security manager. It was allowed to use ports >1024. Now this port range was moved much higher. To be able to use lower ports there has to be a line in java.policy which is located in $JAVA_HOME/jre/lib/security Here

Security manager changes :: Java DB / Derby – Access Denied Read More »

TomEE Logging Configuration

Because TomEE comes with a java.util.Logging Logger which I really dislike, I decided to change the logger to log4j through slf4j. Here are the steps to achieve this: Create a folder _tomee_/bin/log and place the following libraries in it: jul-to-slf4j-1.7.5.jar, log4j-1.2.17.jar, slf4j-api-1.7.5.jar, slf4j-log4j12-1.7.5.jar Remove slf4j-*jdk*.jar and slf4j-*api*.jar from _tomee_/lib Create a log4j.properties file in _tomee_/bin/log/config Create a file named setenv.sh in _tomee_/bin

TomEE Logging Configuration Read More »

PostgreSQL 9.3 Debian

To install PostgreSQL 9.3 I used the following steps as root: echo “deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -c | awk ‘{print $2}’`-pgdg main” > /etc/apt/sources.list.d/postgre.list && wget –quiet -O – https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add – apt-get update && apt-get dist-upgrade && apt-get install postgresql-9.3  

PostgreSQL 9.3 Debian Read More »