JAX-WS + Apache CXF + Maven

to use apache CXF to consume webservices in a maven project you have to inlcude the following dependencies – of course you can change the logging part if you don’t use log4j like me. <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-frontend-jaxws</artifactId> <version>2.5.2</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-transports-http</artifactId> <version>2.5.2</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.6.4</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-log4j12</artifactId> […]

JAX-WS + Apache CXF + Maven Read More »

Install Tomcat under Debian

Download Tomcat. Create /etc/init.d/tomcat as listed below and change properties in it as needed. Execute the following commands as root. cd /opt tar -xf apache-tomcat-7.0.25.tar.gz ln -s apache-tomcat-7.0.25 tomcat groupadd tomcat useradd -g tomcat -d /opt/tomcat tomcat usermod -G www-data tomcat chown tomcat:tomcat /opt/apache-tomcat-7.0.25 -R chmod +x /etc/init.d/tomcat update-rc.d tomcat defaults /etc/init.d/tomcat #!/bin/sh CATALINA_HOME=/opt/tomcat export

Install Tomcat under Debian Read More »

make xconfig

* Unable to find the QT4 tool qmake. Trying to use QT3 * * Unable to find any QT installation. Please make sure that * the QT4 or QT3 development package is correctly installed and * either qmake can be found or install pkg-config or set * the QTDIR environment variable to the correct location.

make xconfig Read More »