Hii I was trying the sample app given for Granite Data Services. (pojo) And encountered this error as below:
[RPC Fault faultString="error" faultCode="Channel.Call.Failed" faultDetail="NetConnection.Call.Failed: HTTP: Status 500"] at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler() at mx.rpc::Responder/fault() at mx.rpc::AsyncRequest/fault() at NetConnectionMessageResponder/channelFaultHandler() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.messaging.channels::AMFChannel/statusHandler() Can anyone suggest me the possible cause for this one and a remedy. :) Thanks, Manu. Console output was something like that for a detailed review: 10:53:36,291 DEBUG [AMFMessageServlet] >> Processing AMF0 request: org.granite.messaging.amf.AMF0Message { version = 3 headers = [] bodies = [ org.granite.messaging.amf.AMF0Body { target = null serviceName = null serviceMethodName = null response = /1 type = ARRAY value = [ flex.messaging.messages.CommandMessage { messageRefType: null operation: CLIENT_PING correlationId = destination = headers = {DSId=nil} messageId = 7E688C77-1180-E178-0DA6-D16BE026DC69 timestamp = 0 clientId = null timeToLive = 0 body = {} } ] } ] } 10:53:36,338 DEBUG [AMFMessageServlet] << Returning AMF0 response: org.granite.messaging.amf.AMF0Message { version = 3 headers = [] bodies = [ org.granite.messaging.amf.AMF0Body { target = /1/onResult serviceName = null serviceMethodName = null response = type = AMF3_OBJECT value = flex.messaging.messages.AcknowledgeMessage { correlationId = 7E688C77-1180-E178-0DA6-D16BE026DC69 destination = null headers = {DSId=B40CF502-2823-4A90-985D-EDAEB710197A} messageId = 80BC786E-DA72-4F6D-9D5B-49B4409F115F timestamp = 1197514416338 clientId = D2F48E03-41D9-4634-B16C-469E04BFA5AE timeToLive = 0 body = null } } ] } 10:53:36,400 DEBUG [AMFMessageServlet] >> Processing AMF0 request: org.granite.messaging.amf.AMF0Message { version = 3 headers = [] bodies = [ org.granite.messaging.amf.AMF0Body { target = null serviceName = null serviceMethodName = null response = /2 type = ARRAY value = [ flex.messaging.messages.RemotingMessage { source = null operation = getCounter correlationId = null destination = pojo headers = {DSEndpoint=my-graniteamf, DSId=B40CF502-2823-4A90-985D-EDAE B710197A} messageId = E27D70E2-E5CA-FBE0-9EB9-D16BE00752F0 timestamp = 0 clientId = null timeToLive = 0 body = [] } ] } ] } And this is from the log file: 2007-12-13 10:53:36,463 ERROR [org.granite.messaging.webapp.AMFMessageFilter] AMF message error javax.servlet.ServletException: Servlet execution threw an exception at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:260) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.granite.messaging.webapp.AMFMessageFilter.doFilter(AMFMessageFilter.java:91) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) -- View this message in context: http://www.nabble.com/Granite-Data-Services%3A-RPC-Fault-error-tp14309343p14309343.html Sent from the FlexCoders mailing list archive at Nabble.com.