duncdrum / cbdb-data

China Biographical Database (CBDB) data for use with exist-db.
GNU General Public License v3.0
6 stars 0 forks source link

cbdb-data-0.6.1.xar 362358k Error unziping the package #71

Closed pingtzuchu closed 7 years ago

pingtzuchu commented 7 years ago

there is no log file related to this in exist. eXistdb 3.3 in Tomcat

duncdrum commented 7 years ago

thanks for the report. According to the documentation the log files should be in either webapp/WEB-INF/logs or in tools/yajsw/logs. I m particularly interested in the exist.log file. Also how much memory does exist's JVM have? cbdb-data requires a min. of 2GB. But with multiple larger apps in the same exist instance more might be necessary.

duncdrum commented 7 years ago

@pingtzuchu i see two different types of errors in the logs on Jetty:

[eXist Version : 3.0]
...
2017-07-13 09:03:47,615 [Thread-5] ERROR (Configurator.java [configureByCurrent]:510) - Could not insert configured object 
2017-07-13 09:03:47,615 [Thread-5] ERROR (Configurator.java [configureByCurrent]:557) - Field 'managers' must have '@org.exist.config.annotation.ConfigurationFieldClassMask' annotation [manager], skipping instance creation.
...
2017-07-13 09:05:16,114 [qtp1734049882-42] ERROR (Deploy.java [installAndDeployFromDb]:215) - Error unziping the package 
org.expath.pkg.repo.PackageException: Error unziping the package
…
Caused by: java.nio.file.FileSystemException: c:\eXist-db\webapp\WEB-INF\data\expathrepo\.expath-pkg\install-20170713-8017609748529779274.d\modules\aux.xql: 參數錯誤。

and on tomcat

[eXist Version : 3.0]
...
SEVERE|wrapper|Service eXist-db|17-05-29 11:30:28|java file does not exist: C:\Program Files\Java\jre1.8.0_121\bin\java.exe
SEVERE|wrapper|Service eXist-db|17-05-29 11:30:28|ERROR: could not get java command

While cbdb-data should run on 3.0,I would recommend updating exist to 3.3 😉 regardless. I have an idea what might be causing the error but i ll have to investigate a bit more.

pingtzuchu commented 7 years ago

But I am using 3.3

Duncan Paterson notifications@github.com於 2017年7月13日 週四,下午9:07寫道:

@pingtzuchu https://github.com/pingtzuchu i see two different types of errors in the logs on Jetty:

[eXist Version : 3.0] ... 2017-07-13 09:03:47,615 [Thread-5] ERROR (Configurator.java [configureByCurrent]:510) - Could not insert configured object 2017-07-13 09:03:47,615 [Thread-5] ERROR (Configurator.java [configureByCurrent]:557) - Field 'managers' must have '@org.exist.config.annotation.ConfigurationFieldClassMask' annotation [manager], skipping instance creation. ... 2017-07-13 09:05:16,114 [qtp1734049882-42] ERROR (Deploy.java [installAndDeployFromDb]:215) - Error unziping the package org.expath.pkg.repo.PackageException: Error unziping the package … Caused by: java.nio.file.FileSystemException: c:\eXist-db\webapp\WEB-INF\data\expathrepo.expath-pkg\install-20170713-8017609748529779274.d\modules\aux.xql: 參數錯誤。

and on tomcat

[eXist Version : 3.0] ... SEVERE|wrapper|Service eXist-db|17-05-29 11:30:28|java file does not exist: C:\Program Files\Java\jre1.8.0_121\bin\java.exe SEVERE|wrapper|Service eXist-db|17-05-29 11:30:28|ERROR: could not get java command

I have an idea. It should run on 3.0 but I would recommend updating exist to 3.3 😉

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/duncdrum/cbdb-data/issues/71#issuecomment-315072401, or mute the thread https://github.com/notifications/unsubscribe-auth/AHcw5q0B9UcintOYd7Xb1fldRN_ktYXrks5sNhaXgaJpZM4OV4uA .

pingtzuchu commented 7 years ago

Dear Sage,

A quick question: is there a way to turn the reformatting of tei in eXist off? Otherwise, it’s a little bit troublesome with the following example:

尚書微子

Will be reformatted as

    <head>尚書<title>微子</title>
                </head>

And if you count(tei:head/text()), will become 2 instead of 1.

從 Windows 10 的郵件傳送

寄件者: Duncan Paterson 傳送時間: 2017年7月13日 下午 09:07 收件者: duncdrum/cbdb-data 副本: Ping-tzu Chu; Mention 主旨: Re: [duncdrum/cbdb-data] cbdb-data-0.6.1.xar 362358k Error unzipingthe package (#71)

@pingtzuchu i see two different types of errors in the logs on Jetty: [eXist Version : 3.0] ... 2017-07-13 09:03:47,615 [Thread-5] ERROR (Configurator.java [configureByCurrent]:510) - Could not insert configured object 2017-07-13 09:03:47,615 [Thread-5] ERROR (Configurator.java [configureByCurrent]:557) - Field 'managers' must have '@org.exist.config.annotation.ConfigurationFieldClassMask' annotation [manager], skipping instance creation. ... 2017-07-13 09:05:16,114 [qtp1734049882-42] ERROR (Deploy.java [installAndDeployFromDb]:215) - Error unziping the package org.expath.pkg.repo.PackageException: Error unziping the package … Caused by: java.nio.file.FileSystemException: c:\eXist-db\webapp\WEB-INF\data\expathrepo.expath-pkg\install-20170713-8017609748529779274.d\modules\aux.xql: 參數錯誤。 and on tomcat [eXist Version : 3.0] ... SEVERE|wrapper|Service eXist-db|17-05-29 11:30:28|java file does not exist: C:\Program Files\Java\jre1.8.0_121\bin\java.exe SEVERE|wrapper|Service eXist-db|17-05-29 11:30:28|ERROR: could not get java command I have an idea. It should run on 3.0 but I would recommend updating exist to 3.3 😉 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

duncdrum commented 7 years ago

So there is a separate issue with the logs. I'll open a ticket

pingtzuchu commented 7 years ago

thanks.

I tried to install standalone version but without success. If I can get a new desktop, I will install it without using Tomcat.

清華大學中國文學系副教授 教學網站:http://tinyurl.com/pingtzuchu/ 台灣數位人文:http://tinyurl.com/dhintaiwan/ 台灣數位人文學會:http://digital.ntu.edu.tw/tadh

2017-07-15 19:04 GMT+08:00 Duncan Paterson notifications@github.com:

-

The problem with Monex under Tomcat http://wolfgang/monex#9 is a known issue, not sure why it hasn't been resolved.

As for the eXist Version in the logs: I ran version-test.xql from the temp folder:

"exist version: " || util:system-property("product-version") || " build: " || util:system-property("product-build")

The result:

exist version: 3.3.0 build: 201707021658

So there is a separate issue with the logs. I'll open a ticket https://github.com/eXist-db/exist/issues/1481

  • Potential fix for the installation troubles on Win systems incoming. I'll let you know how it goes, in here.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/duncdrum/cbdb-data/issues/71#issuecomment-315527010, or mute the thread https://github.com/notifications/unsubscribe-auth/AHcw5oo8zB7PJHC0SEzCnoCVZ9bEoiuFks5sOJyggaJpZM4OV4uA .

duncdrum commented 7 years ago

Progress: The collection cache couldn't handle that many files, but the original error is fixed.
screenshot 2017-07-15 18 09 19

duncdrum commented 7 years ago

Ok the windows file system error is no more, I was an idiot. New release is uploading, once pulled in the issue will close. Installing on systems with insufficient memory is no longer possible.

@pingtzuchu check the temp folder on your tomcat exist.