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 11:01 PM

Rick,

Thanks for the response.  I did run the maven process, and it completed correctly.  I didn't specify that in my original email, as the problems seemed to occur later in the process.

Thanks for the input!

Steve
On May 28, 2013, at 4: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

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

Rick, Thanks for the response. I did run the maven process, and it completed correctly. I didn't specify that in my original email, as the problems seemed to occur later in the process. Thanks for the input! Steve On May 28, 2013, at 4: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 >>> >>> 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 > >
SN
Steve Newell
Tue, May 28, 2013 11:08 PM

On May 28, 2013, at 4:21 PM, Aron Roberts aronroberts@gmail.com wrote:

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?

That error is from the catalina.out file in /usr/local/share/apache-tomcat-6.0.33/logs

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?

I did this, and got the following xml document back:

<ns2:abstract-common-list xmlns:ns2="http://collectionspace.org/services/jaxb">
<pageNum>0</pageNum>
<pageSize>40</pageSize>
<itemsInPage>0</itemsInPage>
<totalItems>0</totalItems>
<fieldsReturned>
csid|uri|refName|updatedAt|workflowState|entryNumber|depositor|currentOwner
</fieldsReturned>
</ns2:abstract-common-list>

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> --

I was a little confused by this, since the default value in my installation was http://qa.collectionspace.org, or something to that effect.  I did change it to the correct IP address of my installation.

I'll try changing that to localhost, and see if that makes any difference.

Thanks again for your help in resolving this issue!

Steve

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

On May 28, 2013, at 4:21 PM, Aron Roberts <aronroberts@gmail.com> wrote: > 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? > That error is from the catalina.out file in /usr/local/share/apache-tomcat-6.0.33/logs > 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? > I did this, and got the following xml document back: <ns2:abstract-common-list xmlns:ns2="http://collectionspace.org/services/jaxb"> <pageNum>0</pageNum> <pageSize>40</pageSize> <itemsInPage>0</itemsInPage> <totalItems>0</totalItems> <fieldsReturned> csid|uri|refName|updatedAt|workflowState|entryNumber|depositor|currentOwner </fieldsReturned> </ns2:abstract-common-list> > 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> > -- > I was a little confused by this, since the default value in my installation was http://qa.collectionspace.org, or something to that effect. I did change it to the correct IP address of my installation. I'll try changing that to localhost, and see if that makes any difference. Thanks again for your help in resolving this issue! Steve > 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 >>
AR
Aron Roberts
Tue, May 28, 2013 11:15 PM

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

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

I was a little confused by this, since the default value in my installation
was http://qa.collectionspace.org, or something to that effect.  I did
change it to the correct IP address of my installation.

I'll try changing that to localhost, and see if that makes any difference.

Definitely worth trying, Steve - thanks!

(And the default setting in that file of 'qa.collectionspace.org',
rather than 'localhost', is in error.  I'll fix that today, as well as
revisit - and if necessary reopen - the issue to address that
erroneous setting:
http://issues.collectionspace.org/browse/CSPACE-5919)

Aron

On Tue, May 28, 2013 at 4:08 PM, Steve Newell <newellista@gmail.com> wrote: >> <persistence> >> <service> >> <url>http://<your-server>:8180/cspace-services</url> > > I was a little confused by this, since the default value in my installation > was http://qa.collectionspace.org, or something to that effect. I did > change it to the correct IP address of my installation. > > I'll try changing that to localhost, and see if that makes any difference. Definitely worth trying, Steve - thanks! (And the default setting in that file of 'qa.collectionspace.org', rather than 'localhost', is in error. I'll fix that today, as well as revisit - and if necessary reopen - the issue to address that erroneous setting: http://issues.collectionspace.org/browse/CSPACE-5919) Aron
SN
Steve Newell
Tue, May 28, 2013 11:23 PM

And Success!

I changed that url from http://<my-server-ip>… to http://localhost… and it allowed me to login!

Thanks to all who gave amazing support.  Just one more reason Open Source works!

Steve

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

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

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

I was a little confused by this, since the default value in my installation
was http://qa.collectionspace.org, or something to that effect.  I did
change it to the correct IP address of my installation.

I'll try changing that to localhost, and see if that makes any difference.

Definitely worth trying, Steve - thanks!

(And the default setting in that file of 'qa.collectionspace.org',
rather than 'localhost', is in error.  I'll fix that today, as well as
revisit - and if necessary reopen - the issue to address that
erroneous setting:
http://issues.collectionspace.org/browse/CSPACE-5919)

Aron

And Success! I changed that url from http://<my-server-ip>… to http://localhost… and it allowed me to login! Thanks to all who gave amazing support. Just one more reason Open Source works! Steve On May 28, 2013, at 5:15 PM, Aron Roberts <aron@socrates.berkeley.edu> wrote: > On Tue, May 28, 2013 at 4:08 PM, Steve Newell <newellista@gmail.com> wrote: >>> <persistence> >>> <service> >>> <url>http://<your-server>:8180/cspace-services</url> >> >> I was a little confused by this, since the default value in my installation >> was http://qa.collectionspace.org, or something to that effect. I did >> change it to the correct IP address of my installation. >> >> I'll try changing that to localhost, and see if that makes any difference. > > Definitely worth trying, Steve - thanks! > > (And the default setting in that file of 'qa.collectionspace.org', > rather than 'localhost', is in error. I'll fix that today, as well as > revisit - and if necessary reopen - the issue to address that > erroneous setting: > http://issues.collectionspace.org/browse/CSPACE-5919) > > Aron
AR
Aron Roberts
Wed, May 29, 2013 12:21 AM

Very glad this worked for you, Steve!  Feel free to ask more questions
here on the list as they come up.

(Next time, you can see if Ray Lee and I again make the same
suggestion at the same time <grin>.  Ray's one of our experts, and it
was gratifying to see that we were thinking alike here.)

We've just now fixed the tarball for version 3.2.2 (the file
apache-tomcat-6.0.33-2013-04-16.tar.gz), as well as verifying that the
automated script that generates the tarball does successfully change
host-specific settings like 'qa.collectionspace.org' to 'localhost',
when preparing the tarball for public distribution.  So hopefully you
and others won't encounter this specific issue again.

One more note: you may already have done this, but this same
substitution - from 'qa.collectionspace.org' to 'localhost' - ideally
needs to be made in three places - everywhere that
'qa.collectionspace.org' appears - within each of these two files:

$CATALINA_HOME/lib/tenants/core/local-core-settings.xml
$CATALINA_HOME/lib/tenants/lifesci/local-lifesci-settings.xml

Aron

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

And Success!

I changed that url from http://<my-server-ip>… to http://localhost… and it
allowed me to login!

Thanks to all who gave amazing support.  Just one more reason Open Source
works!

Steve

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

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

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

I was a little confused by this, since the default value in my installation
was http://qa.collectionspace.org, or something to that effect.  I did
change it to the correct IP address of my installation.

I'll try changing that to localhost, and see if that makes any difference.

Definitely worth trying, Steve - thanks!

(And the default setting in that file of 'qa.collectionspace.org',
rather than 'localhost', is in error.  I'll fix that today, as well as
revisit - and if necessary reopen - the issue to address that
erroneous setting:
http://issues.collectionspace.org/browse/CSPACE-5919)

Aron

Very glad this worked for you, Steve! Feel free to ask more questions here on the list as they come up. (Next time, you can see if Ray Lee and I again make the same suggestion at the same time <grin>. Ray's one of our experts, and it was gratifying to see that we were thinking alike here.) We've just now fixed the tarball for version 3.2.2 (the file apache-tomcat-6.0.33-2013-04-16.tar.gz), as well as verifying that the automated script that generates the tarball does successfully change host-specific settings like 'qa.collectionspace.org' to 'localhost', when preparing the tarball for public distribution. So hopefully you and others won't encounter this specific issue again. One more note: you may already have done this, but this same substitution - from 'qa.collectionspace.org' to 'localhost' - ideally needs to be made in three places - everywhere that 'qa.collectionspace.org' appears - within each of these two files: $CATALINA_HOME/lib/tenants/core/local-core-settings.xml $CATALINA_HOME/lib/tenants/lifesci/local-lifesci-settings.xml Aron On Tue, May 28, 2013 at 4:23 PM, Steve Newell <newellista@gmail.com> wrote: > And Success! > > I changed that url from http://<my-server-ip>… to http://localhost… and it > allowed me to login! > > Thanks to all who gave amazing support. Just one more reason Open Source > works! > > Steve > > On May 28, 2013, at 5:15 PM, Aron Roberts <aron@socrates.berkeley.edu> > wrote: > > On Tue, May 28, 2013 at 4:08 PM, Steve Newell <newellista@gmail.com> wrote: > > <persistence> > <service> > <url>http://<your-server>:8180/cspace-services</url> > > > I was a little confused by this, since the default value in my installation > was http://qa.collectionspace.org, or something to that effect. I did > change it to the correct IP address of my installation. > > I'll try changing that to localhost, and see if that makes any difference. > > > Definitely worth trying, Steve - thanks! > > (And the default setting in that file of 'qa.collectionspace.org', > rather than 'localhost', is in error. I'll fix that today, as well as > revisit - and if necessary reopen - the issue to address that > erroneous setting: > http://issues.collectionspace.org/browse/CSPACE-5919) > > Aron > >