[jboss-user] [JBossWS] - wstools and Log4J

martinconnolly do-not-reply at jboss.com
Fri Dec 8 12:54:53 EST 2006


Hi,
        I recently switched over from using Axis to wstools for my webservice. A C# client connects to the JBoss WS. The Web Service starts up fine but when I attempt to call any method from the C# GUI I get the following exception:

EJBException in method: public abstract boolean com.systemejb.MyManagementEndPoint.MyMethod(java.lang.String) throws java.rmi.RemoteException, causedBy:
java.lang.reflect.UndeclaredThrowableException
	at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:204)

According to the logger this is caused by:

java.lang.StackOverflowError
	at org.apache.log4j.CategoryKey.equals(CategoryKey.java:33)
	at java.util.Hashtable.get(Hashtable.java:339)
	at org.apache.log4j.Hierarchy.getLogger(Hierarchy.java:259)
	at org.apache.log4j.Hierarchy.getLogger(Hierarchy.java:233)
	at org.apache.log4j.LogManager.getLogger(LogManager.java:179)
	at org.apache.log4j.Logger.getLogger(Logger.java:94)

When I run wstools in my ant script I also get the following warnings:

 wstools:
  [wstools] log4j:WARN No appenders could be found for logger (org.jboss.ws.tools.WSTools).
  [wstools] log4j:WARN Please initialize the log4j system properly.

I have checked the log4j.xml file and the appenders are enabled. I am unsure whether the issues are related. If anyone could help shed some light on these issues I'd appreciate it.

Thanks

MC


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992306#3992306

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3992306



More information about the jboss-user mailing list