Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Problem with SQL-MA!!

Subject: perfsonar development work

List archive

Re: [pS-dev] Problem with SQL-MA!!


Chronological Thread 
  • From: Maciej Glowiak <>
  • To: Roman Lapacz <>
  • Cc: Nicolas Simar <>, "Asif, Mohammad" <>, , "Li, Yee-Ting" <>
  • Subject: Re: [pS-dev] Problem with SQL-MA!!
  • Date: Wed, 13 Dec 2006 12:59:08 +0100
  • Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA CXBIWXMAAEU1AABFNQF8gVf5AAAAB3RJTUUH1QYQDjo6uEWvwgAAAM5JREFUGNNN0LFqAkEUheGj KRZsfATrvENgYyH4APabxwgWGUUQC99BsNDCInUq7VImbbDZ0kayxBXMuN7jvTuKVh//mZlmQKZ1 EhQ8GAVgZECspEBdWQHRjR70KlgFKkoUaCw3ijSYQ4n5HfBK4a4jDcdDQPol/80Sr9BxZOOL4Fmr Jq8VBx7eopaSPvWGOm67fqol3j1q0XNs7Nk2cs6MU6gPNzf+ZGKQX4Ek8H6rAnFZnXB2vJxJcv8g C2P+WzL4tD+Txc4KydrIkh+eAdo01QbjQ84vAAAAAElFTkSuQmCC
  • Organization: Poznan Supercomputing and Networking Center

Hi,

It's very common problem for new users. It usually appears once a month.
Why don't we put it on http://www.perfsonar.net/faq.html ?

Maciej


Roman Lapacz wrote:
Nicolas Simar wrote:


Roman Lapacz wrote:
Asif, Mohammad wrote:

I have gone through all the required steps for installing the SQL-MA, mentioned at http://wiki.perfsonar.net/jra1-wiki/index.php/Java_SQL_MA_Service_Installation_Guide

The problem arrise, when I start testing it. It gives an error for which I don't have any idea what is happened wrong.


This error message appears usually when some jars (or maybe just one) are missing in Tomcat after deploy operation (deploy operation copies a set of jars into Tomcat). Or you have all jars but didn't restart Tomcat.

Hi Roman,
do you have a list of jars which should be there? For verification?

Jar names can be found in Ant files. For SQL MA: axis-deploy-targets.xml and sqlma-axis-deploy-targets.xml (see copy targets).

Roman


Cheers,
Nicolas

Roman


ant -f build-sqlma.xml run-sqlma-client-key-util
Buildfile: build-sqlma.xml

run-sqlma-client-key-util:
[java] End point: http://localhost:8080/axis/services/MeasurementArchiveService
[java] Request file: /opt/perfSONAR-SQL_MA-src-snapshot-20060907/perfsonar/schema/example-instances/sonar/MetadataKey-Req.xml
[java] Response file: /opt/perfSONAR-SQL_MA-src-snapshot-20060907/perfsonar/schema/example-instances/sonar/response.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:aegir

[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)
[java] Client exiting

BUILD SUCCESSFUL
Total time: 5 seconds

Error in catalina.out:

uxiliaryComponentManager.initManager: Read config file name as: /opt/perfSONAR-SQL_MA-src-snapshot-20060907/perfsonar/conf/components.properties
AUX ComponentManager create [config] = org.perfsonar.commons.auxiliary.components.configuration.properties.PropertiesConfigurationComponent
AUX ComponentManager: init [config]
AUX ComponentManager create [logger] = org.perfsonar.commons.auxiliary.components.logger.log4j.Log4jLoggerComponent
AUX ComponentManager: init [logger]
AUX ComponentManager create [eventType_config] = org.perfsonar.service.measurementArchive.eventTypeConfig.EventTypeConfigurationComponent
AUX ComponentManager: init [eventType_config]


Error in Perfsonar.log:
2006-12-12 15:36:55,683 INFO - RequestHandler: Service received a request
2006-12-12 15:36:55,700 DEBUG - RequestHandler: Calling on parser to parse the request
2006-12-12 15:36:56,117 DEBUG - RequestHandler: Trying to retrieve Message object from Handler
2006-12-12 15:36:56,117 INFO - RequestHandler: Message object constructed from request. Request is of type: MetadataKeyRequest
2006-12-12 15:36:56,120 DEBUG - MessageHandlerFactory: classname asked for is org.perfsonar.commons.messages.MetadataKeyRequest









--

--------------------------------------------------------------------
| Maciej Glowiak Network Research and Development ||
|

Poznan Supercomputing and Networking Center ||
| (+48 61) 858 2024 http://monstera.man.poznan.pl/ ||
====================================================================



Archive powered by MHonArc 2.6.16.

Top of Page