Quantcast
Channel: Magnus K Karlsson
Browsing all 526 articles
Browse latest View live

RHEL 6 Postfix Aliases

IntroductionIn my previos blog I described to configure and run MTA with postfix. Here I will describe how to make aliases.ConfigurationStartCreate aliasNow to let this take effect you must run the...

View Article


RHEL 6 Configure an MTA to Forward (Relay) Email Through a Smart Host.

IntroductionA relay mail server (MTA) is a intermediate server that forwards email to the final delivery mail server (MDA), i.e. writes message to default store /var/spool/mail/${USER}.Remote Client...

View Article


RHEL 6 Synchronize Time Using Other NTP Peers

IntroductionIn this blog will I show how to setup a NTP server and perform NTP synchronizing on remote server.Server InstallationServer ConfigurationThe server IP is 192.168.1.240 and is located in...

View Article

Helpful CSS Cheat Sheets

Very good comprehensive CSS cheat sheets summarized on one single page http://slodive.com/freebies/css-cheat-sheets/.

View Article

Cloning Machine in KVM and Getting "Device eth0 does not seem to be present”

To fix this problem follow http://aaronwalrath.wordpress.com/2011/02/26/cloned-red-hatcentosscientific-linux-virtual-machines-and-device-eth0-does-not-seem-to-be-present-message/.

View Article


Image may be NSFW.
Clik here to view.

Overview EE and JBoss EE Compliance

Overview of EE evolutionThe capabilities and what is supported out of the box in EE, is increasing from next version to next version. The drive behind the new feature are:Common task are finally...

View Article

How to Deploy Sources and Javadoc Jar

When deploying a snapshot release or if you by some other reason want to generate sources or javadoc jar, you could always configure maven-source-plugin and maven-javadoc-plugin and hook them in maven...

View Article

List JNDI Tree Entries with JBoss CLI

To list all JNDI entries with JBoss CLI.First start JBoss CLI.Then execute.

View Article


How to Manage Properties Files in JBoss Module

From JBoss AS 7 and EAP 6 forth, classloading have changed and all jar dependencies are packaged and loaded as jboss modules.Besides dependency jar in a module you also might need to be able to...

View Article


Image may be NSFW.
Clik here to view.

Taking Snapshot in Ubuntu

When taking snapshot in Ubuntu you could always use the predefined keyboard shortcuts, see https://help.ubuntu.com/community/KeyboardShortcuts#Desktop_shortcutsA better tool is to use the...

View Article

Java EE 6 Interceptors 1.0 (JSR318)

IntroductionInterceptor was in EE 5 introduced in EJB 3.0, see EJB3 Interceptors javax.ejb.AroundInvoke. In EE 6 that was taken out and made generic into Interceptors (JSR318), package...

View Article

Java EE 7 Deployment Descriptors

Deployment descriptors are like configuration files.The below sites summaries all xml schemas defintions for all EE 7 deployment...

View Article

Java EE 6 Maven Dependency

The EE 6 classes are available in maven central.But when running unit test against them you receive the below error. Thats because they do not contain implementation classes, only api class.So in...

View Article


Java EE 7 Maven Dependency

In my previous blog about Java EE 6 Maven Dependency a wrote about the crippled javaee-api maven dependency in maven central.That is finally fixed in EE 7.See also Essential Maven POM For JavaEE 7

View Article

Image may be NSFW.
Clik here to view.

SyntaxHighlighter

Supported styling.https://github.com/rwz/SyntaxHighlighter/blob/master/demos/autoloader.html

View Article


The Java EE 6 Interceptors

IntroductionThe AOP Interceptor was in EE 6 introduced and was before only supported with additional libraries such as aspectj and jboss-aop.Before using Interceptor one should first really consider if...

View Article

Understanding LDAP and LDAP Authentication

IntroductionIf you let an IT administrator pick a persistence storage technique, he would probably choose a LDAP directory. But if you asked a system developer, then he would probably choose a RDBMS...

View Article


Image may be NSFW.
Clik here to view.

Using LDAP as Address Book in Thunderbird

In my previous blog I described how to setup OpenLDAP. In this blog I will describe how to use it as address book in thunderbird.Open Preferences by clicking on menu Edit -> Preferences.Select...

View Article

LDAP Authentication in Tomcat 7

Introduction Tomcat ConfigurationBefore starting we need to understand the Tomcat configuration (Context) hierarchy. Tomcat configuration can be placed in three places. - In...

View Article

Use Log4J in Tomcat 7

IntroductionTomcat uses default Java SDK Logging, which is in mine opinion, generates default log files that are hard to read and it is also quite silly to reinvent the wheel, because there is already...

View Article
Browsing all 526 articles
Browse latest View live