Error publishing from Protoge

Post Reply
gcoleman0828
Posts: 8
Joined: 09 Aug 2019, 18:26

Hello,

Trying to import from Protégé using the Essential Viewer tab in Protégé. and I am getting a File Not Found exception in Tomcat, please see error below:

Are there any known issues with some step I'm missing.

I looked in Tomcat and I do not see the file referenced, but I haven't deleted anything... any ideas?

Tomcat 8.5\webapps\essential_viewer\technology\api\core_api_views_it_asset_api_tl_get_all_tech_products_roles.xsl

2022-03-23 17:36:12,475 | ERROR | EasReportService: Could not clear Essential Viewer Cache successfully. | : | NO CONTEXT | EasReportService.java | 691
2022-03-23 17:36:13,693 | ERROR | Unmanaged exception caught when creating pre-cache Report API list : {} | : | NO CONTEXT | ReportAPIEngine.java | 414
javax.xml.transform.TransformerConfigurationException: net.sf.saxon.s9api.SaxonApiException: I/O error reported by XML parser processing file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/essential_viewer/technology/api/core_api_views_it_asset_api_tl_get_all_tech_products_roles.xsl: C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\essential_viewer\technology\api\core_api_views_it_asset_api_tl_get_all_tech_products_roles.xsl (The system cannot find the file specified)
at net.sf.saxon.jaxp.SaxonTransformerFactory.newTemplates(SaxonTransformerFactory.java:157)
at net.sf.saxon.jaxp.SaxonTransformerFactory.newTransformer(SaxonTransformerFactory.java:111)
at com.enterprise_architecture.essential.report.ReportAPIEngine.getPreCacheJson(ReportAPIEngine.java:393)
at com.enterprise_architecture.essential.report.ReportAPIEngine.access$000(ReportAPIEngine.java:69)
at com.enterprise_architecture.essential.report.ReportAPIEngine$ReportAPIRequestor.run(ReportAPIEngine.java:506)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: net.sf.saxon.s9api.SaxonApiException: I/O error reported by XML parser processing file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/essential_viewer/technology/api/core_api_views_it_asset_api_tl_get_all_tech_products_roles.xsl: C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\essential_viewer\technology\api\core_api_views_it_asset_api_tl_get_all_tech_products_roles.xsl (The system cannot find the file specified)
at net.sf.saxon.s9api.XsltCompiler.compile(XsltCompiler.java:843)
at net.sf.saxon.jaxp.SaxonTransformerFactory.newTemplates(SaxonTransformerFactory.java:154)
... 9 more
Caused by: net.sf.saxon.trans.XPathException: I/O error reported by XML parser processing file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/essential_viewer/technology/api/core_api_views_it_asset_api_tl_get_all_tech_products_roles.xsl: C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\essential_viewer\technology\api\core_api_views_it_asset_api_tl_get_all_tech_products_roles.xsl (The system cannot find the file specified)
at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:467)
at net.sf.saxon.event.Sender.send(Sender.java:168)
at net.sf.saxon.style.StylesheetModule.sendStylesheetSource(StylesheetModule.java:157)
at net.sf.saxon.style.StylesheetModule.loadStylesheet(StylesheetModule.java:229)
at net.sf.saxon.style.Compilation.compileSingletonPackage(Compilation.java:113)
at net.sf.saxon.s9api.XsltCompiler.compile(XsltCompiler.java:838)
... 10 more
Caused by: java.io.FileNotFoundException: C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\essential_viewer\technology\api\core_api_views_it_asset_api_tl_get_all_tech_products_roles.xsl (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:439)
... 15 more
---------
net.sf.saxon.s9api.SaxonApiException: I/O error reported by XML parser processing file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/essential_viewer/technology/api/core_api_views_it_asset_api_tl_get_all_tech_products_roles.xsl: C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\essential_viewer\technology\api\core_api_views_it_asset_api_tl_get_all_tech_products_roles.xsl (The system cannot find the file specified)
at net.sf.saxon.s9api.XsltCompiler.compile(XsltCompiler.java:843)
at net.sf.saxon.jaxp.SaxonTransformerFactory.newTemplates(SaxonTransformerFactory.java:154)
at net.sf.saxon.jaxp.SaxonTransformerFactory.newTransformer(SaxonTransformerFactory.java:111)
at com.enterprise_architecture.essential.report.ReportAPIEngine.getPreCacheJson(ReportAPIEngine.java:393)
at com.enterprise_architecture.essential.report.ReportAPIEngine.access$000(ReportAPIEngine.java:69)
at com.enterprise_architecture.essential.report.ReportAPIEngine$ReportAPIRequestor.run(ReportAPIEngine.java:506)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: net.sf.saxon.trans.XPathException: I/O error reported by XML parser processing file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/essential_viewer/technology/api/core_api_views_it_asset_api_tl_get_all_tech_products_roles.xsl: C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\essential_viewer\technology\api\core_api_views_it_asset_api_tl_get_all_tech_products_roles.xsl (The system cannot find the file specified)
at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:467)
at net.sf.saxon.event.Sender.send(Sender.java:168)
at net.sf.saxon.style.StylesheetModule.sendStylesheetSource(StylesheetModule.java:157)
at net.sf.saxon.style.StylesheetModule.loadStylesheet(StylesheetModule.java:229)
at net.sf.saxon.style.Compilation.compileSingletonPackage(Compilation.java:113)
at net.sf.saxon.s9api.XsltCompiler.compile(XsltCompiler.java:838)
... 10 more
Caused by: java.io.FileNotFoundException: C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\essential_viewer\technology\api\core_api_views_it_asset_api_tl_get_all_tech_products_roles.xsl (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:439)
... 15 more
2022-03-23 17:36:20,193 | ERROR | Unmanaged exception caught when creating pre-cache Report API list : {} | : | NO CONTEXT | ReportAPIEngine.java | 414
javax.xml.transform.TransformerConfigurationException: net.sf.saxon.s9api.SaxonApiException: I/O error reported by XML parser processing file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/essential_viewer/enterprise/api/core_el_group_actor_summary_api.xsl: C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\essential_viewer\enterprise\api\core_el_group_actor_summary_api.xsl (The system cannot find the file specified)
at net.sf.saxon.jaxp.SaxonTransformerFactory.newTemplates(SaxonTransformerFactory.java:157)
at net.sf.saxon.jaxp.SaxonTransformerFactory.newTransformer(SaxonTransformerFactory.java:111)
at com.enterprise_architecture.essential.report.ReportAPIEngine.getPreCacheJson(ReportAPIEngine.java:393)
at com.enterprise_architecture.essential.report.ReportAPIEngine.access$000(ReportAPIEngine.java:69)
at com.enterprise_architecture.essential.report.ReportAPIEngine$ReportAPIRequestor.run(ReportAPIEngine.java:506)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: net.sf.saxon.s9api.SaxonApiException: I/O error reported by XML parser processing file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/essential_viewer/enterprise/api/core_el_group_actor_summary_api.xsl: C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\essential_viewer\enterprise\api\core_el_group_actor_summary_api.xsl (The system cannot find the file specified)
at net.sf.saxon.s9api.XsltCompiler.compile(XsltCompiler.java:843)
at net.sf.saxon.jaxp.SaxonTransformerFactory.newTemplates(SaxonTransformerFactory.java:154)
... 9 more
Caused by: net.sf.saxon.trans.XPathException: I/O error reported by XML parser processing file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/essential_viewer/enterprise/api/core_el_group_actor_summary_api.xsl: C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\essential_viewer\enterprise\api\core_el_group_actor_summary_api.xsl (The system cannot find the file specified)
at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:467)
at net.sf.saxon.event.Sender.send(Sender.java:168)
at net.sf.saxon.style.StylesheetModule.sendStylesheetSource(StylesheetModule.java:157)
at net.sf.saxon.style.StylesheetModule.loadStylesheet(StylesheetModule.java:229)
at net.sf.saxon.style.Compilation.compileSingletonPackage(Compilation.java:113)
at net.sf.saxon.s9api.XsltCompiler.compile(XsltCompiler.java:838)
... 10 more
Caused by: java.io.FileNotFoundException: C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\essential_viewer\enterprise\api\core_el_group_actor_summary_api.xsl (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:439)
... 15 more
---------
net.sf.saxon.s9api.SaxonApiException: I/O error reported by XML parser processing file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/essential_viewer/enterprise/api/core_el_group_actor_summary_api.xsl: C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\essential_viewer\enterprise\api\core_el_group_actor_summary_api.xsl (The system cannot find the file specified)
at net.sf.saxon.s9api.XsltCompiler.compile(XsltCompiler.java:843)
at net.sf.saxon.jaxp.SaxonTransformerFactory.newTemplates(SaxonTransformerFactory.java:154)
at net.sf.saxon.jaxp.SaxonTransformerFactory.newTransformer(SaxonTransformerFactory.java:111)
at com.enterprise_architecture.essential.report.ReportAPIEngine.getPreCacheJson(ReportAPIEngine.java:393)
at com.enterprise_architecture.essential.report.ReportAPIEngine.access$000(ReportAPIEngine.java:69)
at com.enterprise_architecture.essential.report.ReportAPIEngine$ReportAPIRequestor.run(ReportAPIEngine.java:506)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: net.sf.saxon.trans.XPathException: I/O error reported by XML parser processing file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/essential_viewer/enterprise/api/core_el_group_actor_summary_api.xsl: C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\essential_viewer\enterprise\api\core_el_group_actor_summary_api.xsl (The system cannot find the file specified)
at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:467)
at net.sf.saxon.event.Sender.send(Sender.java:168)
at net.sf.saxon.style.StylesheetModule.sendStylesheetSource(StylesheetModule.java:157)
at net.sf.saxon.style.StylesheetModule.loadStylesheet(StylesheetModule.java:229)
at net.sf.saxon.style.Compilation.compileSingletonPackage(Compilation.java:113)
at net.sf.saxon.s9api.XsltCompiler.compile(XsltCompiler.java:838)
... 10 more
Caused by: java.io.FileNotFoundException: C:\Program Files\Apache Software Foundation\Tomcat 8.5\webapps\essential_viewer\enterprise\api\core_el_group_actor_summary_api.xsl (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:439)
... 15 more
JohnM
Posts: 467
Joined: 17 Feb 2009, 20:19

Hi

Can you confirm which version of the meta model you are using please? Look in the Class Tree under About_Essential > Meta_Model_Version

Also can you let us know what version of Viewer you have? Open viewer and in the bottom right-hand corner, there is a version number there

Thanks
gcoleman0828
Posts: 8
Joined: 09 Aug 2019, 18:26

Thanks John!

Added a few extra versions too just in case it helps:

Essential Viewer Version 6.14.4
Meta Model Version 6.14
Tomcat: 8.5.76
Protege 3.5
Essential Baseline 6.4 (essential_baseline_6.14)

My main goal is to load a the Bank template at this point into Protégé (not sure how to get the .dup file into Protege).

The updating the model as I go and updating. At least for now.

Thanks,
Gregg
JohnM
Posts: 467
Joined: 17 Feb 2009, 20:19

Thanks, I'll get one of the technical team to have a look.

re the Bank DUP, in Open Source you open the Essential Update tab, select the dup and just click apply. In cloud it is Import > Data Import
Screenshot 2022-03-25 at 12.23.23.png
You do not have the required permissions to view the files attached to this post.
gcoleman0828
Posts: 8
Joined: 09 Aug 2019, 18:26

Awesome John. Very much appreciate both the escalation and the info on how to upload the DUP file.

Are there any ways to import the Launchpad spreadsheets (by tab not the whole thing at once) into Protege directly? Or is this only for the web based import tool?

I ask because that has been a challenge as well. I've been trying to get this up and running for a few weeks now and want to start showing value but having issues getting data into the system at a larger clip.

Thanks,
Gregg
gcoleman0828
Posts: 8
Joined: 09 Aug 2019, 18:26

Good afternoon John,

Wanted to check in and see if there has been any updates on the issues I am experiencing. Looking forward to loading this product. We are in the initial stages of a merger and I think this product could really provide a ton of value.

Thanks,
Gregg
User avatar
neil.walsh
Posts: 444
Joined: 16 Feb 2009, 13:45
Contact:

Hi Gregg,

The "file not found" issues for the Data Set APIs were a bug in that version of the release. They should not cause any practical issue and I believe they are resolved in the 6.15 release. Updating the meta-
model from 6.14 to 6.15 should resolve this. A newer build v6.15 of Essential Viewer is due later this week.

Regarding importing, some users prefer to use the "Generate Import File" button which generates a DUP file. You can then import this into Protege in the same way you did with the Bank file.

Here's a quick start for the Import Utility.
  • Go to "Import Settings" and create a new "Source Repository" called Essential Launchpad
  • On "Manage Imports", create a new "Empty Import Activity" called Essential Launchpad
  • In the pop up, choose the repository you just created, and select the Essential Launchpad spreadsheet (Essential_Launchpad_V55_Capture_Spreadsheet.xlsx).
  • Check "log imports". Other fields can be left blank. Click ok to save and close.
  • Select the new Import Activity and choose Open
  • Click the "Upload Import Specification" button and choose the Import Spec zip file. (Essential_Launchpad_V57_import_spec.zip)
  • Click Generate Import File and a DUP will be created with the content from the spreadsheet.
You can then import this into Protege using the Essential Update tab.

Let me know how you get on.

Best regards

Neil
Post Reply