I have two applications that are running under tomcat that communicate using methods exposed as axis web services.
The service method is identical for each service and looks like:
 
public void processMessage(String message)
 
Thus when A wants to communicate with B it invokes B's processMessage service method with a parameter that happens to be an XML formatted string.
 
This all works good except for one condition ... when A calls B's processMessage method and in that method B calls A's processMessage method, I get the following exception:
 
java.lang.ClassCastException: org.apache.commons.logging.impl.LogFactoryImpl
        at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:504)
        at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:350)
        at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:400)
        at org.apache.axis.message.MessageElement.<clinit>(Unknown Source)
        at org.apache.axis.client.Call.invoke(Unknown Source)
        at org.apache.axis.client.Call.invoke(Unknown Source)
        at org.apache.axis.client.Call.invokeOneWay(Unknown Source)
 
Any ideas???
 
Mike

Reply via email to