I am installing CollectionSpace on a new Centos 6.4 machine. I have followed the instructions outlined at http://wiki.collectionspace.org/display/DOC/Installing+3.2.2+on+Yum+Compatible+Linux+Distributions, but am unable to complete the install.
My current issue comes as I run the command:
~# ant undeploy deploy create_db import
The command says that is completes successfully, with a "BUILD SUCCESSFUL" message a the end, but I get the following error messages in the output of the ant command:
[exec] 2013-05-28 14:22:50,763 WARN [org.collectionspace.ImportAuthz.main()] [org.collectionspace.services.common.storage.jpa.JpaStorageUtils:603] Could not find a persistence unit for: org.collectionspace.services
[exec] 2013-05-28 14:22:52,728 DEBUG [org.collectionspace.ImportAuthz.main()] [org.collectionspace.services.common.storage.jpa.JpaStorageUtils:393] Could not find entity with key ={roleName=ROLE_2_TENANT_ADMINISTRATOR}
[exec] javax.persistence.NoResultException: No entity found for query
[exec] at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:104)
[exec] at org.collectionspace.services.common.storage.jpa.JpaStorageUtils.getEnityByKey(JpaStorageUtils.java:333)
[exec] at org.collectionspace.services.common.storage.jpa.JpaStorageUtils.getEnityByKey(JpaStorageUtils.java:387)
[exec] at org.collectionspace.services.common.authorization_mgt.AuthorizationStore.getRoleByName(AuthorizationStore.java:56)
[exec] at org.collectionspace.services.common.authorization_mgt.AuthorizationCommon.getRole(AuthorizationCommon.java:156)
[exec] at org.collectionspace.services.authorization.importer.AuthorizationGen.buildTenantAdminRole(AuthorizationGen.java:263)
[exec] at org.collectionspace.services.authorization.importer.AuthorizationGen.createDefaultRoles(AuthorizationGen.java:253)
[exec] at org.collectionspace.services.authorization.driver.AuthorizationSeedDriver.generate(AuthorizationSeedDriver.java:116)
[exec] at org.collectionspace.ImportAuthz.main(ImportAuthz.java:163)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[exec] at java.lang.reflect.Method.invoke(Method.java:601)
[exec] at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:290)
[exec] at java.lang.Thread.run(Thread.java:722)
[exec] 2013-05-28 14:22:52,812 WARN [org.collectionspace.ImportAuthz.main()] [org.collectionspace.services.common.storage.jpa.JpaStorageUtils:603] Could not find a persistence unit for: org.collectionspace.services
[exec] 2013-05-28 14:22:53,157 DEBUG [org.collectionspace.ImportAuthz.main()] [org.collectionspace.services.common.storage.jpa.JpaStorageUtils:393] Could not find entity with key ={roleName=ROLE_2_TENANT_READER}
[exec] javax.persistence.NoResultException: No entity found for query
[exec] at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:104)
[exec] at org.collectionspace.services.common.storage.jpa.JpaStorageUtils.getEnityByKey(JpaStorageUtils.java:333)
[exec] at org.collectionspace.services.common.storage.jpa.JpaStorageUtils.getEnityByKey(JpaStorageUtils.java:387)
[exec] at org.collectionspace.services.common.authorization_mgt.AuthorizationStore.getRoleByName(AuthorizationStore.java:56)
[exec] at org.collectionspace.services.common.authorization_mgt.AuthorizationCommon.getRole(AuthorizationCommon.java:156)
[exec] at org.collectionspace.services.authorization.importer.AuthorizationGen.buildTenantReaderRole(AuthorizationGen.java:276)
[exec] at org.collectionspace.services.authorization.importer.AuthorizationGen.createDefaultRoles(AuthorizationGen.java:256)
[exec] at org.collectionspace.services.authorization.driver.AuthorizationSeedDriver.generate(AuthorizationSeedDriver.java:116)
[exec] at org.collectionspace.ImportAuthz.main(ImportAuthz.java:163)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[exec] at java.lang.reflect.Method.invoke(Method.java:601)
[exec] at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:290)
[exec] at java.lang.Thread.run(Thread.java:722)
[exec] 2013-05-28 14:22:53,181 WARN [org.collectionspace.ImportAuthz.main()] [org.collectionspace.services.common.storage.jpa.JpaStorageUtils:603] Could not find a persistence unit for: org.collectionspace.services
[exec] 2013-05-28 14:22:53,332 DEBUG [org.collectionspace.ImportAuthz.main()] [org.collectionspace.services.common.storage.jpa.JpaStorageUtils:393] Could not find entity with key ={roleName=ROLE_1_TENANT_ADMINISTRATOR}
[exec] javax.persistence.NoResultException: No entity found for query
[exec] at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:104)
[exec] at org.collectionspace.services.common.storage.jpa.JpaStorageUtils.getEnityByKey(JpaStorageUtils.java:333)
[exec] at org.collectionspace.services.common.storage.jpa.JpaStorageUtils.getEnityByKey(JpaStorageUtils.java:387)
[exec] at org.collectionspace.services.common.authorization_mgt.AuthorizationStore.getRoleByName(AuthorizationStore.java:56)
[exec] at org.collectionspace.services.common.authorization_mgt.AuthorizationCommon.getRole(AuthorizationCommon.java:156)
[exec] at org.collectionspace.services.authorization.importer.AuthorizationGen.buildTenantAdminRole(AuthorizationGen.java:263)
[exec] at org.collectionspace.services.authorization.importer.AuthorizationGen.createDefaultRoles(AuthorizationGen.java:253)
[exec] at org.collectionspace.services.authorization.driver.AuthorizationSeedDriver.generate(AuthorizationSeedDriver.java:116)
[exec] at org.collectionspace.ImportAuthz.main(ImportAuthz.java:163)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[exec] at java.lang.reflect.Method.invoke(Method.java:601)
[exec] at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:290)
[exec] at java.lang.Thread.run(Thread.java:722)
[exec] 2013-05-28 14:22:53,369 WARN [org.collectionspace.ImportAuthz.main()] [org.collectionspace.services.common.storage.jpa.JpaStorageUtils:603] Could not find a persistence unit for: org.collectionspace.services
[exec] 2013-05-28 14:22:53,534 DEBUG [org.collectionspace.ImportAuthz.main()] [org.collectionspace.services.common.storage.jpa.JpaStorageUtils:393] Could not find entity with key ={roleName=ROLE_1_TENANT_READER}
[exec] javax.persistence.NoResultException: No entity found for query
[exec] at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:104)
[exec] at org.collectionspace.services.common.storage.jpa.JpaStorageUtils.getEnityByKey(JpaStorageUtils.java:333)
[exec] at org.collectionspace.services.common.storage.jpa.JpaStorageUtils.getEnityByKey(JpaStorageUtils.java:387)
[exec] at org.collectionspace.services.common.authorization_mgt.AuthorizationStore.getRoleByName(AuthorizationStore.java:56)
[exec] at org.collectionspace.services.common.authorization_mgt.AuthorizationCommon.getRole(AuthorizationCommon.java:156)
[exec] at org.collectionspace.services.authorization.importer.AuthorizationGen.buildTenantReaderRole(AuthorizationGen.java:276)
[exec] at org.collectionspace.services.authorization.importer.AuthorizationGen.createDefaultRoles(AuthorizationGen.java:256)
[exec] at org.collectionspace.services.authorization.driver.AuthorizationSeedDriver.generate(AuthorizationSeedDriver.java:116)
[exec] at org.collectionspace.ImportAuthz.main(ImportAuthz.java:163)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[exec] at java.lang.reflect.Method.invoke(Method.java:601)
[exec] at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:290)
[exec] at java.lang.Thread.run(Thread.java:722)
I went ahead and started tomcat, using the $CSPACE_JEESERVER_HOME/bin/startup.sh script, and, although it starts, there seem to be some issues in the catalina.out file. I have appended them here:
2013-05-28 14:49:07,998 WARN [main] [org.nuxeo.common.Environment:393] Could not get nuxeo.home neither nuxeo.home.dir system properties, will use /usr/local/share/apache-tomcat-6.0.33/nuxeo-server
2013-05-28 14:49:09,123 WARN [main] [org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent:122] Command not available: pdftohtml (command pdftohtml not found in system path. You need to install pdftohtml)
2013-05-28 14:49:09,131 WARN [main] [org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent:122] Command not available: wpd2text (command wpd2text not found in system path. You need to install wpd2text (deb: libwpd-tools) http://libwpd.sourceforge.net/download.html)
2013-05-28 14:49:09,405 WARN [main] [org.nuxeo.ecm.core.search.api.client.querymodel.QueryModelService:123] Query models are deprecated as of Nuxeo 5.4 and will be removed for Nuxeo 5.6: the query model 'DEFAULT_CREATION_CONTAINER_LIST_PROVIDER' should be upgraded to use content views
2013-05-28 14:49:11,271 ERROR [main] [org.nuxeo.runtime.osgi.OSGiRuntimeService:231] Unknown component 'OSGI-INF/layouts-contrib.xml' referenced by bundle 'org.collectionspace.publicitem'. Check the MANIFEST.MF
2013-05-28 14:49:11,483 WARN [main] [org.nuxeo.ecm.platform.convert.ooomanager.OOoManagerComponent:221] OpenOffice was not found, JOD Converter won't be available: officeHome doesn't exist or is not a directory:
2013-05-28 14:49:11,544 ERROR [main] [org.nuxeo.runtime.osgi.OSGiRuntimeService:529] Nuxeo EP Started
---====
= Nuxeo EP Started
---====
= Component Loading Errors:
- Unknown component 'OSGI-INF/layouts-contrib.xml' referenced by bundle 'org.collectionspace.publicitem'
---====
= Component Loading Status: Pending: 1 / Unstarted: 0 / Total: 206
- service:org.nuxeo.ecm.platform.picture.web.preview.adapter.contrib requires [service:org.nuxeo.ecm.platform.preview.adapter.contrib]
---====
2013-05-28 14:49:11,947 WARN [main] [net.sf.ehcache.config.ConfigurationFactory:124] No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/usr/local/share/apache-tomcat-6.0.33/lib/ehcache-1.6.2.jar!/ehcache-failsafe.xml
May 28, 2013 2:49:11 PM net.sf.ehcache.config.ConfigurationFactory parseConfiguration
WARNING: No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/usr/local/share/apache-tomcat-6.0.33/lib/ehcache-1.6.2.jar!/ehcache-failsafe.xml
I then get a series of warnings like this one:
2013-05-28 14:49:14,639 WARN [main] [org.collectionspace.services.common.authorization_mgt.AuthorizationCommon:1065] Could not retrieve a lifecycle transition definition list from: idgenerators with tenant ID = 2
Followed by warnings like this:
2013-05-28 14:49:32,550 WARN [main] [org.collectionspace.services.nuxeo.client.java.TenantRepository:230] Could not find workspace for idgenerators in repository. Creating new workspace …
Finally, I get the following INFO messages:
[INFO] Starting up the CollectionSpace Services' JAX-RS application.
Static initializtion of: org.collectionspace.services.common.security.SecurityInterceptor
[INFO] CollectionSpace Services' JAX-RS application started.
2013-05-28 14:50:03,987 (0) [http-8180-1] INFO org.collectionspace.chain.csp.config.impl.parser.AssemblingContentHandler: XMLMerge result output to: /usr/local/share/apache-tomcat-6.0.33/temp/merged-settings.xml_local-core-settings.xml-.xml
2013-05-28 14:50:03,987 (0) [http-8180-4] INFO org.collectionspace.chain.csp.config.impl.parser.AssemblingContentHandler: XMLMerge result output to: /usr/local/share/apache-tomcat-6.0.33/temp/merged-settings.xml_local-core-settings.xml-.xml
2013-05-28 14:50:09,289 (5302) [net.sf.ehcache.CacheManager@2ce7c4eb] INFO net.sf.ehcache.util.UpdateChecker: New update(s) found: 2.6.5 [http://www.terracotta.org/confluence/display/release/Release+Notes+Ehcache+Core+2.6]. Please check http://ehcache.org for the latest version.
At that point, if I try to login using http://$URL/collectionspace/ui/core/html/index.html, I eventually get the following errors:
2013-05-28 14:51:20,877 (76890) [http-8180-2] INFO org.apache.commons.httpclient.HttpMethodDirector: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
2013-05-28 14:51:20,879 (76892) [http-8180-2] INFO org.apache.commons.httpclient.HttpMethodDirector: Retrying request
2013-05-28 14:52:23,881 (139894) [http-8180-2] INFO org.apache.commons.httpclient.HttpMethodDirector: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
2013-05-28 14:52:23,882 (139895) [http-8180-2] INFO org.apache.commons.httpclient.HttpMethodDirector: Retrying request
Any suggestions would be greatly appreciated at this point. Again, this is a completely new installation, so I am perfectly willing to tear it down and start over, if that is indicated.
Thanks, in advance, for any help,
Steve
Steve Newell
Sales Engineer
Voonami, Inc
snewell@voonami.commailto:snewell@voonami.com
Office: (801) 995-4023
Cell: (801) 822-8610
I am installing CollectionSpace on a new Centos 6.4 machine. I have followed the instructions outlined at http://wiki.collectionspace.org/display/DOC/Installing+3.2.2+on+Yum+Compatible+Linux+Distributions, but am unable to complete the install.
My current issue comes as I run the command:
~# ant undeploy deploy create_db import
The command says that is completes successfully, with a "BUILD SUCCESSFUL" message a the end, but I get the following error messages in the output of the ant command:
[exec] 2013-05-28 14:22:50,763 WARN [org.collectionspace.ImportAuthz.main()] [org.collectionspace.services.common.storage.jpa.JpaStorageUtils:603] Could not find a persistence unit for: org.collectionspace.services
[exec] 2013-05-28 14:22:52,728 DEBUG [org.collectionspace.ImportAuthz.main()] [org.collectionspace.services.common.storage.jpa.JpaStorageUtils:393] Could not find entity with key ={roleName=ROLE_2_TENANT_ADMINISTRATOR}
[exec] javax.persistence.NoResultException: No entity found for query
[exec] at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:104)
[exec] at org.collectionspace.services.common.storage.jpa.JpaStorageUtils.getEnityByKey(JpaStorageUtils.java:333)
[exec] at org.collectionspace.services.common.storage.jpa.JpaStorageUtils.getEnityByKey(JpaStorageUtils.java:387)
[exec] at org.collectionspace.services.common.authorization_mgt.AuthorizationStore.getRoleByName(AuthorizationStore.java:56)
[exec] at org.collectionspace.services.common.authorization_mgt.AuthorizationCommon.getRole(AuthorizationCommon.java:156)
[exec] at org.collectionspace.services.authorization.importer.AuthorizationGen.buildTenantAdminRole(AuthorizationGen.java:263)
[exec] at org.collectionspace.services.authorization.importer.AuthorizationGen.createDefaultRoles(AuthorizationGen.java:253)
[exec] at org.collectionspace.services.authorization.driver.AuthorizationSeedDriver.generate(AuthorizationSeedDriver.java:116)
[exec] at org.collectionspace.ImportAuthz.main(ImportAuthz.java:163)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[exec] at java.lang.reflect.Method.invoke(Method.java:601)
[exec] at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:290)
[exec] at java.lang.Thread.run(Thread.java:722)
[exec] 2013-05-28 14:22:52,812 WARN [org.collectionspace.ImportAuthz.main()] [org.collectionspace.services.common.storage.jpa.JpaStorageUtils:603] Could not find a persistence unit for: org.collectionspace.services
[exec] 2013-05-28 14:22:53,157 DEBUG [org.collectionspace.ImportAuthz.main()] [org.collectionspace.services.common.storage.jpa.JpaStorageUtils:393] Could not find entity with key ={roleName=ROLE_2_TENANT_READER}
[exec] javax.persistence.NoResultException: No entity found for query
[exec] at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:104)
[exec] at org.collectionspace.services.common.storage.jpa.JpaStorageUtils.getEnityByKey(JpaStorageUtils.java:333)
[exec] at org.collectionspace.services.common.storage.jpa.JpaStorageUtils.getEnityByKey(JpaStorageUtils.java:387)
[exec] at org.collectionspace.services.common.authorization_mgt.AuthorizationStore.getRoleByName(AuthorizationStore.java:56)
[exec] at org.collectionspace.services.common.authorization_mgt.AuthorizationCommon.getRole(AuthorizationCommon.java:156)
[exec] at org.collectionspace.services.authorization.importer.AuthorizationGen.buildTenantReaderRole(AuthorizationGen.java:276)
[exec] at org.collectionspace.services.authorization.importer.AuthorizationGen.createDefaultRoles(AuthorizationGen.java:256)
[exec] at org.collectionspace.services.authorization.driver.AuthorizationSeedDriver.generate(AuthorizationSeedDriver.java:116)
[exec] at org.collectionspace.ImportAuthz.main(ImportAuthz.java:163)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[exec] at java.lang.reflect.Method.invoke(Method.java:601)
[exec] at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:290)
[exec] at java.lang.Thread.run(Thread.java:722)
[exec] 2013-05-28 14:22:53,181 WARN [org.collectionspace.ImportAuthz.main()] [org.collectionspace.services.common.storage.jpa.JpaStorageUtils:603] Could not find a persistence unit for: org.collectionspace.services
[exec] 2013-05-28 14:22:53,332 DEBUG [org.collectionspace.ImportAuthz.main()] [org.collectionspace.services.common.storage.jpa.JpaStorageUtils:393] Could not find entity with key ={roleName=ROLE_1_TENANT_ADMINISTRATOR}
[exec] javax.persistence.NoResultException: No entity found for query
[exec] at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:104)
[exec] at org.collectionspace.services.common.storage.jpa.JpaStorageUtils.getEnityByKey(JpaStorageUtils.java:333)
[exec] at org.collectionspace.services.common.storage.jpa.JpaStorageUtils.getEnityByKey(JpaStorageUtils.java:387)
[exec] at org.collectionspace.services.common.authorization_mgt.AuthorizationStore.getRoleByName(AuthorizationStore.java:56)
[exec] at org.collectionspace.services.common.authorization_mgt.AuthorizationCommon.getRole(AuthorizationCommon.java:156)
[exec] at org.collectionspace.services.authorization.importer.AuthorizationGen.buildTenantAdminRole(AuthorizationGen.java:263)
[exec] at org.collectionspace.services.authorization.importer.AuthorizationGen.createDefaultRoles(AuthorizationGen.java:253)
[exec] at org.collectionspace.services.authorization.driver.AuthorizationSeedDriver.generate(AuthorizationSeedDriver.java:116)
[exec] at org.collectionspace.ImportAuthz.main(ImportAuthz.java:163)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[exec] at java.lang.reflect.Method.invoke(Method.java:601)
[exec] at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:290)
[exec] at java.lang.Thread.run(Thread.java:722)
[exec] 2013-05-28 14:22:53,369 WARN [org.collectionspace.ImportAuthz.main()] [org.collectionspace.services.common.storage.jpa.JpaStorageUtils:603] Could not find a persistence unit for: org.collectionspace.services
[exec] 2013-05-28 14:22:53,534 DEBUG [org.collectionspace.ImportAuthz.main()] [org.collectionspace.services.common.storage.jpa.JpaStorageUtils:393] Could not find entity with key ={roleName=ROLE_1_TENANT_READER}
[exec] javax.persistence.NoResultException: No entity found for query
[exec] at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:104)
[exec] at org.collectionspace.services.common.storage.jpa.JpaStorageUtils.getEnityByKey(JpaStorageUtils.java:333)
[exec] at org.collectionspace.services.common.storage.jpa.JpaStorageUtils.getEnityByKey(JpaStorageUtils.java:387)
[exec] at org.collectionspace.services.common.authorization_mgt.AuthorizationStore.getRoleByName(AuthorizationStore.java:56)
[exec] at org.collectionspace.services.common.authorization_mgt.AuthorizationCommon.getRole(AuthorizationCommon.java:156)
[exec] at org.collectionspace.services.authorization.importer.AuthorizationGen.buildTenantReaderRole(AuthorizationGen.java:276)
[exec] at org.collectionspace.services.authorization.importer.AuthorizationGen.createDefaultRoles(AuthorizationGen.java:256)
[exec] at org.collectionspace.services.authorization.driver.AuthorizationSeedDriver.generate(AuthorizationSeedDriver.java:116)
[exec] at org.collectionspace.ImportAuthz.main(ImportAuthz.java:163)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[exec] at java.lang.reflect.Method.invoke(Method.java:601)
[exec] at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:290)
[exec] at java.lang.Thread.run(Thread.java:722)
I went ahead and started tomcat, using the $CSPACE_JEESERVER_HOME/bin/startup.sh script, and, although it starts, there seem to be some issues in the catalina.out file. I have appended them here:
2013-05-28 14:49:07,998 WARN [main] [org.nuxeo.common.Environment:393] Could not get nuxeo.home neither nuxeo.home.dir system properties, will use /usr/local/share/apache-tomcat-6.0.33/nuxeo-server
2013-05-28 14:49:09,123 WARN [main] [org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent:122] Command not available: pdftohtml (command pdftohtml not found in system path. You need to install pdftohtml)
2013-05-28 14:49:09,131 WARN [main] [org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent:122] Command not available: wpd2text (command wpd2text not found in system path. You need to install wpd2text (deb: libwpd-tools) http://libwpd.sourceforge.net/download.html)
2013-05-28 14:49:09,405 WARN [main] [org.nuxeo.ecm.core.search.api.client.querymodel.QueryModelService:123] Query models are deprecated as of Nuxeo 5.4 and will be removed for Nuxeo 5.6: the query model 'DEFAULT_CREATION_CONTAINER_LIST_PROVIDER' should be upgraded to use content views
2013-05-28 14:49:11,271 ERROR [main] [org.nuxeo.runtime.osgi.OSGiRuntimeService:231] Unknown component 'OSGI-INF/layouts-contrib.xml' referenced by bundle 'org.collectionspace.publicitem'. Check the MANIFEST.MF
2013-05-28 14:49:11,483 WARN [main] [org.nuxeo.ecm.platform.convert.ooomanager.OOoManagerComponent:221] OpenOffice was not found, JOD Converter won't be available: officeHome doesn't exist or is not a directory:
2013-05-28 14:49:11,544 ERROR [main] [org.nuxeo.runtime.osgi.OSGiRuntimeService:529] Nuxeo EP Started
======================================================================
= Nuxeo EP Started
======================================================================
= Component Loading Errors:
* Unknown component 'OSGI-INF/layouts-contrib.xml' referenced by bundle 'org.collectionspace.publicitem'
======================================================================
= Component Loading Status: Pending: 1 / Unstarted: 0 / Total: 206
* service:org.nuxeo.ecm.platform.picture.web.preview.adapter.contrib requires [service:org.nuxeo.ecm.platform.preview.adapter.contrib]
======================================================================
2013-05-28 14:49:11,947 WARN [main] [net.sf.ehcache.config.ConfigurationFactory:124] No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/usr/local/share/apache-tomcat-6.0.33/lib/ehcache-1.6.2.jar!/ehcache-failsafe.xml
May 28, 2013 2:49:11 PM net.sf.ehcache.config.ConfigurationFactory parseConfiguration
WARNING: No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/usr/local/share/apache-tomcat-6.0.33/lib/ehcache-1.6.2.jar!/ehcache-failsafe.xml
I then get a series of warnings like this one:
2013-05-28 14:49:14,639 WARN [main] [org.collectionspace.services.common.authorization_mgt.AuthorizationCommon:1065] Could not retrieve a lifecycle transition definition list from: idgenerators with tenant ID = 2
Followed by warnings like this:
2013-05-28 14:49:32,550 WARN [main] [org.collectionspace.services.nuxeo.client.java.TenantRepository:230] Could not find workspace for idgenerators in repository. Creating new workspace …
Finally, I get the following INFO messages:
[INFO] Starting up the CollectionSpace Services' JAX-RS application.
Static initializtion of: org.collectionspace.services.common.security.SecurityInterceptor
[INFO] CollectionSpace Services' JAX-RS application started.
2013-05-28 14:50:03,987 (0) [http-8180-1] INFO org.collectionspace.chain.csp.config.impl.parser.AssemblingContentHandler: XMLMerge result output to: /usr/local/share/apache-tomcat-6.0.33/temp/merged-settings.xml_local-core-settings.xml-.xml
2013-05-28 14:50:03,987 (0) [http-8180-4] INFO org.collectionspace.chain.csp.config.impl.parser.AssemblingContentHandler: XMLMerge result output to: /usr/local/share/apache-tomcat-6.0.33/temp/merged-settings.xml_local-core-settings.xml-.xml
2013-05-28 14:50:09,289 (5302) [net.sf.ehcache.CacheManager@2ce7c4eb] INFO net.sf.ehcache.util.UpdateChecker: New update(s) found: 2.6.5 [http://www.terracotta.org/confluence/display/release/Release+Notes+Ehcache+Core+2.6]. Please check http://ehcache.org for the latest version.
At that point, if I try to login using http://$URL/collectionspace/ui/core/html/index.html, I eventually get the following errors:
2013-05-28 14:51:20,877 (76890) [http-8180-2] INFO org.apache.commons.httpclient.HttpMethodDirector: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
2013-05-28 14:51:20,879 (76892) [http-8180-2] INFO org.apache.commons.httpclient.HttpMethodDirector: Retrying request
2013-05-28 14:52:23,881 (139894) [http-8180-2] INFO org.apache.commons.httpclient.HttpMethodDirector: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
2013-05-28 14:52:23,882 (139895) [http-8180-2] INFO org.apache.commons.httpclient.HttpMethodDirector: Retrying request
Any suggestions would be greatly appreciated at this point. Again, this is a completely new installation, so I am perfectly willing to tear it down and start over, if that is indicated.
Thanks, in advance, for any help,
Steve
Steve Newell
Sales Engineer
Voonami, Inc
snewell@voonami.com<mailto:snewell@voonami.com>
Office: (801) 995-4023
Cell: (801) 822-8610