Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] SAXParseException with PE JAXB resource manager

Hi Dave,

this problem has nothing to do with the stdout output. The error
messages says that something is wrong with the XML file generate on the
server side for the monitoring part. The validation against the LML
schema fails.

We are not quite sure what exactly the problem is with the XML file.
Therefore we need further information. Please log onto the PE system and
go into the .eclipsesettings folder. There run the commands

perl LML_da_driver.pl samples/layout_default.pl test.xml

llq -l > llq.out
llstatus -l > llstatus.out

and please send me the generated files.

Kind regards,
Claudia


On 01/07/12 15:08, Dave Wootton wrote:

I modified my PE JAXB resource manager to specify

         <monitor-data schedulerType="PE">
                 <driver>
                         <name></name>
                 </driver>
         </monitor-data>

When I start the resource manager and when I run my test program I get the following exception

org.xml.sax.SAXParseException: cvc-complex-type.2.4.b: The content of element 'scheme' is not complete. One of '{el1}' is expected.
         at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
         at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
         at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source)
         at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
         at org.apache.xerces.impl.xs.XMLSchemaValidator.elementLocallyValidComplexType(Unknown Source)
         at org.apache.xerces.impl.xs.XMLSchemaValidator.elementLocallyValidType(Unknown Source)
         at org.apache.xerces.impl.xs.XMLSchemaValidator.processElementContent(Unknown Source)
         at org.apache.xerces.impl.xs.XMLSchemaValidator.handleEndElement(Unknown Source)
         at org.apache.xerces.impl.xs.XMLSchemaValidator.endElement(Unknown Source)
         at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.jaxp.validation.StreamValidatorHelper.validate(Unknown Source)
         at org.apache.xerces.jaxp.validation.ValidatorImpl.validate(Unknown Source)
         at javax.xml.validation.Validator.validate(Unknown Source)
         at org.eclipse.ptp.rm.lml.core.util.JAXBUtil.validate(JAXBUtil.java:245)
         at org.eclipse.ptp.rm.lml.core.util.JAXBUtil.unmarshal(JAXBUtil.java:530)
         at org.eclipse.ptp.rm.lml.internal.core.model.LguiItem.update(LguiItem.java:475)
         at org.eclipse.ptp.rm.lml.core.LMLManager.update(LMLManager.java:261)
         at org.eclipse.ptp.rm.lml.monitor.core.LMLResourceManagerMonitor$MonitorJob.run(LMLResourceManagerMonitor.java:92)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

The active Jobs view and the Inactive Jobs views have column headings step, owner, queue, wall, queuedata, dispatch date, totalcores and status. The active jobs view updates to show an entry for my application very briefly, 1 second or less, when the application terminates, then the inactive jobs view is updated with the job info. Stdout output seems to be held until the application terminates then is displayed in the console window.

If I specify the schedulerType as OPENMPI, then I don't get the exception, the job appears in the Active Jobs view and moves to the Inactive Jobs view, but there is only a single column displaying the job id in both views.

I also have a stdout-parser defined

                         <stdout-parser delim="\n">
                                 <target ref="@jobId">
                                         <match>
                                                 <expression>::::PoePid=([0-9]+)::::</expression>
                                                 <set field="name">
                                                         <entry valueGroup="1"/>
                                                 </set>
                                                 <set field="value">
                                                         <entry value="RUNNING"/>
                                                 </set>
                                         </match>
                                 </target>
                         </stdout-parser>

Could that have anything to do with the stdout output apparently being buffered?


Dave



------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

Kennen Sie schon unsere app? http://www.fz-juelich.de/app


Back to the top