In this blog I will explain how to write an Axis 1.4 Client that can accept GZIP compressed SOAP messages. The GZIP compression feature of Axis 1.x is not well documented on the Apache website, so you have to search for it in blogs like this one. You can also use Axis 1.x [...]
Applying Maslow’s hierarchy of needs to your IT decisions, you will find that your operations and infrastructure comprise the lowest level. Your absolute “musts” include a reliable Internet connection, email, security, backup, and disaster recovery. These elements are fundamental, and you cannot succeed and grow without them. Small companies need these critical areas to function [...]
Are you seeing duplicate or multiple log messages using log4j xml configuration?
The configuration below produces three log messages.
log4j.xml:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender name="console" class="org.apache.log4j.ConsoleAppender">
<param name="Target" value="System.out" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p %c{1} – %m%n" />
</layout>
</appender>
<logger name="com.acme.LoggingTest">
<level value="debug" />
<appender-ref ref="console" />
</logger>
<logger name="com.acme">
<level value="debug" />
<appender-ref ref="console" />
</logger>
<root>
<priority value="debug" />
<appender-ref ref="console" />
</root>
</log4j:configuration>
LoggingTest.java:
package com.acme;
public class LoggingTest {
private [...]
Tags:
additive,
additivity,
appender,
configuration,
duplicate,
java,
log,
log4j,
log4j.xml,
logger,
multiple,
problem,
xml No Comments |
Read the rest of this entry »
As your business grows, your Information Technology needs grow apace, but too many companies fail to give IT the budgetary and planning priority it deserves. Putting IT expenditures too far down the list of priorities will hamper your efficiency and stifle the growth of your business.
Think strategically about IT, focusing on where you want [...]