Move a Private Key Between Two JKS Keystores

The previous version of the article showed how to move a private key between two JKS key stores.
Continue reading

Posted in Java | Leave a comment
 

AXIS Client Request and Response Logging

You have a Java application consuming a remote SOAP web service and you want to use AXIS 1.* framework. You want to see / log the raw SOAP request / response.

Continue reading

Posted in Java, Programming | Leave a comment
 

Iptables redirect port 80 to port 8080

The problem:

  • You have a linux server
  • Install tomcat or any other application server
  • You don’t want the application server to run as root, therefore it cannot listen to any of the ports 80 (http) or 443 (https)
  • From outside, though, the application server must be accessible on ports 80 / 443

Continue reading

Posted in Java, Linux | Leave a comment

Failed to load java type corresponding to e=web-app@http://java.sun.com/xml/ns/javaee

Working with various versions of Weblogic application server, you might have encountered the error partially described in the title. The error would not appear during the build but during deployment. A more complete stack trace of this error is presented below:

Continue reading

Posted in Java, Programming | Leave a comment

Configure Postfix

Postfix is one of the most popular MTA (mail transfer agent) products on unix. This article presents a simple way of configuring postfix for virtual domains

Continue reading

Posted in Linux | Leave a comment

Apache Web Services Security Using WSS4J

This document presents a practical approach of how to use WSS4J to add simple security headers to both client and web service implemented with Axis 1.*

Continue reading

Posted in Java, Programming | Leave a comment

Faces Context not Found getResponseWriter Will Fail

Did you get the error in the title? This is a very common occurrence in JSF (Java Server Faces) applications. It is easy to get and easy to get rid off, you just have to be careful.
Continue reading

Posted in Java, Programming | Leave a comment

ASP.NET Controls from Scratch

In this article is presented a step by step approach to create a fully rendered ASP.NET custom control.

Continue reading

Posted in .NET, Programming | Leave a comment

Configure Apache, PHP and MySQL

This is just another tutorial of how to configure a development machine for Apache, PHP and MySQL

Continue reading

Posted in Linux | Leave a comment