perl: warning: Setting locale failed

perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = “de_AT.UTF-8”, LC_ALL = “de_DE.UTF-8”, LC_MESSAGES = “de_DE.UTF-8”, LC_COLLATE = “de_DE.UTF-8”, LC_CTYPE = “de_DE.UTF-8”, LANG = “de_AT.UTF-8” are supported and installed on your system. perl: warning: Falling back to the standard locale (“C”). Or during apt operations: locale: Cannot set LC_CTYPE …

perl: warning: Setting locale failed Read More »

Remove MySQL from Ubuntu startup

If you want to remove mysql from your system startup rcconf or sysv-rc-conf can’t disable it because of the SysV init approach. Here is how to do it: sudo vim /etc/init/mysql.conf Comment out the whole start on entry. This should look like the following: #start on (net-device-up #          and local-filesystems #         and runlevel [2345])

GPG Error

After adding a new apt repository to your sources.list you often get a gpg error that there is no public key for that repository. If you trust the added server you can add the key with the command stated below. Here is an example error message. I replaced the id of the key with <long_key>: …

GPG Error Read More »

Nexus server behind an apache2 proxy

the following howto explains how to install a default nexus server behind an apache2 proxy on a debian host. First install apache and java download nexus and prepare for configuration. You’ll find the latest version of nexus under http://nexus.sonatype.org/downloads/ [codesyntax lang=”bash”] apt-get install apache2 sun-java6-jdk wget http://nexus.sonatype.org/downloads/nexus-oss-webapp-VERSION-bundle.tar.gz mv nexus-oss-webapp-VERSION-bundle.tar.gz nexus.tgz mv nexus.tgz /usr/local/ cd /usr/local …

Nexus server behind an apache2 proxy Read More »

no iKVM64 in java.library.path on SuperMicro IP KVM

since I upgraded to ubuntu 11.10 connecting a IPMI console to SuperMicro servers fails with the error message “no iKVM64 in java.library.path”. A workaround for this problem is to download the .jnlp file and open it with an editor. Copy the two lines stated below, taken from the <resources> entry, to the corresponding <resources os=”Linux” …

no iKVM64 in java.library.path on SuperMicro IP KVM Read More »

Logging with JBoss as7 Logger

If you want log4j-style logging under a JBoss AS7 project, just include the seam solder jar which abstracts the log4j-logger and use the org.jboss.logging.Logger as log-provider. For maven: <dependency> <groupId>org.jboss.seam.solder</groupId> <artifactId>seam-solder</artifactId> <version>3.0.0.Final</version> </dependency> And if you want to use all loglevels you can change your loglevel in your standalone.xml file by changing the subsystem. I …

Logging with JBoss as7 Logger Read More »

SOAP WebServices with JBoss AS7

If you want to create Soap WebServices you first have to extend your standalone.xml file. Add the module and it’s configuration: … <extensions> … <extension module=”org.jboss.as.webservices”/> … </extensions> … <profile> … <subsystem xmlns=”urn:jboss:domain:webservices:1.0″ xmlns:javaee=”http://java.sun.com/xml/ns/javaee” xmlns:jaxwsconfig=”urn:jboss:jbossws-jaxws-config:4.0″> <wsdl-host> localhost </wsdl-host> <modify-wsdl-address> true </modify-wsdl-address> <endpoint-config> <jaxwsconfig:config-name> Standard-Endpoint-Config </jaxwsconfig:config-name> </endpoint-config> <endpoint-config> <jaxwsconfig:config-name> Recording-Endpoint-Config </jaxwsconfig:config-name> <jaxwsconfig:pre-handler-chains> <javaee:handler-chain> <javaee:protocol-bindings> ##SOAP11_HTTP ##SOAP11_HTTP_MTOM …

SOAP WebServices with JBoss AS7 Read More »

PostgreSQL Datasource in JBoss AS7

First add a postgresql module to your modules folder as described in my former post. Then open standalone.xml and insert a datasource and the postgresql driver. Search for subsystem xmlns=”urn:jboss:domain:datasources:1.0″ and insert the datasource. <datasource jndi-name=”java:jboss/datasources/TestDS” pool-name=”TESTDS” enabled=”true” jta=”true” use-java-context=”true” use-ccm=”true”> <connection-url> jdbc:postgresql:test </connection-url> <driver> org.postgresql </driver> <pool> <min-pool-size> 5 </min-pool-size> <max-pool-size> 25 </max-pool-size> <prefill> …

PostgreSQL Datasource in JBoss AS7 Read More »