Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] problems with soapclient?

Subject: perfsonar development work

List archive

Re: [pS-dev] problems with soapclient?


Chronological Thread 
  • From: ulisses <>
  • To: Roman Lapacz <>
  • Cc:
  • Subject: Re: [pS-dev] problems with soapclient?
  • Date: Wed, 6 Sep 2006 11:18:35 +0200


Hi Roman!

On 2006-09-05 14:59:56, Roman Lapacz wrote:
>
> I think you didn't create Ant script for downloading the libraries (some
> time ago I sent email with the request to you and other service
> developers to do it). Also deployment Ant scripts have changed because
> of different library names and locations in lib directory.

yes, you are right: I forgot to add my new build files to the repository.

in any case, please note that the problem is with the soapclient which
is not part of the topology service, but a generic tool.

again, please note that there is a classpath reference that is not defined.

I think there should be an axis-tasks.properties file but it doesn't exist
in the svn repository.

Ulisses


> ulisses wrote:
> >On 2006-09-05 13:15:10, Roman Lapacz wrote:
> >
> >>Few days ago I've replaced jdom with Xerces in the client class. It
> >>works OK. The error I see might be a result of missing some jars in
> >>tomcat $TOMCAT/webapps/axis/WEB-INF/lib/ (Xerces classes are copied
> >>there by default, see axis-deploy-targets.xml).
> >>
> >
> >I have the same libraries referenced by the axis-deploy targets, but maybe
> >not
> >the exact version
> >
> >I currently cannot run successfully the target copy-jars-for-service:
> >
> >ulisses@tux:~/rediris/jra1/perfsonar/ant$
> > ant -f axis-deploy-targets.xml
> >copy-jars-for-service
> >Buildfile: axis-deploy-targets.xml
> >
> >BUILD FAILED
> >/home/ulisses/rediris/jra1/perfsonar/ant/axis-deploy-targets.xml:17:
> >Reference classpath not found.
> >
> >Total time: 0 seconds
> >
> >
> >I think that is because the axis-tasks.properties file is not in the svn
> >
> >am I right?
> >
> >regards
> >
> > Ulisses
> >
> >PD: anyway my library listing follows:
> >
> >ulisses@tux:~/rediris/jra1/perfsonar/ant$
> > ls -l
> >$CATALINA_HOME/webapps/axis/WEB-INF/lib
> >total 11700
> >-rw-r--r-- 1 ulisses ulisses 54829 2006-07-14 13:45 activation.jar
> >-rw-r--r-- 1 ulisses ulisses 33506 2006-04-18 17:43 axis-ant.jar
> >-rw-r--r-- 1 ulisses ulisses 1604162 2006-04-18 17:43 axis.jar
> >-rw-r--r-- 1 ulisses ulisses 71442 2006-04-18 17:43
> >commons-discovery-0.2.jar
> >-rw-r--r-- 1 ulisses ulisses 38015 2006-04-18 17:43
> >commons-logging-1.0.4.jar
> >-rw-r--r-- 1 ulisses ulisses 42364 2006-05-31 09:33 commons-pool-1.1.jar
> >-rw-r--r-- 1 ulisses ulisses 46556 2006-07-14 13:45 commons-pool-1.2.jar
> >-rw-r--r-- 1 ulisses ulisses 2879468 2006-07-14 13:45 exist.jar
> >-rw-r--r-- 1 ulisses ulisses 32071 2006-04-18 17:43 jaxrpc.jar
> >-rw-r--r-- 1 ulisses ulisses 146708 2006-07-14 13:44 jdom.jar
> >-rw-r--r-- 1 ulisses ulisses 635 2006-07-14 12:09 list.maciej
> >-rw-r--r-- 1 ulisses ulisses 352668 2006-04-18 17:43 log4j-1.2.8.jar
> >-rw-r--r-- 1 ulisses ulisses 347448 2006-07-14 13:45 mail.jar
> >-rw-r--r-- 1 ulisses ulisses 405706 2006-07-28 09:42
> >perfSONAR-generic.jar
> >-rw-r--r-- 1 ulisses ulisses 17531 2006-09-05 12:36 perfSONAR-tops.jar
> >-rw-r--r-- 1 ulisses ulisses 53896 2006-07-17 08:59 perfSONAR-xmlls.jar
> >-rw-r--r-- 2 ulisses ulisses 402505 2006-05-05 15:02
> >postgresql-8.1-405.jdbc3.jar
> >-rw-r--r-- 1 ulisses ulisses 64622 2006-07-14 13:44 resolver.jar
> >-rw-r--r-- 1 ulisses ulisses 19427 2006-04-18 17:43 saaj.jar
> >-rw-r--r-- 1 ulisses ulisses 126771 2006-04-18 17:43 wsdl4j-1.5.1.jar
> >-rw-r--r-- 1 ulisses ulisses 3149484 2006-07-14 13:44 xalan.jar
> >-rw-r--r-- 1 ulisses ulisses 1010675 2006-07-14 13:44 xercesImpl.jar
> >-rw-r--r-- 1 ulisses ulisses 134936 2006-07-14 13:45 xercesSamples.jar
> >-rw-r--r-- 1 ulisses ulisses 194205 2006-07-14 13:45 xml-apis.jar
> >-rw-r--r-- 1 ulisses ulisses 13366 2006-07-14 13:45 xmldb.jar
> >-rw-r--r-- 1 ulisses ulisses 124724 2006-07-14 13:45 xmlParserAPIs.jar
> >-rw-r--r-- 1 ulisses ulisses 115998 2006-07-14 13:45
> >xmlrpc-1.2-patched.jar
> >-rw-r--r-- 1 ulisses ulisses 363304 2006-07-14 13:45 xmlsec.jar
> >
> >
> >
> >>Roman
> >>
> >>
> >>
> >>ulisses wrote:
> >>
> >>>Hi all
> >>>
> >>>Some days ago I had problems with soapclient, today downloading the
> >>>lastest version and modifying
> >>>the ant files I could get it working again. But problems haven't gone:
> >>>now I trigger the following problem:
> >>>
> >>>can anybody explaining me what is going on? I don't see any output in
> >>>the response file
> >>>or an error in the catalina log.
> >>>
> >>>any comment/suggestion will be greatly appreciated
> >>>
> >>>btw: I'm using trunk wich I think it is the suggested version
> >>>
> >>> Ulisses
> >>>
> >>>
> >>>ulisses@tux:~/rediris/jra1/perfsonar/ant$
> >>> ant -f build-tops.xml
> >>>tops-download-db
> >>>Buildfile: build-tops.xml
> >>>Overriding previous definition of reference to classpath
> >>>
> >>>tops-download-db:
> >>> [java] End point:
> >>> http://tux.rediris.es:8080/axis/services/TopologyService
> >>> [java] Request file:
> >>>
> >>> /home/ulisses/rediris/jra1/perfsonar/schema/example-instances/sonar/TOPS/test/TOPSDownloadDBRequest.xml
> >>> [java] Response file:
> >>>
> >>> /home/ulisses/rediris/jra1/perfsonar/schema/example-instances/sonar/TOPS/test/TOPSDownloadDBResponse.xml
> >>> [java] SOAPClient.makeRequest: General exception encountered by
> >>> client
> >>> [java] AxisFault
> >>> [java] faultCode:
> >>> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> >>> [java] faultSubcode:
> >>> [java] faultString: java.lang.reflect.InvocationTargetException
> >>> [java] faultActor:
> >>> [java] faultNode:
> >>> [java] faultDetail:
> >>> [java] {http://xml.apache.org/axis/}hostname:tux
> >>> [java] Client exiting
> >>>
> >>> [java] java.lang.reflect.InvocationTargetException
> >>> [java] at
> >>>
> >>> org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
> >>> [java] at
> >>>
> >>> org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
> >>> [java] at
> >>>
> >>> org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
> >>> [java] at
> >>> org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
> >>> Source)
> >>> [java] at
> >>>
> >>> org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
> >>> Source)
> >>> [java] at
> >>>
> >>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
> >>> Source)
> >>> [java] at
> >>>
> >>> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> >>> Source)
> >>> [java] at
> >>> org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> >>> [java] at
> >>> org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> >>> [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown
> >>> Source)
> >>> [java] at
> >>> org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> >>> [java] at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
> >>> [java] at
> >>>
> >>> org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
> >>> [java] at
> >>> org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
> >>> [java] at
> >>> org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
> >>> [java] at
> >>>
> >>> org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
> >>> [java] at
> >>> org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
> >>> [java] at
> >>> org.apache.axis.client.Call.invokeEngine(Call.java:2784)
> >>> [java] at org.apache.axis.client.Call.invoke(Call.java:2767)
> >>> [java] at org.apache.axis.client.Call.invoke(Call.java:1792)
> >>> [java] at
> >>> org.perfsonar.client.testHarness.SOAPClient.makeRequest(Unknown
> >>> Source)
> >>> [java] at
> >>> org.perfsonar.client.testHarness.SOAPClient.main(Unknown Source)
> >>>
> >>>BUILD SUCCESSFUL
> >>>Total time: 32 seconds
> >>>
> >>>
> >>>
> >>--
> >>
> >>// PSNC, Poland
> >>// phone: (+48 61) 858 20 24
> >>// http://www.man.poznan.pl
> >>
> >>
> >>
> >
> >
>
>
> --
>
> // PSNC, Poland
> // phone: (+48 61) 858 20 24
> // http://www.man.poznan.pl
>
>



Archive powered by MHonArc 2.6.16.

Top of Page