talk@lists.collectionspace.org

WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org

View all threads

Error installing tenant (cspace 4.5)

MW
Michael Wedderburn
Wed, Aug 29, 2018 5:11 PM

Hi,

I am getting the following errors while creating  a new tenant. Any help
would be appreciated..

 [exec] 2018-08-29 12:02:48,823 INFO  [main]

[org.collectionspace.chain.csp.config.impl.parser.AssemblingParser:63]
Temporary XMLMerge files will be written out to
'/tmp/merged-app-config-6857126683124658033'.
[exec] 2018-08-29 12:02:48,828 WARN  [main]
[org.collectionspace.chain.csp.config.impl.parser.AssemblingContentHandler:516]
Config Generation: 'publicart-tenant.xml' - Source file for "Include" tag
could not be found: 'local-publicart-settings.xml'.
[exec] 2018-08-29 12:02:48,828 WARN  [main]
[org.collectionspace.chain.csp.config.impl.parser.AssemblingContentHandler:524]
Config Generation: 'publicart-tenant.xml' - These source files for an
"Include" tag could not be found: '[local-publicart-settings.xml]'.
[exec] 2018-08-29 12:02:49,191 INFO  [main]
[org.collectionspace.chain.installation.ServiceConfigGeneration:348] Config
Generation: 'publicart-tenant.xml' - ### Generating Service bindings from
'/home/cspace/collectionspace-source/application/tomcat-main/src/main/resources/publicart-tenant.xml'.
[exec] 2018-08-29 12:02:49,192 WARN  [main]
[org.collectionspace.chain.installation.ServiceBindingsGeneration:232]
Config Generation: 'publicart-tenant.xml' - Record '
publicart.collectionspace.org.id' is of an unknown type so we could not
create a service binding for it.
[exec] 2018-08-29 12:02:49,192 WARN  [main]
[org.collectionspace.chain.installation.ServiceBindingsGeneration:232]
Config Generation: 'publicart-tenant.xml' - Record
'publicart.collectionspace.org.all' is of an unknown type so we could not
create a service binding for it.
[exec] 2018-08-29 12:02:49,195 WARN  [main]
[org.collectionspace.chain.installation.ServiceBindingsGeneration:1023]
Config Generation: 'publicart-tenant.xml' - Potential internal error.  The
Services tag 'languageList' does not match the field name 'languages' for
Repeat field 'media:languages.'
[exec] 2018-08-29 12:02:49,198 WARN  [main]
[org.collectionspace.chain.installation.ServiceBindingsGeneration:232]
Config Generation: 'publicart-tenant.xml' - Record
'publicart.collectionspace.org.invocationresults' is of an unknown type so
we could not create a service binding for it.
[exec] 2018-08-29 12:02:49,217 INFO  [main]
[org.collectionspace.chain.csp.config.impl.parser.AssemblingParser:63]
Temporary XMLMerge files will be written out to
'/tmp/merged-app-config-6857126683124658033'.
[exec] 2018-08-29 12:02:49,223 WARN  [main]
[org.collectionspace.chain.csp.config.impl.parser.AssemblingContentHandler:516]
Config Generation: 'mytest-tenant.xml' - Source file for "Include" tag
could not be found: 'local-mytest-settings.xml'.
[exec] 2018-08-29 12:02:49,223 WARN  [main]
[org.collectionspace.chain.csp.config.impl.parser.AssemblingContentHandler:524]
Config Generation: 'mytest-tenant.xml' - These source files for an
"Include" tag could not be found: '[local-mytest-settings.xml]'.
[exec] 2018-08-29 12:02:49,232 WARN  [main]
[org.collectionspace.chain.csp.config.impl.parser.AssemblingContentHandler:516]
Config Generation: 'mytest-tenant.xml' - Source file for "Include" tag
could not be found: 'extensions/mytest-profile-collectionobject.xml'.
[exec] 2018-08-29 12:02:49,232 WARN  [main]
[org.collectionspace.chain.csp.config.impl.parser.AssemblingContentHandler:524]
Config Generation: 'mytest-tenant.xml' - These source files for an
"Include" tag could not be found:
'[extensions/mytest-profile-collectionobject.xml]'.
[exec] 2018-08-29 12:02:49,233 ERROR [main]
[org.collectionspace.chain.csp.config.impl.parser.AssemblingContentHandler:568]
Config Generation: 'mytest-tenant.xml' - These source files for an
"Include" tag could not be found:
'[extensions/mytest-profile-collectionobject.xml]'.
[exec] 2018-08-29 12:02:49,233 ERROR [main]
[org.collectionspace.chain.csp.config.impl.parser.ConfigLoadingMessagesImpl:16]
Message: Config Generation: 'mytest-tenant.xml' - Exception raised during
parsing.
[exec]
[exec] Stack :
org.collectionspace.chain.csp.config.impl.parser.AssemblingParser.parse (72)
[exec]
org.collectionspace.chain.csp.config.impl.parser.ConfigParser.parse (65)
[exec] org.collectionspace.csp.container.impl.CSPManagerImpl.configure
(85)
[exec]
org.collectionspace.chain.installation.ServiceConfigGeneration.getServiceManager
(1047)
[exec]
org.collectionspace.chain.installation.ServiceConfigGeneration.<init> (291)
[exec]
org.collectionspace.chain.controller.CommandLine.generateServiceBundles
(533)
[exec] org.collectionspace.chain.controller.CommandLine.main (669)
[exec] sun.reflect.NativeMethodAccessorImpl.invoke0 (-2)
[exec] sun.reflect.NativeMethodAccessorImpl.invoke (62)
[exec] sun.reflect.DelegatingMethodAccessorImpl.invoke (43)
[exec] java.lang.reflect.Method.invoke (498)
[exec] com.simontuffs.onejar.Boot.run (313)
[exec] com.simontuffs.onejar.Boot.main (161)
[exec]
[exec] CAUSED BY
[exec] Message: Could not load source from Include tag:
merge:'xmlmerge.properties' required:null
src:'base-collectionobject.xml,extensions/variablemedia-collectionobject.xml,extensions/fineart-collectionobject.xml,extensions/mytest-profile-collectionobject.xml'
strip:null
[exec]
[exec] Stack :
org.collectionspace.chain.csp.config.impl.parser.AssemblingContentHandler.startElement
(569)
[exec] org.apache.xerces.parsers.AbstractSAXParser.startElement (-1)
[exec]
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement (-1)
[exec]
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement (-1)
[exec]
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch
(-1)
[exec]
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument (-1)
[exec] org.apache.xerces.parsers.XML11Configuration.parse (-1)
[exec] org.apache.xerces.parsers.XML11Configuration.parse (-1)
[exec] org.apache.xerces.parsers.XMLParser.parse (-1)
[exec] org.apache.xerces.parsers.AbstractSAXParser.parse (-1)
[exec] javax.xml.parsers.SAXParser.parse (392)
[exec]
org.collectionspace.chain.csp.config.impl.parser.AssemblingContentHandler.apply_include
(218)
[exec]
org.collectionspace.chain.csp.config.impl.parser.AssemblingContentHandler.startElement
(558)
[exec] org.apache.xerces.parsers.AbstractSAXParser.startElement (-1)
[exec]
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement (-1)
[exec]
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement (-1)
[exec]
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch
(-1)
[exec]
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument (-1)
[exec] org.apache.xerces.parsers.XML11Configuration.parse (-1)
[exec] org.apache.xerces.parsers.XML11Configuration.parse (-1)
[exec] org.apache.xerces.parsers.XMLParser.parse (-1)
[exec] org.apache.xerces.parsers.AbstractSAXParser.parse (-1)
[exec]
org.collectionspace.chain.csp.config.impl.parser.AssemblingParser.parse (66)
[exec]
org.collectionspace.chain.csp.config.impl.parser.ConfigParser.parse (65)
[exec] org.collectionspace.csp.container.impl.CSPManagerImpl.configure
(85)
[exec]
org.collectionspace.chain.installation.ServiceConfigGeneration.getServiceManager
(1047)
[exec]
org.collectionspace.chain.installation.ServiceConfigGeneration.<init> (291)
[exec]
org.collectionspace.chain.controller.CommandLine.generateServiceBundles
(533)
[exec] org.collectionspace.chain.controller.CommandLine.main (669)
[exec] sun.reflect.NativeMethodAccessorImpl.invoke0 (-2)
[exec] sun.reflect.NativeMethodAccessorImpl.invoke (62)
[exec] sun.reflect.DelegatingMethodAccessorImpl.invoke (43)
[exec] java.lang.reflect.Method.invoke (498)
[exec] com.simontuffs.onejar.Boot.run (313)
[exec] com.simontuffs.onejar.Boot.main (161)
[exec]
[exec] 2018-08-29 12:02:49,212 INFO: ***
[exec] 2018-08-29 12:02:49,212 INFO: Config Generation:
'publicart-tenant.xml' - Wrote merged tenant bindings to:
'/usr/local/share/apache-tomcat-7.0.64/cspace/config/services/tenants/publicart-tenant-bindings-proto.xml'
[exec] 2018-08-29 12:02:49,212 INFO: Config Generation:
'publicart-tenant.xml' - ### Finished processing tenant configuration file
'/home/cspace/collectionspace-source/application/tomcat-main/src/main/resources/publicart-tenant.xml'.
[exec] 2018-08-29 12:02:49,212 INFO: ***
[exec]
[exec] 2018-08-29 12:02:49,212 INFO: ###
[exec] 2018-08-29 12:02:49,212 INFO: Config Generation:
'mytest-tenant.xml' - ### Started processing tenant configuration file
'/home/cspace/collectionspace-source/application/tomcat-main/src/main/resources/mytest-tenant.xml'.
[exec] 2018-08-29 12:02:49,212 INFO: ###
[exec] 2018-08-29 12:02:49,234 ERROR: Error encountered generating
service bindings for
'/home/cspace/collectionspace-source/application/tomcat-main/src/main/resources/mytest-tenant.xml'
tenant configuration.
[exec] org.collectionspace.csp.api.core.CSPDependencyException: Config
Generation: 'mytest-tenant.xml' - Trouble parsing configuration files.
[exec]    at
org.collectionspace.csp.container.impl.CSPManagerImpl.configure(CSPManagerImpl.java:97)
[exec]    at
org.collectionspace.chain.installation.ServiceConfigGeneration.getServiceManager(ServiceConfigGeneration.java:1047)
[exec]    at
org.collectionspace.chain.installation.ServiceConfigGeneration.<init>(ServiceConfigGeneration.java:291)
[exec]    at
org.collectionspace.chain.controller.CommandLine.generateServiceBundles(CommandLine.java:533)
[exec]    at
org.collectionspace.chain.controller.CommandLine.main(CommandLine.java:669)
[exec]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[exec]    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[exec]    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[exec]    at java.lang.reflect.Method.invoke(Method.java:498)
[exec]    at com.simontuffs.onejar.Boot.run(Boot.java:313)
[exec]    at com.simontuffs.onejar.Boot.main(Boot.java:161)
[exec] Caused by:
org.collectionspace.chain.csp.config.ConfigException: Error loading config.
See messages for details: summary Config Generation: 'mytest-tenant.xml' -
Exception raised during parsing.
[exec]    at
org.collectionspace.chain.csp.config.impl.parser.ConfigErrorHandler.fail_if_necessary(ConfigErrorHandler.java:78)
[exec]    at
org.collectionspace.chain.csp.config.impl.parser.ConfigParser.parse(ConfigParser.java:79)
[exec]    at
org.collectionspace.csp.container.impl.CSPManagerImpl.configure(CSPManagerImpl.java:85)
[exec]    ... 10 more
[exec] 2018-08-29 12:02:49,235 ERROR: Execution failure: Error
encountered generating service bindings for
'/home/cspace/collectionspace-source/application/tomcat-main/src/main/resources/mytest-tenant.xml'
tenant configuration.

Hi, I am getting the following errors while creating a new tenant. Any help would be appreciated.. [exec] 2018-08-29 12:02:48,823 INFO [main] [org.collectionspace.chain.csp.config.impl.parser.AssemblingParser:63] Temporary XMLMerge files will be written out to '/tmp/merged-app-config-6857126683124658033'. [exec] 2018-08-29 12:02:48,828 WARN [main] [org.collectionspace.chain.csp.config.impl.parser.AssemblingContentHandler:516] Config Generation: 'publicart-tenant.xml' - Source file for "Include" tag could not be found: 'local-publicart-settings.xml'. [exec] 2018-08-29 12:02:48,828 WARN [main] [org.collectionspace.chain.csp.config.impl.parser.AssemblingContentHandler:524] Config Generation: 'publicart-tenant.xml' - These source files for an "Include" tag could not be found: '[local-publicart-settings.xml]'. [exec] 2018-08-29 12:02:49,191 INFO [main] [org.collectionspace.chain.installation.ServiceConfigGeneration:348] Config Generation: 'publicart-tenant.xml' - ### Generating Service bindings from '/home/cspace/collectionspace-source/application/tomcat-main/src/main/resources/publicart-tenant.xml'. [exec] 2018-08-29 12:02:49,192 WARN [main] [org.collectionspace.chain.installation.ServiceBindingsGeneration:232] Config Generation: 'publicart-tenant.xml' - Record ' publicart.collectionspace.org.id' is of an unknown type so we could not create a service binding for it. [exec] 2018-08-29 12:02:49,192 WARN [main] [org.collectionspace.chain.installation.ServiceBindingsGeneration:232] Config Generation: 'publicart-tenant.xml' - Record 'publicart.collectionspace.org.all' is of an unknown type so we could not create a service binding for it. [exec] 2018-08-29 12:02:49,195 WARN [main] [org.collectionspace.chain.installation.ServiceBindingsGeneration:1023] Config Generation: 'publicart-tenant.xml' - Potential internal error. The Services tag 'languageList' does not match the field name 'languages' for Repeat field 'media:languages.' [exec] 2018-08-29 12:02:49,198 WARN [main] [org.collectionspace.chain.installation.ServiceBindingsGeneration:232] Config Generation: 'publicart-tenant.xml' - Record 'publicart.collectionspace.org.invocationresults' is of an unknown type so we could not create a service binding for it. [exec] 2018-08-29 12:02:49,217 INFO [main] [org.collectionspace.chain.csp.config.impl.parser.AssemblingParser:63] Temporary XMLMerge files will be written out to '/tmp/merged-app-config-6857126683124658033'. [exec] 2018-08-29 12:02:49,223 WARN [main] [org.collectionspace.chain.csp.config.impl.parser.AssemblingContentHandler:516] Config Generation: 'mytest-tenant.xml' - Source file for "Include" tag could not be found: 'local-mytest-settings.xml'. [exec] 2018-08-29 12:02:49,223 WARN [main] [org.collectionspace.chain.csp.config.impl.parser.AssemblingContentHandler:524] Config Generation: 'mytest-tenant.xml' - These source files for an "Include" tag could not be found: '[local-mytest-settings.xml]'. [exec] 2018-08-29 12:02:49,232 WARN [main] [org.collectionspace.chain.csp.config.impl.parser.AssemblingContentHandler:516] Config Generation: 'mytest-tenant.xml' - Source file for "Include" tag could not be found: 'extensions/mytest-profile-collectionobject.xml'. [exec] 2018-08-29 12:02:49,232 WARN [main] [org.collectionspace.chain.csp.config.impl.parser.AssemblingContentHandler:524] Config Generation: 'mytest-tenant.xml' - These source files for an "Include" tag could not be found: '[extensions/mytest-profile-collectionobject.xml]'. [exec] 2018-08-29 12:02:49,233 ERROR [main] [org.collectionspace.chain.csp.config.impl.parser.AssemblingContentHandler:568] Config Generation: 'mytest-tenant.xml' - These source files for an "Include" tag could not be found: '[extensions/mytest-profile-collectionobject.xml]'. [exec] 2018-08-29 12:02:49,233 ERROR [main] [org.collectionspace.chain.csp.config.impl.parser.ConfigLoadingMessagesImpl:16] Message: Config Generation: 'mytest-tenant.xml' - Exception raised during parsing. [exec] [exec] Stack : org.collectionspace.chain.csp.config.impl.parser.AssemblingParser.parse (72) [exec] org.collectionspace.chain.csp.config.impl.parser.ConfigParser.parse (65) [exec] org.collectionspace.csp.container.impl.CSPManagerImpl.configure (85) [exec] org.collectionspace.chain.installation.ServiceConfigGeneration.getServiceManager (1047) [exec] org.collectionspace.chain.installation.ServiceConfigGeneration.<init> (291) [exec] org.collectionspace.chain.controller.CommandLine.generateServiceBundles (533) [exec] org.collectionspace.chain.controller.CommandLine.main (669) [exec] sun.reflect.NativeMethodAccessorImpl.invoke0 (-2) [exec] sun.reflect.NativeMethodAccessorImpl.invoke (62) [exec] sun.reflect.DelegatingMethodAccessorImpl.invoke (43) [exec] java.lang.reflect.Method.invoke (498) [exec] com.simontuffs.onejar.Boot.run (313) [exec] com.simontuffs.onejar.Boot.main (161) [exec] [exec] CAUSED BY [exec] Message: Could not load source from Include tag: merge:'xmlmerge.properties' required:null src:'base-collectionobject.xml,extensions/variablemedia-collectionobject.xml,extensions/fineart-collectionobject.xml,extensions/mytest-profile-collectionobject.xml' strip:null [exec] [exec] Stack : org.collectionspace.chain.csp.config.impl.parser.AssemblingContentHandler.startElement (569) [exec] org.apache.xerces.parsers.AbstractSAXParser.startElement (-1) [exec] org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement (-1) [exec] org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement (-1) [exec] org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch (-1) [exec] org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument (-1) [exec] org.apache.xerces.parsers.XML11Configuration.parse (-1) [exec] org.apache.xerces.parsers.XML11Configuration.parse (-1) [exec] org.apache.xerces.parsers.XMLParser.parse (-1) [exec] org.apache.xerces.parsers.AbstractSAXParser.parse (-1) [exec] javax.xml.parsers.SAXParser.parse (392) [exec] org.collectionspace.chain.csp.config.impl.parser.AssemblingContentHandler.apply_include (218) [exec] org.collectionspace.chain.csp.config.impl.parser.AssemblingContentHandler.startElement (558) [exec] org.apache.xerces.parsers.AbstractSAXParser.startElement (-1) [exec] org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement (-1) [exec] org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement (-1) [exec] org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch (-1) [exec] org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument (-1) [exec] org.apache.xerces.parsers.XML11Configuration.parse (-1) [exec] org.apache.xerces.parsers.XML11Configuration.parse (-1) [exec] org.apache.xerces.parsers.XMLParser.parse (-1) [exec] org.apache.xerces.parsers.AbstractSAXParser.parse (-1) [exec] org.collectionspace.chain.csp.config.impl.parser.AssemblingParser.parse (66) [exec] org.collectionspace.chain.csp.config.impl.parser.ConfigParser.parse (65) [exec] org.collectionspace.csp.container.impl.CSPManagerImpl.configure (85) [exec] org.collectionspace.chain.installation.ServiceConfigGeneration.getServiceManager (1047) [exec] org.collectionspace.chain.installation.ServiceConfigGeneration.<init> (291) [exec] org.collectionspace.chain.controller.CommandLine.generateServiceBundles (533) [exec] org.collectionspace.chain.controller.CommandLine.main (669) [exec] sun.reflect.NativeMethodAccessorImpl.invoke0 (-2) [exec] sun.reflect.NativeMethodAccessorImpl.invoke (62) [exec] sun.reflect.DelegatingMethodAccessorImpl.invoke (43) [exec] java.lang.reflect.Method.invoke (498) [exec] com.simontuffs.onejar.Boot.run (313) [exec] com.simontuffs.onejar.Boot.main (161) [exec] [exec] 2018-08-29 12:02:49,212 INFO: *** [exec] 2018-08-29 12:02:49,212 INFO: Config Generation: 'publicart-tenant.xml' - Wrote merged tenant bindings to: '/usr/local/share/apache-tomcat-7.0.64/cspace/config/services/tenants/publicart-tenant-bindings-proto.xml' [exec] 2018-08-29 12:02:49,212 INFO: Config Generation: 'publicart-tenant.xml' - ### Finished processing tenant configuration file '/home/cspace/collectionspace-source/application/tomcat-main/src/main/resources/publicart-tenant.xml'. [exec] 2018-08-29 12:02:49,212 INFO: *** [exec] [exec] 2018-08-29 12:02:49,212 INFO: ### [exec] 2018-08-29 12:02:49,212 INFO: Config Generation: 'mytest-tenant.xml' - ### Started processing tenant configuration file '/home/cspace/collectionspace-source/application/tomcat-main/src/main/resources/mytest-tenant.xml'. [exec] 2018-08-29 12:02:49,212 INFO: ### [exec] 2018-08-29 12:02:49,234 ERROR: Error encountered generating service bindings for '/home/cspace/collectionspace-source/application/tomcat-main/src/main/resources/mytest-tenant.xml' tenant configuration. [exec] org.collectionspace.csp.api.core.CSPDependencyException: Config Generation: 'mytest-tenant.xml' - Trouble parsing configuration files. [exec] at org.collectionspace.csp.container.impl.CSPManagerImpl.configure(CSPManagerImpl.java:97) [exec] at org.collectionspace.chain.installation.ServiceConfigGeneration.getServiceManager(ServiceConfigGeneration.java:1047) [exec] at org.collectionspace.chain.installation.ServiceConfigGeneration.<init>(ServiceConfigGeneration.java:291) [exec] at org.collectionspace.chain.controller.CommandLine.generateServiceBundles(CommandLine.java:533) [exec] at org.collectionspace.chain.controller.CommandLine.main(CommandLine.java:669) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [exec] at java.lang.reflect.Method.invoke(Method.java:498) [exec] at com.simontuffs.onejar.Boot.run(Boot.java:313) [exec] at com.simontuffs.onejar.Boot.main(Boot.java:161) [exec] Caused by: org.collectionspace.chain.csp.config.ConfigException: Error loading config. See messages for details: summary Config Generation: 'mytest-tenant.xml' - Exception raised during parsing. [exec] at org.collectionspace.chain.csp.config.impl.parser.ConfigErrorHandler.fail_if_necessary(ConfigErrorHandler.java:78) [exec] at org.collectionspace.chain.csp.config.impl.parser.ConfigParser.parse(ConfigParser.java:79) [exec] at org.collectionspace.csp.container.impl.CSPManagerImpl.configure(CSPManagerImpl.java:85) [exec] ... 10 more [exec] 2018-08-29 12:02:49,235 ERROR: Execution failure: Error encountered generating service bindings for '/home/cspace/collectionspace-source/application/tomcat-main/src/main/resources/mytest-tenant.xml' tenant configuration.