perfsonar-dev - Re: [pS-dev] Problem with SQL-MA!!
Subject: perfsonar development work
List archive
- From: Nicolas Simar <>
- To: Maciej Glowiak <>
- Cc: Roman Lapacz <>, "Asif, Mohammad" <>, , "Li, Yee-Ting" <>
- Subject: Re: [pS-dev] Problem with SQL-MA!!
- Date: Wed, 13 Dec 2006 14:49:52 +0000
Maciej Glowiak wrote:
Nicolas,
I'd say, the key for this problem is "java.lang.reflect.InvocationTargetException" exception. So:
Q: After deploying while running the service or trying to contact the service for the first time I get:
java.lang.reflect.InvocationTargetException
exception. What's wrong?
A: Not all JAR files (libraries) were properly copied to tomcat or tomcat wasn't restarted after perfSONAR service deployment. Try to deploy the service for the second time (or check whether all required JARS were put into Tomcat libraries directory).
If it was I that had to deploy the service, I would ask you:
- what jar should be there? (tell me where I can find the list of them)
- where should they be (where can I find the tomcat libraries).
I believe that with those two pieces of information, that should be sufficient.
Nicolas
Perhaps it needs to be re-written in more proper way. ;-)
Maciej
Nicolas Simar wrote:
Excellent suggestion! I am suggesting below a wording for the FAQ (please check it, I have listed few questions in [...])
(I don't know if it has to go on the perfsonar, on the wiki or on the wiki page for the tool) Suggestions?
Q: When installing a service and going through all the steps of the installation guide, when testing, I get the following error:
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.MetadataKeyReques
[Is it the proper piece of text to have to describe the error?]
A: This error message appears
(i) when some jars (or maybe just one) are missing in Tomcat after the deploy operation. (the deploy operation copies a set of jars into Tomcat). The list Jar names you should see in [WHERE?] can be found in the following ANT files:
- For SQL MA: axis-deploy-targets.xml and sqlma-axis-deploy-targets.xml (see copy targets) [what does "see copy targets" means]
- For RRD MA: [WHICH ONES?]
(ii) or you have all jars but Tomcat wasn't restarted.
Nicolas
Maciej Glowiak wrote:
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
--
Nicolas
______________________________________________________________________
Nicolas Simar
Network Engineer
DANTE - www.dante.net
Tel - BE: +32 (0) 4 366 93 49
Tel - UK: +44 (0)1223 371 300
Mobile: +44 (0) 7740 176 883
City House, 126-130 Hills Road
Cambridge CB2 1PQ
UK
_____________________________________________________________________
- Problem with SQL-MA!!, Asif, Mohammad, 12/12/2006
- Re: [pS-dev] Problem with SQL-MA!!, Roman Lapacz, 12/13/2006
- Re: [pS-dev] Problem with SQL-MA!!, Nicolas Simar, 12/13/2006
- Re: [pS-dev] Problem with SQL-MA!!, Roman Lapacz, 12/13/2006
- Re: [pS-dev] Problem with SQL-MA!!, Maciej Glowiak, 12/13/2006
- Re: [pS-dev] Problem with SQL-MA!!, Nicolas Simar, 12/13/2006
- Re: [pS-dev] Problem with SQL-MA!!, Maciej Glowiak, 12/13/2006
- Re: [pS-dev] Problem with SQL-MA!!, Nicolas Simar, 12/13/2006
- Re: [pS-dev] Problem with SQL-MA!!, Loukik Kudarimoti, 12/13/2006
- RE: [pS-dev] Problem with SQL-MA!!, Asif, Mohammad, 12/13/2006
- RE: [pS-dev] Problem with SQL-MA!!, Asif, Mohammad, 12/14/2006
- Re: [pS-dev] Problem with SQL-MA!!, Loukik Kudarimoti, 12/15/2006
- RE: [pS-dev] Problem with SQL-MA!!, Asif, Mohammad, 12/15/2006
- Re: [pS-dev] Problem with SQL-MA!!, Maciej Glowiak, 12/13/2006
- Re: [pS-dev] Problem with SQL-MA!!, Nicolas Simar, 12/13/2006
- Re: [pS-dev] Problem with SQL-MA!!, Maciej Glowiak, 12/13/2006
- Re: [pS-dev] Problem with SQL-MA!!, Roman Lapacz, 12/13/2006
- Re: [pS-dev] Problem with SQL-MA!!, Nicolas Simar, 12/13/2006
- Re: [pS-dev] Problem with SQL-MA!!, Roman Lapacz, 12/13/2006
Archive powered by MHonArc 2.6.16.