[cddlm] Smartfrog client + NEC Portal

Satish Bhat sbhat at sv.nec-labs.com
Thu Apr 20 11:31:13 CDT 2006


Hi Steve,
   Is there any thing you want me to change from my side to make sure
your tests can talk to our portal? 
   Also, I was wondering if there's any standard(or a template like) CDL
file to test the deployment operations. We at NEC, use Java component
based deployment whereas, UFCG implementation supports 'war' based
deployment. 

Cheers,
Satish

On Thu, 2006-04-20 at 14:01 +0100, Steve Loughran wrote:
> I'm not having so much of an easy time talking to the NEC portal, even 
> with fixed WS-A headers:
> 
> 
> Starting 
> org.smartfrog.services.deployapi.test.system.alpine.deployapi.api.portal.Api_01_portal_wsdm_properties_Test 
> on chamonix
> 3813 DEBUG httpclient.wire.header  - >> "POST 
> http://cddlm.nec-labs.com:9090/cddlm/services/portal HTTP/1.1[\r][\n]"
> 3814 DEBUG httpclient.wire.header  - >> "SOAPAction: [\r][\n]"
> 3814 DEBUG httpclient.wire.header  - >> "User-Agent: Jakarta 
> Commons-HttpClient/3.0-rc3[\r][\n]"
> 3814 DEBUG httpclient.wire.header  - >> "Host: 
> cddlm.nec-labs.com:9090[\r][\n]"
> 3814 DEBUG httpclient.wire.header  - >> "Proxy-Connection: 
> Keep-Alive[\r][\n]"
> 3815 DEBUG httpclient.wire.header  - >> "Content-Length: 1088[\r][\n]"
> 3815 DEBUG httpclient.wire.header  - >> "Content-Type: text/xml[\r][\n]"
> 3815 DEBUG httpclient.wire.header  - >> "[\r][\n]"
> 3816 DEBUG httpclient.wire.content  - >> "<?xml version="1.0" 
> encoding="UTF-8"?>[\r][\n]"
> 3817 DEBUG httpclient.wire.content  - >> "<Envelope 
> xmlns="http://schemas.xmlsoap.org/soap/envelope/"><Header><wsa:To 
> soap:mustUnderstand="1" 
> xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" 
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">http://cddlm.nec-labs.com:9090/cddlm/services/portal</wsa:To><wsa:MessageID 
> soap:mustUnderstand="1" 
> xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" 
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"/><wsa:Action 
> soap:mustUnderstand="1" 
> xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" 
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">GetResourceProperty</wsa:Action><wsa:RelatesTo 
> soap:mustUnderstand="1" 
> xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" 
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"/></Header><Body><GetResourceProperty 
> xmlns:getprop_ns="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd" 
> xmlns="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd">getprop_ns:ResourceId</GetResourceProperty></Body></Envelope>[\r][\n]"
> 4091 DEBUG httpclient.wire.header  - << "HTTP/1.0 500 Internal Server 
> Error[\r][\n]"
> 4093 DEBUG httpclient.wire.header  - << "Connection: close[\r][\n]"
> 4093 DEBUG httpclient.wire.header  - << "Server: Apache-Coyote/1.1[\r][\n]"
> 4093 DEBUG httpclient.wire.header  - << "Content-Type: 
> text/xml;charset=utf-8[\r][\n]"
> 4093 DEBUG httpclient.wire.header  - << "Date: Thu, 20 Apr 2006 12:52:22 
> GMT[\r][\n]"
> 4114 DEBUG httpclient.wire.content  - << "<"
> 4114 DEBUG httpclient.wire.content  - << "?"
> 4114 DEBUG httpclient.wire.content  - << "x"
> 4114 DEBUG httpclient.wire.content  - << "m"
> 4114 DEBUG httpclient.wire.content  - << "l"
> 4115 DEBUG httpclient.wire.content  - << " "
> 4115 DEBUG httpclient.wire.content  - << "v"
> 4115 DEBUG httpclient.wire.content  - << "e"
> 4115 DEBUG httpclient.wire.content  - << "r"
> 4115 DEBUG httpclient.wire.content  - << "s"
> 4120 DEBUG httpclient.wire.content  - << "i"
> 4120 DEBUG httpclient.wire.content  - << "o"
> 4120 DEBUG httpclient.wire.content  - << "n"
> 4121 DEBUG httpclient.wire.content  - << "="
> 4121 DEBUG httpclient.wire.content  - << """
> 4121 DEBUG httpclient.wire.content  - << "1"
> 4121 DEBUG httpclient.wire.content  - << "."
> 4121 DEBUG httpclient.wire.content  - << "0"
> 4121 DEBUG httpclient.wire.content  - << """
> 4122 DEBUG httpclient.wire.content  - << " "
> 4122 DEBUG httpclient.wire.content  - << "e"
> 4122 DEBUG httpclient.wire.content  - << "n"
> 4122 DEBUG httpclient.wire.content  - << "c"
> 4122 DEBUG httpclient.wire.content  - << "o"
> 4122 DEBUG httpclient.wire.content  - << "d"
> 4122 DEBUG httpclient.wire.content  - << "i"
> 4122 DEBUG httpclient.wire.content  - << "n"
> 4123 DEBUG httpclient.wire.content  - << "g"
> 4123 DEBUG httpclient.wire.content  - << "="
> 4123 DEBUG httpclient.wire.content  - << """
> 4123 DEBUG httpclient.wire.content  - << "U"
> 4123 DEBUG httpclient.wire.content  - << "T"
> 4123 DEBUG httpclient.wire.content  - << "F"
> 4123 DEBUG httpclient.wire.content  - << "-"
> 4123 DEBUG httpclient.wire.content  - << "8"
> 4123 DEBUG httpclient.wire.content  - << """
> 4123 DEBUG httpclient.wire.content  - << "?"
> 4123 DEBUG httpclient.wire.content  - << ">"
> 4124 DEBUG httpclient.wire.content  - << "<soapenv:Envelope 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">[\n]"
> 4124 DEBUG httpclient.wire.content  - << " <soapenv:Body>[\n]"
> 4124 DEBUG httpclient.wire.content  - << "  <soapenv:Fault>[\n]"
> 4124 DEBUG httpclient.wire.content  - << "   <faultcode 
> xmlns:ns1="http://xml.apache.org/axis/">ns1:Server</faultcode>[\n]"
> 4124 DEBUG httpclient.wire.content  - << "   <faultstring>Server 
> Error</faultstring>[\n]"
> 4124 DEBUG httpclient.wire.content  - << "   <detail>[\n]"
> 4125 DEBUG httpclient.wire.content  - << "    <ns2:stackTrace 
> xmlns:ns2="http://xml.apache.org/axis/">Server Error[\n]"
> 4126 DEBUG httpclient.wire.content  - << "[0x9]at 
> org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:473)[\n]"
> 4127 DEBUG httpclient.wire.content  - << "[0x9]at 
> org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)[\n]"
> 4127 DEBUG httpclient.wire.content  - << "[0x9]at 
> org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)[\n]"
> 4127 DEBUG httpclient.wire.content  - << "[0x9]at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)[\n]"
> 4127 DEBUG httpclient.wire.content  - << "[0x9]at 
> org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)[\n]"
> 4127 DEBUG httpclient.wire.content  - << "[0x9]at 
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)[\n]"
> 4127 DEBUG httpclient.wire.content  - << "[0x9]at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)[\n]"
> 4127 DEBUG httpclient.wire.content  - << "[0x9]at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)[\n]"
> 4127 DEBUG httpclient.wire.content  - << "[0x9]at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)[\n]"
> 4127 DEBUG httpclient.wire.content  - << "[0x9]at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)[\n]"
> 4127 DEBUG httpclient.wire.content  - << "[0x9]at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)[\n]"
> 4127 DEBUG httpclient.wire.content  - << "[0x9]at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)[\n]"
> 4127 DEBUG httpclient.wire.content  - << "[0x9]at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)[\n]"
> 4127 DEBUG httpclient.wire.content  - << "[0x9]at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)[\n]"
> 4127 DEBUG httpclient.wire.content  - << "[0x9]at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)[\n]"
> 4128 DEBUG httpclient.wire.content  - << "[0x9]at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)[\n]"
> 4128 DEBUG httpclient.wire.content  - << "[0x9]at 
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)[\n]"
> 4128 DEBUG httpclient.wire.content  - << "[0x9]at 
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)[\n]"
> 4128 DEBUG httpclient.wire.content  - << "[0x9]at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)[\n]"
> 4128 DEBUG httpclient.wire.content  - << "[0x9]at 
> java.lang.Thread.run(Thread.jav"
> 4130 DEBUG httpclient.wire.content  - << "a:595)[\n]"
> 4130 DEBUG httpclient.wire.content  - << "</ns2:stackTrace>[\n]"
> 4130 DEBUG httpclient.wire.content  - << "    <ns3:hostname 
> xmlns:ns3="http://xml.apache.org/axis/">cddlm.nec-labs.com</ns3:hostname>[\n]"
> 4130 DEBUG httpclient.wire.content  - << "   </detail>[\n]"
> 4130 DEBUG httpclient.wire.content  - << "  </soapenv:Fault>[\n]"
> 4130 DEBUG httpclient.wire.content  - << " </soapenv:Body>[\n]"
> 4130 DEBUG httpclient.wire.content  - << "</soapenv:Envelope>"
> Error:org.smartfrog.services.deployapi.test.system.alpine.deployapi.api.portal.Api_01_portal_wsdm_properties_Test 
> on chamonix
> testResourceId
> org.smartfrog.projects.alpine.faults.SoapException
> 
> 
> 
> The stack trace points to a bit in Axis where we wrap a runtime fault 
> thrown further down; it doesnt point to the underlying fault.
> 
> -steve





More information about the cddlm-wg mailing list