perfsonar-dev - Re: [pS-dev] perfsonar: r2738 - branches/new-structure/trunk/perfsonar_base/src/main/java/org/perfsonar/service/base/engine
Subject: perfsonar development work
List archive
Re: [pS-dev] perfsonar: r2738 - branches/new-structure/trunk/perfsonar_base/src/main/java/org/perfsonar/service/base/engine
Chronological Thread
- From: Maciej Glowiak <>
- To: Roman Lapacz <>
- Cc: Michael Bischoff <>, "" <>
- Subject: Re: [pS-dev] perfsonar: r2738 - branches/new-structure/trunk/perfsonar_base/src/main/java/org/perfsonar/service/base/engine
- Date: Tue, 28 Aug 2007 16:11:49 +0200
Roman Lapacz wrote:
Michael,
I wanted to test you recent changes in the base to be sure they can work with current service implementations so I created new jar and run my RRD MA. I sent one of my test requests and got error message in the response:
<?xml version="1.0" encoding="UTF-8"?>
<nmwg:message id="resultCodeMessage" xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
<nmwg:metadata id="resultCodeMetadata">
<nmwg:eventType>error.common.parse_error</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="resultDescriptionData_for_resultCodeMetadata" metadataIdRef="resultCodeMetadata">
<nmwgr:datum xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">Parse/validation error, Cannot convert request to Message.</nmwgr:datum>
</nmwg:data>
</nmwg:message>
I asked Maciej to test LS with that base and his LS also failed. Could you check that? I even think it would be good to go back to the state of the base before your changes until you fix the problem. Currently our services does not work correctly.
Michael,
I had the same problem. I tested the new psBase and got the same error as Roman. In the meanwhile I made small change in ComponentsConfigurationReader, but it's only parsing regular expression and it doesn't influent on the problem (now I tested my service with this change and without it and the result is always the same).
I got some logger information in catalina.out:
--------------------------------------------------------------------------
28 sie 2007 15:36:10,368 [main] WARN (JavaUtils.java [isAttachmentSupported]:1305) - Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
2007-08-28 15:36:11 org.perfsonar.base.auxiliary.AuxiliaryComponentManager initManager
INFO: AuxiliaryComponentManager.initManager: Read config file name as: /home/mac/projects/perfsonar/new-structure/trunk/webapps/XML-LS-1.2/WEB-INF/classes/perfsonar/conf/components.properties
2007-08-28 15:36:11 org.perfsonar.base.auxiliary.components.configuration.properties.PropertiesConfigurationComponent initComponent
INFO: PropertiesConfigurationComponent.initComponent: Read the file name as: /home/mac/projects/perfsonar/new-structure/trunk/webapps/XML-LS-1.2/WEB-INF/classes/perfsonar/conf/service.properties
PerfSONAR:WARNING: perfsonar logging not configured correctly. (specified logging properties file not found.)
log4j:WARN No appenders could be found for logger (org.apache.axis.transport.http.AxisServlet).
log4j:WARN Please initialize the log4j system properly.
2007-08-28 15:36:12 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
--------------------------------------------------------------------------
I got the same info when was trying to run service without tomcat, just for testing:
--------------------------------------------------------------------------
test-register:
[java] Test: LS TESTING: [query] in [RequestHandler]
[java] Test: XML File = file:///home/mac/projects/perfsonar/new-structure/trunk/geant2_java-xml-ls/samples/requests/LSRegisterRequest.xml
[java] 2007-08-28 16:10:29 org.perfsonar.base.auxiliary.AuxiliaryComponentManager initManager
[java] INFO: AuxiliaryComponentManager.initManager: Read config file name as: /home/mac/projects/perfsonar/new-structure/trunk/geant2_java-xml-ls/build/perfsonar/conf/components.properties
[java] 2007-08-28 16:10:29 org.perfsonar.base.auxiliary.components.configuration.properties.PropertiesConfigurationComponent initComponent
[java] INFO: PropertiesConfigurationComponent.initComponent: Read the file name as: /home/mac/projects/perfsonar/new-structure/trunk/geant2_java-xml-ls/build/perfsonar/conf/service.properties
[java] PerfSONAR:WARNING: perfsonar logging not configured correctly. (specified logging properties file not found.)
[java] - RequestHandler: Service received a request
[java] - Sax parser config could not be found. (lookup failed)
[java] - RequestHandler: Service sent a response with error information
[java] Output [436b]: <?xml version="1.0" encoding="UTF-8"?>
[java] <nmwg:message id="resultCodeMessage">
[java] <nmwg:metadata id="resultCodeMetadata">
[java] <nmwg:eventType>error.common.parse_error</nmwg:eventType>
[java] </nmwg:metadata>
[java] <nmwg:data id="resultDescriptionData_for_resultCodeMetadata" metadataIdRef="resultCodeMetadata">
[java] <nmwgr:datum>Parse/validation error, Cannot convert request to Message.</nmwgr:datum>
[java] </nmwg:data>
[java] </nmwg:message>
--------------------------------------------------------------------------
Could you investigate this problem?
Best regards
Maciej
--
--------------------------------------------------------------------
| Maciej Glowiak Network Research and Development ||
|
Poznan Supercomputing and Networking Center ||
| (+48 61) 858 2024 -- skype_id: maciej_psnc GG: 4526858 ||
====================================================================
- perfsonar: r2738 - branches/new-structure/trunk/perfsonar_base/src/main/java/org/perfsonar/service/base/engine, svnlog, 08/27/2007
- Re: [pS-dev] perfsonar: r2738 - branches/new-structure/trunk/perfsonar_base/src/main/java/org/perfsonar/service/base/engine, Roman Lapacz, 08/28/2007
- Re: [pS-dev] perfsonar: r2738 - branches/new-structure/trunk/perfsonar_base/src/main/java/org/perfsonar/service/base/engine, Roman Lapacz, 08/28/2007
- Re: [pS-dev] perfsonar: r2738 - branches/new-structure/trunk/perfsonar_base/src/main/java/org/perfsonar/service/base/engine, Maciej Glowiak, 08/28/2007
- Re: [pS-dev] perfsonar: r2738 - branches/new-structure/trunk/perfsonar_base/src/main/java/org/perfsona r/service/base/engine, Michael Bischoff, 08/28/2007
- Re: [pS-dev] perfsonar: r2738 - branches/new-structure/trunk/perfsonar_base/src/main/java/org/perfsona r/service/base/engine, Michael Bischoff, 08/29/2007
- Re: [pS-dev] perfsonar: r2738 - branches/new-structure/trunk/perfsonar_base/src/main/java/org/perfsona r/service/base/engine, Michael Bischoff, 08/28/2007
- Re: [pS-dev] perfsonar: r2738 - branches/new-structure/trunk/perfsonar_base/src/main/java/org/perfsonar/service/base/engine, Maciej Glowiak, 08/28/2007
- Re: [pS-dev] perfsonar: r2738 - branches/new-structure/trunk/perfsonar_base/src/main/java/org/perfsonar/service/base/engine, Roman Lapacz, 08/28/2007
- Re: [pS-dev] perfsonar: r2738 - branches/new-structure/trunk/perfsonar_base/src/main/java/org/perfsonar/service/base/engine, Roman Lapacz, 08/28/2007
Archive powered by MHonArc 2.6.16.