JBoss Login Configuration

Here a short example for a security-domain that has to be configured in the urn:jboss:domain:security subsystem: <security-domain name=”mysecuritydomain” cache-type=”default”> <authentication> <login-module code=”org.jboss.security.auth.spi.DatabaseServerLoginModule” flag=”required”> <module-option name=”dsJndiName” value=”java:jboss/datasources/ExampleDS” /> <module-option name=”principalsQuery” value=”select u.password from users u where u.name=?” /> <module-option name=”rolesQuery” value=”select r.name as rolename, ‘Roles’ as rolegroup from users u, roles r, users_roles ur where ur.user_id=u.id […]

JBoss Login Configuration Read More »

Bonding and Bridging

I set up a server with two network interfaces and wanted to use load balancing and bridging with cheap a cheap non 802.3ad capable switch. Thats why I chose mode 5. See https://help.ubuntu.com/community/UbuntuBonding for further information about bonding modes. Here is my /etc/network/interfaces file which is working fine till now: auto lo iface lo inet

Bonding and Bridging Read More »

m2e Java heap space

I got the following error during eclipse startup: eclipse.buildId=M20130204-1200 java.version=1.7.0_21 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product Error Tue Jun 04 16:59:24 CEST 2013 An internal error occurred during: “Updating indexes”. java.lang.OutOfMemoryError: Java heap space at org.apache.maven.index.updater.IndexDataReader.readUTF(IndexDataReader.java:144) at org.apache.maven.index.updater.IndexDataReader.readField(IndexDataReader.java:134) at

m2e Java heap space Read More »