log4j:WARN No appenders could be found for logger (org.jboss
prasad_rs Apr 17, 2006 11:29 AMHi,
I am using JBoss 4.0.2 and WS4EE. When i run the my web service client i get the following error. I have log4j.properties in my classpath.Please help me out with this.Thanks in advance.
log4j:WARN No appenders could be found for logger (org.jboss.webservice.client.ServiceObjectFactory).
log4j:WARN Please initialize the log4j system properly.
AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (500)Internal Server Error
faultActor:
faultNode:
faultDetail:
{}string: return code: 500
<html><head><title>Apache Tomcat/5.5.9 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>org.jboss.axis.AxisFault: java.io.IOException: java.io.IOException: No serializer found for class org.apache.log4j.Logger in registry org.jboss.axis.encoding.TypeMappingImpl@3a8ea3
org.jboss.axis.AxisFault.makeFault(AxisFault.java:99)
org.jboss.axis.MessagePart.writeTo(MessagePart.java:303)
org.jboss.axis.MessagePart.getAsString(MessagePart.java:591)
org.jboss.axis.MessagePart.getAsBytes(MessagePart.java:447)
org.jboss.axis.Message.getContentType(Message.java:471)
org.jboss.axis.transport.http.AxisServlet.doPost(AxisServlet.java:971)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
</pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/5.5.9</h3></body></html>
org.jboss.axis.AxisFault: (500)Internal Server Error
at org.jboss.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:722)
at org.jboss.axis.transport.http.HTTPSender.invoke(HTTPSender.java:131)
at org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
at org.jboss.webservice.client.ClientEngine.invoke(ClientEngine.java:128)
at org.jboss.axis.client.Call.invokeEngine(Call.java:3054)
at org.jboss.axis.client.Call.invoke(Call.java:3039)
at org.jboss.axis.client.Call.invoke(Call.java:2629)
at org.jboss.axis.client.Call.invoke(Call.java:2538)
at org.jboss.axis.client.Call.invokeInternal(Call.java:1976)
at org.jboss.axis.client.Call.invoke(Call.java:1914)
at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265)
at org.jboss.axis.client.AxisClientProxy.invoke(AxisClientProxy.java:381)
at $Proxy1.getAssetStatus(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:105)
at $Proxy2.getAssetStatus(Unknown Source)
at com.verizon.wsclient.WSClient.testDumManagerService(WSClient.java:85)
at com.verizon.wsclient.WSClient.main(WSClient.java:56)
log4j.properties
-------------------
log4j.rootLogger=debug,stdout, R
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
# Pattern to output the caller's file name and line number.
log4j.appender.stdout.layout.ConversionPattern=%d %5p [%t] (%F:%L) - %m%n
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=d:/projects/ws/webservices.log
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%d %5p [%t] (%F:%L) - %m%n
log4j.appender.R.MaxFileSize=100000KB
# Keep one backup file
log4j.appender.R.MaxBackupIndex=5