java.io.FileNotFoundException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When getting access to a PS/CDA L3, I get this error in the log: 2013-03-19 15:03:21,786 [http-bio-13080-exec-2] DEBUG eu.epsos.pt.ws.client.xca.transformation.TMServices - STARTING TRANSLATING DOCUMENT TO: null. 2013-03-19 15:03:21,787 [http-bio-13080-exec-2] DEBUG epsos.ccd.posam.tm.service.impl.TransformationService - translate BEGIN 2013-03-19 15:03:21,825 [http-bio-13080-exec-2] ERROR epsos.ccd.posam.tm.service.impl.TransformationService - Schema validation error, input document is invalid! java.io.FileNotFoundException: /local/opt/openncp/TM_resources/schema/CDA_extended.xsd (No such file or directory) 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.traversers.XSDHandler.reportSchemaError(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument1(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source) at org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(Unknown Source) at javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:594) at epsos.ccd.posam.tm.util.Validator.validateToSchema(Validator.java:43) at epsos.ccd.posam.tm.service.impl.TransformationService.process(TransformationService.java:192) The path "/local/opt/openncp/TM_resources/schema/CDA_extended.xsd" corresponds indeed to "$HOME/TM_resources/schema/CDA_extended.xsd" and not "$EPSOS_PROPS_PATH/TM_resources/schema/CDA_extended.xsd". There is a comment in ./work/Catalina/localhost/epsos-client-connector/loader/ctx_tm.xml & ./work/Catalina/localhost/epsos-server-connector/loader/ctx_tm.xml about missing initializers for TMConfiguration. Could it be related to that? Thanks!
    via by Stéphane Spahni,
    • java.io.FileNotFoundException: /local/opt/openncp/TM_resources/schema/CDA_extended.xsd (No such file or directory) 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.traversers.XSDHandler.reportSchemaError(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument1(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source) at org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(Unknown Source) at javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:594) at epsos.ccd.posam.tm.util.Validator.validateToSchema(Validator.java:43) at epsos.ccd.posam.tm.service.impl.TransformationService.process(TransformationService.java:192)
    No Bugmate found.