Setting Up Glassfish3 Application Server

Continue from Install Glassfish3 JEE Application Server

  1. Create a domain:

Done!

Share itTweet about this on TwitterEmail this to someoneShare on FacebookShare on Google+

Install Glassfish3 JEE Application Server

On the server:

  1. Add user glassfish
  2. Download and unzip

Done!
Continue with Setup Glassfish3 JEE Application Server

Share itTweet about this on TwitterEmail this to someoneShare on FacebookShare on Google+

handle password by ssh Agent

Share itTweet about this on TwitterEmail this to someoneShare on FacebookShare on Google+

log4j:ERROR A org.apache.log4j (FileAppender) object is not assignable to a org.apache.log4j (Appender) variable

Problem:
When deploying an ear file including log4j.jar into Glassfish3.x, following Exception is thrown:

Solution:
Add log4j.jar to Glassfish lib, e.g. /domains/mydomain/lib/ext or /glassfish/lib and remove it from ear.

Continue reading “log4j:ERROR A org.apache.log4j (FileAppender) object is not assignable to a org.apache.log4j (Appender) variable”

Share itTweet about this on TwitterEmail this to someoneShare on FacebookShare on Google+

Hibernate Search and Glassfish

Problem:
Using Hibernate Search in combination with Glassfish throws following Exception:

Solution:
Add an additional

to your persitence.xml in order to use Hibernate JPA for Persistence Management.

Continue reading “Hibernate Search and Glassfish”

Share itTweet about this on TwitterEmail this to someoneShare on FacebookShare on Google+

Change default URL for PostfixAdmin

Problem:
PostfixAdmin per default is reachable via yourhost.address/postfixadmin. This is certainly not optimal in terms of security.

Solution:
Edit /etc/postfixadmin/apache.conf
from

to something like
After that, reload apache configuration.
Share itTweet about this on TwitterEmail this to someoneShare on FacebookShare on Google+