Category Archives: Java

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.

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.

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, … 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 … Continue reading

Posted in Java, Programming | 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.*

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.

Posted in Java, Programming | Leave a comment