talk@lists.collectionspace.org

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

View all threads

New installation problems

SN
Steve Newell
Tue, May 28, 2013 9:24 PM

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
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 Office: (801) 995-4023 Cell: (801) 822-8610
AR
Aron Roberts
Tue, May 28, 2013 9:46 PM

Hi Steve,

At that point, if I try to login using
http://$URL/collectionspace/ui/core/html/index.html, I eventually get the
following errors:

First thoughts:

Have you tried logging into your CollectionSpace server at port 8180?  E.g.

http://localhost:8180/collectionspace/ui/core/html/index.html
or
http://hostname_or_IP_address:8180/collectionspace/ui/core/html/index.html

By default, that's the port on which the CollectionSpace instance is
waiting for incoming connections.  (Some implementations have set up
redirection, via Apache or otherwise, to remove the need to connect on
that port. See, for instance
http://wiki.collectionspace.org/display/DOC/Avoiding+the+Port+Number+for+the+CollectionSpace+URLs)

Thank you for sending this detailed problem report.  At a quick
glance, some or all of the many WARN level messages appear to be
normal messages - as disconcerting as it is to see them isolated here

  • that you might encounter even with a successful installation.

Aron Roberts
UC Berkeley
(on behalf of the CollectionSpace project team)

On Tue, May 28, 2013 at 2:24 PM, Steve Newell newellista@gmail.com wrote:

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
Office: (801) 995-4023
Cell: (801) 822-8610


Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Hi Steve, > At that point, if I try to login using > http://$URL/collectionspace/ui/core/html/index.html, I eventually get the > following errors: First thoughts: Have you tried logging into your CollectionSpace server at port 8180? E.g. http://localhost:8180/collectionspace/ui/core/html/index.html or http://hostname_or_IP_address:8180/collectionspace/ui/core/html/index.html By default, that's the port on which the CollectionSpace instance is waiting for incoming connections. (Some implementations have set up redirection, via Apache or otherwise, to remove the need to connect on that port. See, for instance http://wiki.collectionspace.org/display/DOC/Avoiding+the+Port+Number+for+the+CollectionSpace+URLs) Thank you for sending this detailed problem report. At a quick glance, some or all of the many WARN level messages appear to be normal messages - as disconcerting as it is to see them isolated here - that you might encounter even with a successful installation. Aron Roberts UC Berkeley (on behalf of the CollectionSpace project team) On Tue, May 28, 2013 at 2:24 PM, Steve Newell <newellista@gmail.com> wrote: > 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 > Office: (801) 995-4023 > Cell: (801) 822-8610 > > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >
SN
Steve Newell
Tue, May 28, 2013 9:52 PM

Aron,

Thanks for you quick response.  Yes, I am actually trying to connect on port 8180.  I just neglected to put that in the url I copied in.  Sorry.

Are there any diagnostics/tests I can run to help isolate the issue?

Steve

On May 28, 2013, at 3:46 PM, Aron Roberts aron@socrates.berkeley.edu wrote:

Hi Steve,

At that point, if I try to login using
http://$URL/collectionspace/ui/core/html/index.html, I eventually get the
following errors:

First thoughts:

Have you tried logging into your CollectionSpace server at port 8180?  E.g.

http://localhost:8180/collectionspace/ui/core/html/index.html
or
http://hostname_or_IP_address:8180/collectionspace/ui/core/html/index.html

By default, that's the port on which the CollectionSpace instance is
waiting for incoming connections.  (Some implementations have set up
redirection, via Apache or otherwise, to remove the need to connect on
that port. See, for instance
http://wiki.collectionspace.org/display/DOC/Avoiding+the+Port+Number+for+the+CollectionSpace+URLs)

Thank you for sending this detailed problem report.  At a quick
glance, some or all of the many WARN level messages appear to be
normal messages - as disconcerting as it is to see them isolated here

  • that you might encounter even with a successful installation.

Aron Roberts
UC Berkeley
(on behalf of the CollectionSpace project team)

On Tue, May 28, 2013 at 2:24 PM, Steve Newell newellista@gmail.com wrote:

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
Office: (801) 995-4023
Cell: (801) 822-8610


Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Aron, Thanks for you quick response. Yes, I am actually trying to connect on port 8180. I just neglected to put that in the url I copied in. Sorry. Are there any diagnostics/tests I can run to help isolate the issue? Steve On May 28, 2013, at 3:46 PM, Aron Roberts <aron@socrates.berkeley.edu> wrote: > Hi Steve, > >> At that point, if I try to login using >> http://$URL/collectionspace/ui/core/html/index.html, I eventually get the >> following errors: > > First thoughts: > > Have you tried logging into your CollectionSpace server at port 8180? E.g. > > http://localhost:8180/collectionspace/ui/core/html/index.html > or > http://hostname_or_IP_address:8180/collectionspace/ui/core/html/index.html > > By default, that's the port on which the CollectionSpace instance is > waiting for incoming connections. (Some implementations have set up > redirection, via Apache or otherwise, to remove the need to connect on > that port. See, for instance > http://wiki.collectionspace.org/display/DOC/Avoiding+the+Port+Number+for+the+CollectionSpace+URLs) > > Thank you for sending this detailed problem report. At a quick > glance, some or all of the many WARN level messages appear to be > normal messages - as disconcerting as it is to see them isolated here > - that you might encounter even with a successful installation. > > Aron Roberts > UC Berkeley > (on behalf of the CollectionSpace project team) > > On Tue, May 28, 2013 at 2:24 PM, Steve Newell <newellista@gmail.com> wrote: >> 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 >> Office: (801) 995-4023 >> Cell: (801) 822-8610 >> >> >> _______________________________________________ >> Talk mailing list >> Talk@lists.collectionspace.org >> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >>
JM
Jesse Martinez
Tue, May 28, 2013 9:58 PM

Hi Steve,

I agree with Aron, a lot of those WARN/ERROR messages posted are harmless.

By any chance, are you running behind a proxy? The connection time out
messages are interesting...

Does the UI login screen show for you when you load the html pages? What
happens when you try to log in?

  • Jesse

On Tue, May 28, 2013 at 5:52 PM, Steve Newell newellista@gmail.com wrote:

Aron,

Thanks for you quick response.  Yes, I am actually trying to connect on
port 8180.  I just neglected to put that in the url I copied in.  Sorry.

Are there any diagnostics/tests I can run to help isolate the issue?

Steve

On May 28, 2013, at 3:46 PM, Aron Roberts aron@socrates.berkeley.edu
wrote:

Hi Steve,

At that point, if I try to login using
http://$URL/collectionspace/ui/core/html/index.html, I eventually get the
following errors:

First thoughts:

Have you tried logging into your CollectionSpace server at port 8180?  E.g.

http://localhost:8180/collectionspace/ui/core/html/index.html
or
http://hostname_or_IP_address:8180/collectionspace/ui/core/html/index.html

By default, that's the port on which the CollectionSpace instance is
waiting for incoming connections.  (Some implementations have set up
redirection, via Apache or otherwise, to remove the need to connect on
that port. See, for instance

http://wiki.collectionspace.org/display/DOC/Avoiding+the+Port+Number+for+the+CollectionSpace+URLs
)

Thank you for sending this detailed problem report.  At a quick
glance, some or all of the many WARN level messages appear to be
normal messages - as disconcerting as it is to see them isolated here

  • that you might encounter even with a successful installation.

Aron Roberts
UC Berkeley
(on behalf of the CollectionSpace project team)

On Tue, May 28, 2013 at 2:24 PM, Steve Newell newellista@gmail.com
wrote:

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
Office: (801) 995-4023
Cell: (801) 822-8610


Talk mailing list
Talk@lists.collectionspace.org

http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org


Talk mailing list
Talk@lists.collectionspace.org

http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Hi Steve, I agree with Aron, a lot of those WARN/ERROR messages posted are harmless. By any chance, are you running behind a proxy? The connection time out messages are interesting... Does the UI login screen show for you when you load the html pages? What happens when you try to log in? - Jesse On Tue, May 28, 2013 at 5:52 PM, Steve Newell <newellista@gmail.com> wrote: > Aron, > > Thanks for you quick response. Yes, I am actually trying to connect on > port 8180. I just neglected to put that in the url I copied in. Sorry. > > Are there any diagnostics/tests I can run to help isolate the issue? > > Steve > > On May 28, 2013, at 3:46 PM, Aron Roberts <aron@socrates.berkeley.edu> > wrote: > > Hi Steve, > > At that point, if I try to login using > http://$URL/collectionspace/ui/core/html/index.html, I eventually get the > following errors: > > > First thoughts: > > Have you tried logging into your CollectionSpace server at port 8180? E.g. > > http://localhost:8180/collectionspace/ui/core/html/index.html > or > http://hostname_or_IP_address:8180/collectionspace/ui/core/html/index.html > > By default, that's the port on which the CollectionSpace instance is > waiting for incoming connections. (Some implementations have set up > redirection, via Apache or otherwise, to remove the need to connect on > that port. See, for instance > > http://wiki.collectionspace.org/display/DOC/Avoiding+the+Port+Number+for+the+CollectionSpace+URLs > ) > > Thank you for sending this detailed problem report. At a quick > glance, some or all of the many WARN level messages appear to be > normal messages - as disconcerting as it is to see them isolated here > - that you might encounter even with a successful installation. > > Aron Roberts > UC Berkeley > (on behalf of the CollectionSpace project team) > > On Tue, May 28, 2013 at 2:24 PM, Steve Newell <newellista@gmail.com> > wrote: > > 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 > Office: (801) 995-4023 > Cell: (801) 822-8610 > > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org > > > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org > >
SN
Steve Newell
Tue, May 28, 2013 10:02 PM

Jesse,

I am not running behind a proxy.  I have postgres and apache installed on the same machine, and the firewall is configured to allow access to that machine via ports 8180, 80, 443.

The UI login screen comes right up, but when I attempt to login as admin@core.collectionspace.org/Administrator, the page seems to hang for > 1 minute, finally, displaying "Invalid email/password combination" at the bottom of the page.

Steve

On May 28, 2013, at 3:58 PM, Jesse Martinez mjesse@gmail.com wrote:

Hi Steve,

I agree with Aron, a lot of those WARN/ERROR messages posted are harmless.

By any chance, are you running behind a proxy? The connection time out messages are interesting...

Does the UI login screen show for you when you load the html pages? What happens when you try to log in?

  • Jesse

On Tue, May 28, 2013 at 5:52 PM, Steve Newell newellista@gmail.com wrote:
Aron,

Thanks for you quick response.  Yes, I am actually trying to connect on port 8180.  I just neglected to put that in the url I copied in.  Sorry.

Are there any diagnostics/tests I can run to help isolate the issue?

Steve

On May 28, 2013, at 3:46 PM, Aron Roberts aron@socrates.berkeley.edu wrote:

Hi Steve,

At that point, if I try to login using
http://$URL/collectionspace/ui/core/html/index.html, I eventually get the
following errors:

First thoughts:

Have you tried logging into your CollectionSpace server at port 8180?  E.g.

http://localhost:8180/collectionspace/ui/core/html/index.html
or
http://hostname_or_IP_address:8180/collectionspace/ui/core/html/index.html

By default, that's the port on which the CollectionSpace instance is
waiting for incoming connections.  (Some implementations have set up
redirection, via Apache or otherwise, to remove the need to connect on
that port. See, for instance
http://wiki.collectionspace.org/display/DOC/Avoiding+the+Port+Number+for+the+CollectionSpace+URLs)

Thank you for sending this detailed problem report.  At a quick
glance, some or all of the many WARN level messages appear to be
normal messages - as disconcerting as it is to see them isolated here

  • that you might encounter even with a successful installation.

Aron Roberts
UC Berkeley
(on behalf of the CollectionSpace project team)

On Tue, May 28, 2013 at 2:24 PM, Steve Newell newellista@gmail.com wrote:

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
Office: (801) 995-4023
Cell: (801) 822-8610


Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Jesse, I am not running behind a proxy. I have postgres and apache installed on the same machine, and the firewall is configured to allow access to that machine via ports 8180, 80, 443. The UI login screen comes right up, but when I attempt to login as admin@core.collectionspace.org/Administrator, the page seems to hang for > 1 minute, finally, displaying "Invalid email/password combination" at the bottom of the page. Steve On May 28, 2013, at 3:58 PM, Jesse Martinez <mjesse@gmail.com> wrote: > Hi Steve, > > I agree with Aron, a lot of those WARN/ERROR messages posted are harmless. > > By any chance, are you running behind a proxy? The connection time out messages are interesting... > > Does the UI login screen show for you when you load the html pages? What happens when you try to log in? > > > > - Jesse > > > On Tue, May 28, 2013 at 5:52 PM, Steve Newell <newellista@gmail.com> wrote: > Aron, > > Thanks for you quick response. Yes, I am actually trying to connect on port 8180. I just neglected to put that in the url I copied in. Sorry. > > Are there any diagnostics/tests I can run to help isolate the issue? > > Steve > > On May 28, 2013, at 3:46 PM, Aron Roberts <aron@socrates.berkeley.edu> wrote: > >> Hi Steve, >> >>> At that point, if I try to login using >>> http://$URL/collectionspace/ui/core/html/index.html, I eventually get the >>> following errors: >> >> First thoughts: >> >> Have you tried logging into your CollectionSpace server at port 8180? E.g. >> >> http://localhost:8180/collectionspace/ui/core/html/index.html >> or >> http://hostname_or_IP_address:8180/collectionspace/ui/core/html/index.html >> >> By default, that's the port on which the CollectionSpace instance is >> waiting for incoming connections. (Some implementations have set up >> redirection, via Apache or otherwise, to remove the need to connect on >> that port. See, for instance >> http://wiki.collectionspace.org/display/DOC/Avoiding+the+Port+Number+for+the+CollectionSpace+URLs) >> >> Thank you for sending this detailed problem report. At a quick >> glance, some or all of the many WARN level messages appear to be >> normal messages - as disconcerting as it is to see them isolated here >> - that you might encounter even with a successful installation. >> >> Aron Roberts >> UC Berkeley >> (on behalf of the CollectionSpace project team) >> >> On Tue, May 28, 2013 at 2:24 PM, Steve Newell <newellista@gmail.com> wrote: >>> 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 >>> Office: (801) 995-4023 >>> Cell: (801) 822-8610 >>> >>> >>> _______________________________________________ >>> Talk mailing list >>> Talk@lists.collectionspace.org >>> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >>> > > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org > >
SN
Steve Newell
Tue, May 28, 2013 10:04 PM

Jesse,

Another (minor) update.  If I try to authenticate to the lifesci demo, it returns an invalid username/password error immediately.

Steve

On May 28, 2013, at 3:58 PM, Jesse Martinez mjesse@gmail.com wrote:

Hi Steve,

I agree with Aron, a lot of those WARN/ERROR messages posted are harmless.

By any chance, are you running behind a proxy? The connection time out messages are interesting...

Does the UI login screen show for you when you load the html pages? What happens when you try to log in?

  • Jesse

On Tue, May 28, 2013 at 5:52 PM, Steve Newell newellista@gmail.com wrote:
Aron,

Thanks for you quick response.  Yes, I am actually trying to connect on port 8180.  I just neglected to put that in the url I copied in.  Sorry.

Are there any diagnostics/tests I can run to help isolate the issue?

Steve

On May 28, 2013, at 3:46 PM, Aron Roberts aron@socrates.berkeley.edu wrote:

Hi Steve,

At that point, if I try to login using
http://$URL/collectionspace/ui/core/html/index.html, I eventually get the
following errors:

First thoughts:

Have you tried logging into your CollectionSpace server at port 8180?  E.g.

http://localhost:8180/collectionspace/ui/core/html/index.html
or
http://hostname_or_IP_address:8180/collectionspace/ui/core/html/index.html

By default, that's the port on which the CollectionSpace instance is
waiting for incoming connections.  (Some implementations have set up
redirection, via Apache or otherwise, to remove the need to connect on
that port. See, for instance
http://wiki.collectionspace.org/display/DOC/Avoiding+the+Port+Number+for+the+CollectionSpace+URLs)

Thank you for sending this detailed problem report.  At a quick
glance, some or all of the many WARN level messages appear to be
normal messages - as disconcerting as it is to see them isolated here

  • that you might encounter even with a successful installation.

Aron Roberts
UC Berkeley
(on behalf of the CollectionSpace project team)

On Tue, May 28, 2013 at 2:24 PM, Steve Newell newellista@gmail.com wrote:

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
Office: (801) 995-4023
Cell: (801) 822-8610


Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Jesse, Another (minor) update. If I try to authenticate to the lifesci demo, it returns an invalid username/password error immediately. Steve On May 28, 2013, at 3:58 PM, Jesse Martinez <mjesse@gmail.com> wrote: > Hi Steve, > > I agree with Aron, a lot of those WARN/ERROR messages posted are harmless. > > By any chance, are you running behind a proxy? The connection time out messages are interesting... > > Does the UI login screen show for you when you load the html pages? What happens when you try to log in? > > > > - Jesse > > > On Tue, May 28, 2013 at 5:52 PM, Steve Newell <newellista@gmail.com> wrote: > Aron, > > Thanks for you quick response. Yes, I am actually trying to connect on port 8180. I just neglected to put that in the url I copied in. Sorry. > > Are there any diagnostics/tests I can run to help isolate the issue? > > Steve > > On May 28, 2013, at 3:46 PM, Aron Roberts <aron@socrates.berkeley.edu> wrote: > >> Hi Steve, >> >>> At that point, if I try to login using >>> http://$URL/collectionspace/ui/core/html/index.html, I eventually get the >>> following errors: >> >> First thoughts: >> >> Have you tried logging into your CollectionSpace server at port 8180? E.g. >> >> http://localhost:8180/collectionspace/ui/core/html/index.html >> or >> http://hostname_or_IP_address:8180/collectionspace/ui/core/html/index.html >> >> By default, that's the port on which the CollectionSpace instance is >> waiting for incoming connections. (Some implementations have set up >> redirection, via Apache or otherwise, to remove the need to connect on >> that port. See, for instance >> http://wiki.collectionspace.org/display/DOC/Avoiding+the+Port+Number+for+the+CollectionSpace+URLs) >> >> Thank you for sending this detailed problem report. At a quick >> glance, some or all of the many WARN level messages appear to be >> normal messages - as disconcerting as it is to see them isolated here >> - that you might encounter even with a successful installation. >> >> Aron Roberts >> UC Berkeley >> (on behalf of the CollectionSpace project team) >> >> On Tue, May 28, 2013 at 2:24 PM, Steve Newell <newellista@gmail.com> wrote: >>> 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 >>> Office: (801) 995-4023 >>> Cell: (801) 822-8610 >>> >>> >>> _______________________________________________ >>> Talk mailing list >>> Talk@lists.collectionspace.org >>> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >>> > > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org > >
RJ
Rick Jaffe
Tue, May 28, 2013 10:07 PM

Hi Steve,

I'm chiming in, hoping not to confuse things. (Jesse and Aron are way more
skilled at troubleshooting...) However, you don't describe installing the
app and UI layers using mvn clean install -DskipTests on each layer, with
Tomcat running. The invalid username/password error often points to that.

Rick

On Tue, May 28, 2013 at 3:04 PM, Steve Newell newellista@gmail.com wrote:

Jesse,

Another (minor) update.  If I try to authenticate to the lifesci demo, it
returns an invalid username/password error immediately.

Steve

On May 28, 2013, at 3:58 PM, Jesse Martinez mjesse@gmail.com wrote:

Hi Steve,

I agree with Aron, a lot of those WARN/ERROR messages posted are harmless.

By any chance, are you running behind a proxy? The connection time out
messages are interesting...

Does the UI login screen show for you when you load the html pages? What
happens when you try to log in?

  • Jesse

On Tue, May 28, 2013 at 5:52 PM, Steve Newell newellista@gmail.comwrote:

Aron,

Thanks for you quick response.  Yes, I am actually trying to connect on
port 8180.  I just neglected to put that in the url I copied in.  Sorry.

Are there any diagnostics/tests I can run to help isolate the issue?

Steve

On May 28, 2013, at 3:46 PM, Aron Roberts aron@socrates.berkeley.edu
wrote:

Hi Steve,

At that point, if I try to login using
http://$URL/collectionspace/ui/core/html/index.html, I eventually get the
following errors:

First thoughts:

Have you tried logging into your CollectionSpace server at port 8180?
E.g.

http://localhost:8180/collectionspace/ui/core/html/index.html
or
http://hostname_or_IP_address:8180/collectionspace/ui/core/html/index.htmlhttp://hostname_or_ip_address:8180/collectionspace/ui/core/html/index.html

By default, that's the port on which the CollectionSpace instance is
waiting for incoming connections.  (Some implementations have set up
redirection, via Apache or otherwise, to remove the need to connect on
that port. See, for instance

http://wiki.collectionspace.org/display/DOC/Avoiding+the+Port+Number+for+the+CollectionSpace+URLs
)

Thank you for sending this detailed problem report.  At a quick
glance, some or all of the many WARN level messages appear to be
normal messages - as disconcerting as it is to see them isolated here

  • that you might encounter even with a successful installation.

Aron Roberts
UC Berkeley
(on behalf of the CollectionSpace project team)

On Tue, May 28, 2013 at 2:24 PM, Steve Newell newellista@gmail.com
wrote:

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
Office: (801) 995-4023
Cell: (801) 822-8610


Talk mailing list
Talk@lists.collectionspace.org

http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org


Talk mailing list
Talk@lists.collectionspace.org

http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Hi Steve, I'm chiming in, hoping not to confuse things. (Jesse and Aron are way more skilled at troubleshooting...) However, you don't describe installing the app and UI layers using mvn clean install -DskipTests on each layer, with Tomcat running. The invalid username/password error often points to that. Rick On Tue, May 28, 2013 at 3:04 PM, Steve Newell <newellista@gmail.com> wrote: > Jesse, > > Another (minor) update. If I try to authenticate to the lifesci demo, it > returns an invalid username/password error immediately. > > Steve > > On May 28, 2013, at 3:58 PM, Jesse Martinez <mjesse@gmail.com> wrote: > > Hi Steve, > > I agree with Aron, a lot of those WARN/ERROR messages posted are harmless. > > By any chance, are you running behind a proxy? The connection time out > messages are interesting... > > Does the UI login screen show for you when you load the html pages? What > happens when you try to log in? > > > > - Jesse > > > On Tue, May 28, 2013 at 5:52 PM, Steve Newell <newellista@gmail.com>wrote: > >> Aron, >> >> Thanks for you quick response. Yes, I am actually trying to connect on >> port 8180. I just neglected to put that in the url I copied in. Sorry. >> >> Are there any diagnostics/tests I can run to help isolate the issue? >> >> Steve >> >> On May 28, 2013, at 3:46 PM, Aron Roberts <aron@socrates.berkeley.edu> >> wrote: >> >> Hi Steve, >> >> At that point, if I try to login using >> http://$URL/collectionspace/ui/core/html/index.html, I eventually get the >> following errors: >> >> >> First thoughts: >> >> Have you tried logging into your CollectionSpace server at port 8180? >> E.g. >> >> http://localhost:8180/collectionspace/ui/core/html/index.html >> or >> http://hostname_or_IP_address:8180/collectionspace/ui/core/html/index.html<http://hostname_or_ip_address:8180/collectionspace/ui/core/html/index.html> >> >> By default, that's the port on which the CollectionSpace instance is >> waiting for incoming connections. (Some implementations have set up >> redirection, via Apache or otherwise, to remove the need to connect on >> that port. See, for instance >> >> http://wiki.collectionspace.org/display/DOC/Avoiding+the+Port+Number+for+the+CollectionSpace+URLs >> ) >> >> Thank you for sending this detailed problem report. At a quick >> glance, some or all of the many WARN level messages appear to be >> normal messages - as disconcerting as it is to see them isolated here >> - that you might encounter even with a successful installation. >> >> Aron Roberts >> UC Berkeley >> (on behalf of the CollectionSpace project team) >> >> On Tue, May 28, 2013 at 2:24 PM, Steve Newell <newellista@gmail.com> >> wrote: >> >> 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 >> Office: (801) 995-4023 >> Cell: (801) 822-8610 >> >> >> _______________________________________________ >> Talk mailing list >> Talk@lists.collectionspace.org >> >> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >> >> >> >> _______________________________________________ >> Talk mailing list >> Talk@lists.collectionspace.org >> >> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >> >> > > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org > >
JM
Jesse Martinez
Tue, May 28, 2013 10:14 PM

Steve,

Ah, OK. I think Nuxeo may also need port 8080 to be open. I'm not
entirely sure, but I think it's worth trying.

  • Jesse

On Tue, May 28, 2013 at 6:02 PM, Steve Newell newellista@gmail.com wrote:

Jesse,

I am not running behind a proxy.  I have postgres and apache installed on
the same machine, and the firewall is configured to allow access to that
machine via ports 8180, 80, 443.

The UI login screen comes right up, but when I attempt to login as
admin@core.collectionspace.org/Administrator, the page seems to hang for

1 minute, finally, displaying "Invalid email/password combination" at the

bottom of the page.

Steve

On May 28, 2013, at 3:58 PM, Jesse Martinez mjesse@gmail.com wrote:

Hi Steve,

I agree with Aron, a lot of those WARN/ERROR messages posted are harmless.

By any chance, are you running behind a proxy? The connection time out
messages are interesting...

Does the UI login screen show for you when you load the html pages? What
happens when you try to log in?

  • Jesse

On Tue, May 28, 2013 at 5:52 PM, Steve Newell newellista@gmail.comwrote:

Aron,

Thanks for you quick response.  Yes, I am actually trying to connect on
port 8180.  I just neglected to put that in the url I copied in.  Sorry.

Are there any diagnostics/tests I can run to help isolate the issue?

Steve

On May 28, 2013, at 3:46 PM, Aron Roberts aron@socrates.berkeley.edu
wrote:

Hi Steve,

At that point, if I try to login using
http://$URL/collectionspace/ui/core/html/index.html, I eventually get the
following errors:

First thoughts:

Have you tried logging into your CollectionSpace server at port 8180?
E.g.

http://localhost:8180/collectionspace/ui/core/html/index.html
or
http://hostname_or_IP_address:8180/collectionspace/ui/core/html/index.htmlhttp://hostname_or_ip_address:8180/collectionspace/ui/core/html/index.html

By default, that's the port on which the CollectionSpace instance is
waiting for incoming connections.  (Some implementations have set up
redirection, via Apache or otherwise, to remove the need to connect on
that port. See, for instance

http://wiki.collectionspace.org/display/DOC/Avoiding+the+Port+Number+for+the+CollectionSpace+URLs
)

Thank you for sending this detailed problem report.  At a quick
glance, some or all of the many WARN level messages appear to be
normal messages - as disconcerting as it is to see them isolated here

  • that you might encounter even with a successful installation.

Aron Roberts
UC Berkeley
(on behalf of the CollectionSpace project team)

On Tue, May 28, 2013 at 2:24 PM, Steve Newell newellista@gmail.com
wrote:

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
Office: (801) 995-4023
Cell: (801) 822-8610


Talk mailing list
Talk@lists.collectionspace.org

http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org


Talk mailing list
Talk@lists.collectionspace.org

http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Steve, Ah, OK. I _think_ Nuxeo may also need port 8080 to be open. I'm not entirely sure, but I think it's worth trying. - Jesse On Tue, May 28, 2013 at 6:02 PM, Steve Newell <newellista@gmail.com> wrote: > Jesse, > > I am not running behind a proxy. I have postgres and apache installed on > the same machine, and the firewall is configured to allow access to that > machine via ports 8180, 80, 443. > > The UI login screen comes right up, but when I attempt to login as > admin@core.collectionspace.org/Administrator, the page seems to hang for > > 1 minute, finally, displaying "Invalid email/password combination" at the > bottom of the page. > > Steve > > On May 28, 2013, at 3:58 PM, Jesse Martinez <mjesse@gmail.com> wrote: > > Hi Steve, > > I agree with Aron, a lot of those WARN/ERROR messages posted are harmless. > > By any chance, are you running behind a proxy? The connection time out > messages are interesting... > > Does the UI login screen show for you when you load the html pages? What > happens when you try to log in? > > > > - Jesse > > > On Tue, May 28, 2013 at 5:52 PM, Steve Newell <newellista@gmail.com>wrote: > >> Aron, >> >> Thanks for you quick response. Yes, I am actually trying to connect on >> port 8180. I just neglected to put that in the url I copied in. Sorry. >> >> Are there any diagnostics/tests I can run to help isolate the issue? >> >> Steve >> >> On May 28, 2013, at 3:46 PM, Aron Roberts <aron@socrates.berkeley.edu> >> wrote: >> >> Hi Steve, >> >> At that point, if I try to login using >> http://$URL/collectionspace/ui/core/html/index.html, I eventually get the >> following errors: >> >> >> First thoughts: >> >> Have you tried logging into your CollectionSpace server at port 8180? >> E.g. >> >> http://localhost:8180/collectionspace/ui/core/html/index.html >> or >> http://hostname_or_IP_address:8180/collectionspace/ui/core/html/index.html<http://hostname_or_ip_address:8180/collectionspace/ui/core/html/index.html> >> >> By default, that's the port on which the CollectionSpace instance is >> waiting for incoming connections. (Some implementations have set up >> redirection, via Apache or otherwise, to remove the need to connect on >> that port. See, for instance >> >> http://wiki.collectionspace.org/display/DOC/Avoiding+the+Port+Number+for+the+CollectionSpace+URLs >> ) >> >> Thank you for sending this detailed problem report. At a quick >> glance, some or all of the many WARN level messages appear to be >> normal messages - as disconcerting as it is to see them isolated here >> - that you might encounter even with a successful installation. >> >> Aron Roberts >> UC Berkeley >> (on behalf of the CollectionSpace project team) >> >> On Tue, May 28, 2013 at 2:24 PM, Steve Newell <newellista@gmail.com> >> wrote: >> >> 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 >> Office: (801) 995-4023 >> Cell: (801) 822-8610 >> >> >> _______________________________________________ >> Talk mailing list >> Talk@lists.collectionspace.org >> >> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >> >> >> >> _______________________________________________ >> Talk mailing list >> Talk@lists.collectionspace.org >> >> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >> >> > >
RL
Ray Lee
Tue, May 28, 2013 10:21 PM

Steve,
In which log did you see the org.apache.commons.httpclient.HttpMethodDirector
exceptions? From those errors, it sounds like the app layer is unable to
connect to the services layer. That would result in those "invalid
username/password" errors on login. Are you able to connect to
http://localhost:8180/cspace-services/
from your server? For example, if you have curl installed, this should work:

curl -i -u "admin@core.collectionspace.org:Administrator"
http://localhost:8180/cspace-services/collectionobjects/

Ray

On Tue, May 28, 2013 at 3:07 PM, Rick Jaffe rjaffe@berkeley.edu wrote:

Hi Steve,

I'm chiming in, hoping not to confuse things. (Jesse and Aron are way more
skilled at troubleshooting...) However, you don't describe installing the
app and UI layers using mvn clean install -DskipTests on each layer, with
Tomcat running. The invalid username/password error often points to that.

Rick

On Tue, May 28, 2013 at 3:04 PM, Steve Newell newellista@gmail.comwrote:

Jesse,

Another (minor) update.  If I try to authenticate to the lifesci demo, it
returns an invalid username/password error immediately.

Steve

On May 28, 2013, at 3:58 PM, Jesse Martinez mjesse@gmail.com wrote:

Hi Steve,

I agree with Aron, a lot of those WARN/ERROR messages posted are
harmless.

By any chance, are you running behind a proxy? The connection time out
messages are interesting...

Does the UI login screen show for you when you load the html pages? What
happens when you try to log in?

  • Jesse

On Tue, May 28, 2013 at 5:52 PM, Steve Newell newellista@gmail.comwrote:

Aron,

Thanks for you quick response.  Yes, I am actually trying to connect on
port 8180.  I just neglected to put that in the url I copied in.  Sorry.

Are there any diagnostics/tests I can run to help isolate the issue?

Steve

On May 28, 2013, at 3:46 PM, Aron Roberts aron@socrates.berkeley.edu
wrote:

Hi Steve,

At that point, if I try to login using
http://$URL/collectionspace/ui/core/html/index.html, I eventually get
the
following errors:

First thoughts:

Have you tried logging into your CollectionSpace server at port 8180?
E.g.

http://localhost:8180/collectionspace/ui/core/html/index.html
or

http://hostname_or_IP_address:8180/collectionspace/ui/core/html/index.htmlhttp://hostname_or_ip_address:8180/collectionspace/ui/core/html/index.html

By default, that's the port on which the CollectionSpace instance is
waiting for incoming connections.  (Some implementations have set up
redirection, via Apache or otherwise, to remove the need to connect on
that port. See, for instance

http://wiki.collectionspace.org/display/DOC/Avoiding+the+Port+Number+for+the+CollectionSpace+URLs
)

Thank you for sending this detailed problem report.  At a quick
glance, some or all of the many WARN level messages appear to be
normal messages - as disconcerting as it is to see them isolated here

  • that you might encounter even with a successful installation.

Aron Roberts
UC Berkeley
(on behalf of the CollectionSpace project team)

On Tue, May 28, 2013 at 2:24 PM, Steve Newell newellista@gmail.com
wrote:

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
Office: (801) 995-4023
Cell: (801) 822-8610


Talk mailing list
Talk@lists.collectionspace.org

http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org


Talk mailing list
Talk@lists.collectionspace.org

http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Steve, In which log did you see the org.apache.commons.httpclient.HttpMethodDirector exceptions? From those errors, it sounds like the app layer is unable to connect to the services layer. That would result in those "invalid username/password" errors on login. Are you able to connect to http://localhost:8180/cspace-services/ from your server? For example, if you have curl installed, this should work: curl -i -u "admin@core.collectionspace.org:Administrator" http://localhost:8180/cspace-services/collectionobjects/ Ray On Tue, May 28, 2013 at 3:07 PM, Rick Jaffe <rjaffe@berkeley.edu> wrote: > Hi Steve, > > I'm chiming in, hoping not to confuse things. (Jesse and Aron are way more > skilled at troubleshooting...) However, you don't describe installing the > app and UI layers using mvn clean install -DskipTests on each layer, with > Tomcat running. The invalid username/password error often points to that. > > Rick > > > On Tue, May 28, 2013 at 3:04 PM, Steve Newell <newellista@gmail.com>wrote: > >> Jesse, >> >> Another (minor) update. If I try to authenticate to the lifesci demo, it >> returns an invalid username/password error immediately. >> >> Steve >> >> On May 28, 2013, at 3:58 PM, Jesse Martinez <mjesse@gmail.com> wrote: >> >> Hi Steve, >> >> I agree with Aron, a lot of those WARN/ERROR messages posted are >> harmless. >> >> By any chance, are you running behind a proxy? The connection time out >> messages are interesting... >> >> Does the UI login screen show for you when you load the html pages? What >> happens when you try to log in? >> >> >> >> - Jesse >> >> >> On Tue, May 28, 2013 at 5:52 PM, Steve Newell <newellista@gmail.com>wrote: >> >>> Aron, >>> >>> Thanks for you quick response. Yes, I am actually trying to connect on >>> port 8180. I just neglected to put that in the url I copied in. Sorry. >>> >>> Are there any diagnostics/tests I can run to help isolate the issue? >>> >>> Steve >>> >>> On May 28, 2013, at 3:46 PM, Aron Roberts <aron@socrates.berkeley.edu> >>> wrote: >>> >>> Hi Steve, >>> >>> At that point, if I try to login using >>> http://$URL/collectionspace/ui/core/html/index.html, I eventually get >>> the >>> following errors: >>> >>> >>> First thoughts: >>> >>> Have you tried logging into your CollectionSpace server at port 8180? >>> E.g. >>> >>> http://localhost:8180/collectionspace/ui/core/html/index.html >>> or >>> >>> http://hostname_or_IP_address:8180/collectionspace/ui/core/html/index.html<http://hostname_or_ip_address:8180/collectionspace/ui/core/html/index.html> >>> >>> By default, that's the port on which the CollectionSpace instance is >>> waiting for incoming connections. (Some implementations have set up >>> redirection, via Apache or otherwise, to remove the need to connect on >>> that port. See, for instance >>> >>> http://wiki.collectionspace.org/display/DOC/Avoiding+the+Port+Number+for+the+CollectionSpace+URLs >>> ) >>> >>> Thank you for sending this detailed problem report. At a quick >>> glance, some or all of the many WARN level messages appear to be >>> normal messages - as disconcerting as it is to see them isolated here >>> - that you might encounter even with a successful installation. >>> >>> Aron Roberts >>> UC Berkeley >>> (on behalf of the CollectionSpace project team) >>> >>> On Tue, May 28, 2013 at 2:24 PM, Steve Newell <newellista@gmail.com> >>> wrote: >>> >>> 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 >>> Office: (801) 995-4023 >>> Cell: (801) 822-8610 >>> >>> >>> _______________________________________________ >>> Talk mailing list >>> Talk@lists.collectionspace.org >>> >>> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >>> >>> >>> >>> _______________________________________________ >>> Talk mailing list >>> Talk@lists.collectionspace.org >>> >>> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >>> >>> >> >> >> _______________________________________________ >> Talk mailing list >> Talk@lists.collectionspace.org >> >> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >> >> > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org > >
AR
Aron Roberts
Tue, May 28, 2013 10:21 PM

Continuing to throw suggestions your way, along with Jesse's:

In which log file are you seeing the
"org.apache.commons.httpclient.HttpMethodDirector: I/O exception
(java.net.ConnectException) caught when processing request: Connection
timed out" messages?

CollectionSpace's Application layer (the middle layer in UI <->
Application <-> Services) connects to the Services layer via Apache
HttpClient code.  It's possible that the App layer's configuration,
telling it where to find the Services layer, may be incorrect, or that
your firewall settings may be preventing it from talking to the
Services layer.

Can you try connecting, via your browser, directly to the services layer?  E.g.:

http://your_hostname_or_IP_address:8180/cspace-services/intakes

And giving
admin@core.collectionspace.org
as the username, and
Administrator
as the password?

If that works, then you might look again the "Configure your tenant"
section of the installation document, particularly this:

--
The settings file for a tenant is located at
$CSPACE_JEESERVER_HOME/lib/tenants/{tenantname}/local-{tenantname}-settings.xml,
where {tenantname} is replaced by the actual name of the tenant. ...

Enter your server address of the CollectionSpace services layer in the
<url> directive. This is the address of the back-end part of
CollectionSpace that stores data, such as cataloging and procedural
records. Usually this is running on your own host and you can simply
leave the default value of localhost here, but you can also set this
to a different host. ...

<persistence> <service> <url>http://<your-server>:8180/cspace-services</url> --

Aron

On Tue, May 28, 2013 at 3:14 PM, Jesse Martinez mjesse@gmail.com wrote:

Steve,

Ah, OK. I think Nuxeo may also need port 8080 to be open. I'm not entirely
sure, but I think it's worth trying.

  • Jesse

On Tue, May 28, 2013 at 6:02 PM, Steve Newell newellista@gmail.com wrote:

Jesse,

I am not running behind a proxy.  I have postgres and apache installed on
the same machine, and the firewall is configured to allow access to that
machine via ports 8180, 80, 443.

The UI login screen comes right up, but when I attempt to login as
admin@core.collectionspace.org/Administrator, the page seems to hang for > 1
minute, finally, displaying "Invalid email/password combination" at the
bottom of the page.

Steve

On May 28, 2013, at 3:58 PM, Jesse Martinez mjesse@gmail.com wrote:

Hi Steve,

I agree with Aron, a lot of those WARN/ERROR messages posted are harmless.

By any chance, are you running behind a proxy? The connection time out
messages are interesting...

Does the UI login screen show for you when you load the html pages? What
happens when you try to log in?

  • Jesse

On Tue, May 28, 2013 at 5:52 PM, Steve Newell newellista@gmail.com
wrote:

Aron,

Thanks for you quick response.  Yes, I am actually trying to connect on
port 8180.  I just neglected to put that in the url I copied in.  Sorry.

Are there any diagnostics/tests I can run to help isolate the issue?

Steve

On May 28, 2013, at 3:46 PM, Aron Roberts aron@socrates.berkeley.edu
wrote:

Hi Steve,

At that point, if I try to login using
http://$URL/collectionspace/ui/core/html/index.html, I eventually get the
following errors:

First thoughts:

Have you tried logging into your CollectionSpace server at port 8180?
E.g.

http://localhost:8180/collectionspace/ui/core/html/index.html
or

http://hostname_or_IP_address:8180/collectionspace/ui/core/html/index.html

By default, that's the port on which the CollectionSpace instance is
waiting for incoming connections.  (Some implementations have set up
redirection, via Apache or otherwise, to remove the need to connect on
that port. See, for instance

http://wiki.collectionspace.org/display/DOC/Avoiding+the+Port+Number+for+the+CollectionSpace+URLs)

Thank you for sending this detailed problem report.  At a quick
glance, some or all of the many WARN level messages appear to be
normal messages - as disconcerting as it is to see them isolated here

  • that you might encounter even with a successful installation.

Aron Roberts
UC Berkeley
(on behalf of the CollectionSpace project team)

On Tue, May 28, 2013 at 2:24 PM, Steve Newell newellista@gmail.com
wrote:

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
Office: (801) 995-4023
Cell: (801) 822-8610


Talk mailing list
Talk@lists.collectionspace.org

http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org


Talk mailing list
Talk@lists.collectionspace.org

http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Continuing to throw suggestions your way, along with Jesse's: In which log file are you seeing the "org.apache.commons.httpclient.HttpMethodDirector: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out" messages? CollectionSpace's Application layer (the middle layer in UI <-> Application <-> Services) connects to the Services layer via Apache HttpClient code. It's possible that the App layer's configuration, telling it where to find the Services layer, may be incorrect, or that your firewall settings may be preventing it from talking to the Services layer. Can you try connecting, via your browser, directly to the services layer? E.g.: http://your_hostname_or_IP_address:8180/cspace-services/intakes And giving admin@core.collectionspace.org as the username, and Administrator as the password? If that works, then you might look again the "Configure your tenant" section of the installation document, particularly this: -- The settings file for a tenant is located at $CSPACE_JEESERVER_HOME/lib/tenants/{tenantname}/local-{tenantname}-settings.xml, where {tenantname} is replaced by the actual name of the tenant. ... Enter your server address of the CollectionSpace services layer in the <url> directive. This is the address of the back-end part of CollectionSpace that stores data, such as cataloging and procedural records. Usually this is running on your own host and you can simply leave the default value of localhost here, but you can also set this to a different host. ... <persistence> <service> <url>http://<your-server>:8180/cspace-services</url> -- Aron On Tue, May 28, 2013 at 3:14 PM, Jesse Martinez <mjesse@gmail.com> wrote: > Steve, > > Ah, OK. I _think_ Nuxeo may also need port 8080 to be open. I'm not entirely > sure, but I think it's worth trying. > > - Jesse > > > > > On Tue, May 28, 2013 at 6:02 PM, Steve Newell <newellista@gmail.com> wrote: >> >> Jesse, >> >> I am not running behind a proxy. I have postgres and apache installed on >> the same machine, and the firewall is configured to allow access to that >> machine via ports 8180, 80, 443. >> >> The UI login screen comes right up, but when I attempt to login as >> admin@core.collectionspace.org/Administrator, the page seems to hang for > 1 >> minute, finally, displaying "Invalid email/password combination" at the >> bottom of the page. >> >> Steve >> >> On May 28, 2013, at 3:58 PM, Jesse Martinez <mjesse@gmail.com> wrote: >> >> Hi Steve, >> >> I agree with Aron, a lot of those WARN/ERROR messages posted are harmless. >> >> By any chance, are you running behind a proxy? The connection time out >> messages are interesting... >> >> Does the UI login screen show for you when you load the html pages? What >> happens when you try to log in? >> >> >> >> - Jesse >> >> >> On Tue, May 28, 2013 at 5:52 PM, Steve Newell <newellista@gmail.com> >> wrote: >>> >>> Aron, >>> >>> Thanks for you quick response. Yes, I am actually trying to connect on >>> port 8180. I just neglected to put that in the url I copied in. Sorry. >>> >>> Are there any diagnostics/tests I can run to help isolate the issue? >>> >>> Steve >>> >>> On May 28, 2013, at 3:46 PM, Aron Roberts <aron@socrates.berkeley.edu> >>> wrote: >>> >>> Hi Steve, >>> >>> At that point, if I try to login using >>> http://$URL/collectionspace/ui/core/html/index.html, I eventually get the >>> following errors: >>> >>> >>> First thoughts: >>> >>> Have you tried logging into your CollectionSpace server at port 8180? >>> E.g. >>> >>> http://localhost:8180/collectionspace/ui/core/html/index.html >>> or >>> >>> http://hostname_or_IP_address:8180/collectionspace/ui/core/html/index.html >>> >>> By default, that's the port on which the CollectionSpace instance is >>> waiting for incoming connections. (Some implementations have set up >>> redirection, via Apache or otherwise, to remove the need to connect on >>> that port. See, for instance >>> >>> http://wiki.collectionspace.org/display/DOC/Avoiding+the+Port+Number+for+the+CollectionSpace+URLs) >>> >>> Thank you for sending this detailed problem report. At a quick >>> glance, some or all of the many WARN level messages appear to be >>> normal messages - as disconcerting as it is to see them isolated here >>> - that you might encounter even with a successful installation. >>> >>> Aron Roberts >>> UC Berkeley >>> (on behalf of the CollectionSpace project team) >>> >>> On Tue, May 28, 2013 at 2:24 PM, Steve Newell <newellista@gmail.com> >>> wrote: >>> >>> 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 >>> Office: (801) 995-4023 >>> Cell: (801) 822-8610 >>> >>> >>> _______________________________________________ >>> Talk mailing list >>> Talk@lists.collectionspace.org >>> >>> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >>> >>> >>> >>> _______________________________________________ >>> Talk mailing list >>> Talk@lists.collectionspace.org >>> >>> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >>> >> >> > > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >