java.io.FileNotFoundException: /local/opt/openncp/TM_resources/schema/CDA_extended.xsd (No such file or directory)

JIRA | Stéphane Spahni | 4 years ago
  1. 0

    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!

    JIRA | 4 years ago | Stéphane Spahni
    java.io.FileNotFoundException: /local/opt/openncp/TM_resources/schema/CDA_extended.xsd (No such file or directory)
  2. 0

    The path for the International search mask seems to be not correct (or I missed a configuration somewhere): it looks for a directory "webapps/epsosportal/forms" instead of "webapps/epsosportal/WEB-INF/classes/forms" (as it was before). Should I move it or is it a bug? 581051 ERROR com.gnomon.epsos.service.EpsosHelperService getCountryDemographicsFromCS.1850 - java.io.FileNotFoundException: /opt/openncp/OpenNCP/liferay-portal-6.2.0-ce-ga1/tomcat-7.0.42/webapps/epsosportal/forms/InternationalSearch_CH.xml (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:146) at java.io.FileInputStream.<init>(FileInputStream.java:101) at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90) at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:205) at com.gnomon.epsos.service.EpsosHelperService.getCountryDemographicsFromCS(EpsosHelperService.java:1807) at com.gnomon.epsos.service.EpsosHelperService.getCountryDemographicsFromCS(EpsosHelperService.java:1860) at com.gnomon.epsos.model.NcpBean.setIdentifiers(NcpBean.java:66) at com.gnomon.epsos.model.NcpBean.<init>(NcpBean.java:36)

    JIRA | 2 years ago | Stéphane Spahni
    java.io.FileNotFoundException: /opt/openncp/OpenNCP/liferay-portal-6.2.0-ce-ga1/tomcat-7.0.42/webapps/epsosportal/forms/InternationalSearch_CH.xml (No such file or directory)
  3. 0

    I'm trying to restore a 2.4.4 backup into 2.5.0 using Oracle and I keep getting the following error: {noformat} Creating table definitions... java.io.IOException: Error talking to database: Problem opening create tables script at com.atlassian.crucible.migration.item.SQLBackup.restore(SQLBackup.java:205) at com.atlassian.crucible.migration.item.SQLBackup$1.restore(SQLBackup.java:172) at com.cenqua.fisheye.ctl.Restore.run(Restore.java:159) at com.cenqua.fisheye.ctl.Restore.main(Restore.java:228) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:113) at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:41) Caused by: com.cenqua.crucible.hibernate.CruDBException: Problem opening create tables script at com.cenqua.crucible.hibernate.DefaultDBControl.createTables(DefaultDBControl.java:279) at com.atlassian.crucible.migration.item.DBImporter.importData(DBImporter.java:127) at com.atlassian.crucible.migration.item.SQLBackup.restore(SQLBackup.java:191) ... 9 more Caused by: java.io.FileNotFoundException: /usr/local/fecru/fecru-2.5.0/sql/ORACLE/schema/tables_69.sql (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileReader.<init>(FileReader.java:55) at com.cenqua.crucible.hibernate.DefaultDBControl.createTables(DefaultDBControl.java:274) ... 11 more {noformat} Steps to reproduce: 1. Create a backup (without cache) in Crucible 2.4.4. 2. Shut down Crucible 2.4.4. 3. Install Crucible 2.5.0. 4. Try running the restore from the command line: {noformat}./fisheyectl.sh restore --file /usr/local/fecru/fecru-2.4.4/backup/backup_2011-08-02_0903.zip --dbtype oracle --jdbcurl jdbc:oracle:thin:@localhost:1521/XE --username crucible --password crucible{noformat}

    Atlassian JIRA | 6 years ago | Dylan Hansen [Atlassian]
    java.io.IOException: Error talking to database: Problem opening create tables script
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Nutch - does not crawl, says "Stopping at depth=1 - no more URLs to fetch"

    Stack Overflow | 4 years ago | Abhay
    java.io.FileNotFoundException: /opt/apache-nutch-1.4-bin/runtime/local/logs/hadoop.log (No such file or directory)
  6. 0

    I'm trying to restore a 2.4.4 backup into 2.5.0 using Oracle and I keep getting the following error: {noformat} Creating table definitions... java.io.IOException: Error talking to database: Problem opening create tables script at com.atlassian.crucible.migration.item.SQLBackup.restore(SQLBackup.java:205) at com.atlassian.crucible.migration.item.SQLBackup$1.restore(SQLBackup.java:172) at com.cenqua.fisheye.ctl.Restore.run(Restore.java:159) at com.cenqua.fisheye.ctl.Restore.main(Restore.java:228) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:113) at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:41) Caused by: com.cenqua.crucible.hibernate.CruDBException: Problem opening create tables script at com.cenqua.crucible.hibernate.DefaultDBControl.createTables(DefaultDBControl.java:279) at com.atlassian.crucible.migration.item.DBImporter.importData(DBImporter.java:127) at com.atlassian.crucible.migration.item.SQLBackup.restore(SQLBackup.java:191) ... 9 more Caused by: java.io.FileNotFoundException: /usr/local/fecru/fecru-2.5.0/sql/ORACLE/schema/tables_69.sql (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileReader.<init>(FileReader.java:55) at com.cenqua.crucible.hibernate.DefaultDBControl.createTables(DefaultDBControl.java:274) ... 11 more {noformat} Steps to reproduce: 1. Create a backup (without cache) in Crucible 2.4.4. 2. Shut down Crucible 2.4.4. 3. Install Crucible 2.5.0. 4. Try running the restore from the command line: {noformat}./fisheyectl.sh restore --file /usr/local/fecru/fecru-2.4.4/backup/backup_2011-08-02_0903.zip --dbtype oracle --jdbcurl jdbc:oracle:thin:@localhost:1521/XE --username crucible --password crucible{noformat}

    Atlassian JIRA | 6 years ago | Dylan Hansen [Atlassian]
    java.io.IOException: Error talking to database: Problem opening create tables script

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.FileNotFoundException

      /local/opt/openncp/TM_resources/schema/CDA_extended.xsd (No such file or directory)

      at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException()
    2. Xerces2-j
      XMLSchemaFactory.newSchema
      1. org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
      2. org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
      3. org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      4. org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      5. org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown Source)
      6. org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument1(Unknown Source)
      7. org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(Unknown Source)
      8. org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source)
      9. org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)
      10. org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source)
      11. org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source)
      12. org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(Unknown Source)
      12 frames
    3. Java RT
      SchemaFactory.newSchema
      1. javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:594)
      1 frame
    4. epsos.ccd.posam
      TransformationService.process
      1. epsos.ccd.posam.tm.util.Validator.validateToSchema(Validator.java:43)
      2. epsos.ccd.posam.tm.service.impl.TransformationService.process(TransformationService.java:192)
      2 frames