Skip to Content.
Sympa Menu

perfsonar-dev - Re: SQL MA installation problem

Subject: perfsonar development work

List archive

Re: SQL MA installation problem


Chronological Thread 
  • From: Roman Lapacz <>
  • To: Michael Michalis <>
  • Cc: Loukik Kudarimoti <>,
  • Subject: Re: SQL MA installation problem
  • Date: Thu, 14 Dec 2006 10:25:30 +0100

Michael Michalis wrote:

Hi again guys,

I’m running the test for utilization data storing and I’m getting this response:


You have to solutions:

1. put in service.properties file new property service.ma.sql.default_ibatis_config with name of ibatis file which should be present in new key in the metadata configuration file
2. put in request's metadata block a parameter with name ibatisConfig and ibatis file name as value

example:

<nmwg:metadata id="meta1">
<nmwg:subject id="subject1">
<nmtl2:link>
<nmtl2:globalName type="logical">PSNC-DFN-MUE-003</nmtl2:globalName>
</nmtl2:link>
</nmwg:subject>
<nmwg:eventType>Path.Status</nmwg:eventType>
<nmwg:parameters>
<nmwg:parameter name="ibatisConfig">ibatis-SqlMapConfig-utilization.xml<nmwg:parameter>
</nmwg:parameters>
</nmwg:metadata>


Roman


<?xml version="1.0" encoding="UTF-8"?>

<nmwg:message id="msg4_resp" messageIdRef="msg4"

type="MeasurementArchiveStoreResponse" xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";>

<nmwg:metadata id="resultCodeMetadata">

<nmwg:eventType>error.ma.sql.db_connection.ibatis</nmwg:eventType>

</nmwg:metadata>

<nmwg:data id="resultDescriptionData_for_resultCodeMetadata" metadataIdRef="resultCodeMetadata">

<nmwgr:datum xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/";>SQLTypeMAServiceEngine.getStoreKey: No default ibatis property in the service configuration file</nmwgr:datum>

</nmwg:data>

</nmwg:message>

For the xmldb configuration file I used the sql.database_TEST.xml file.

Michalis



--

// PSNC, Poland
// phone: (+48 61) 858 20 24
// http://www.man.poznan.pl




Archive powered by MHonArc 2.6.16.

Top of Page