Page 1 of 2

Installation of server beta 4.0.3 never starts

PostPosted: Thu Aug 06, 2009 1:26 pm
by nperry
I just installed the OMERO server (Beta 4.0.3) on my Macbook (OSX 10.5.7) and everything proceeds without a hitch (Ice 3.3.1, Java SDK 1.5, PostgreSQL 8.4, Python 2.5). I get no errors create databases or anything. However, when I get to the last part of the installation instructions (where I start the server):

Code: Select all
bin/omero admin start


it aborts after 5 minutes of trying to start.

Waiting on startup. Use CTRL-C to exit
.............................Failed to startup after 5 minutes


I have no idea what the problem is. Here is the output of my master.err file after a single try of starting the server immediately after a fresh install of Omero and Ice/Java/PostgreSQL:

Code: Select all
08/06/09 15:20:00.724 OMERO.Glacier2: warning: unable to contact permissions verifier `BlitzVerifier@BlitzAdapters'
Reference.cpp:1546: Ice::NoEndpointException:
no suitable endpoint available for proxy `BlitzVerifier -t @ BlitzAdapters'
08/06/09 15:20:00.726 OMERO.Glacier2: warning: unable to contact session manager `BlitzManager@BlitzAdapters'
Reference.cpp:1546: Ice::NoEndpointException:
no suitable endpoint available for proxy `BlitzManager -t @ BlitzAdapters'
Traceback (most recent call last):
  File "/Library/Ice-3.3.1/python/Ice.py", line 766, in main
    status = self.run(args)
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 42, in run
    sf = self.getOmeroServiceFactory()
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 133, in getOmeroServiceFactory
    raise Exception(excpt)
Exception: exception ::Ice::NoEndpointException
{
    proxy = BlitzManager -t @ BlitzAdapters
}
Traceback (most recent call last):
  File "/Library/Ice-3.3.1/python/Ice.py", line 766, in main
    status = self.run(args)
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 42, in run
    sf = self.getOmeroServiceFactory()
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 133, in getOmeroServiceFactory
    raise Exception(excpt)
Exception: exception ::Ice::NoEndpointException
{
    proxy = BlitzManager -t @ BlitzAdapters
}
Traceback (most recent call last):
  File "/Library/Ice-3.3.1/python/Ice.py", line 766, in main
    status = self.run(args)
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 42, in run
    sf = self.getOmeroServiceFactory()
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 133, in getOmeroServiceFactory
    raise Exception(excpt)
Exception: exception ::Ice::NoEndpointException
{
    proxy = BlitzManager -t @ BlitzAdapters
}
Traceback (most recent call last):
  File "/Library/Ice-3.3.1/python/Ice.py", line 766, in main
    status = self.run(args)
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 42, in run
    sf = self.getOmeroServiceFactory()
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 133, in getOmeroServiceFactory
    raise Exception(excpt)
Exception: exception ::Ice::NoEndpointException
{
    proxy = BlitzManager -t @ BlitzAdapters
}
Traceback (most recent call last):
  File "/Library/Ice-3.3.1/python/Ice.py", line 766, in main
    status = self.run(args)
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 42, in run
    sf = self.getOmeroServiceFactory()
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 133, in getOmeroServiceFactory
    raise Exception(excpt)
Exception: exception ::Ice::NoEndpointException
{
    proxy = BlitzManager -t @ BlitzAdapters
}
Traceback (most recent call last):
  File "/Library/Ice-3.3.1/python/Ice.py", line 766, in main
    status = self.run(args)
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 42, in run
    sf = self.getOmeroServiceFactory()
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 133, in getOmeroServiceFactory
    raise Exception(excpt)
Exception: exception ::Ice::NoEndpointException
{
    proxy = BlitzManager -t @ BlitzAdapters
}
Traceback (most recent call last):
  File "/Library/Ice-3.3.1/python/Ice.py", line 766, in main
    status = self.run(args)
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 42, in run
    sf = self.getOmeroServiceFactory()
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 133, in getOmeroServiceFactory
    raise Exception(excpt)
Exception: exception ::Ice::NoEndpointException
{
    proxy = BlitzManager -t @ BlitzAdapters
}
Traceback (most recent call last):
  File "/Library/Ice-3.3.1/python/Ice.py", line 766, in main
    status = self.run(args)
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 42, in run
    sf = self.getOmeroServiceFactory()
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 133, in getOmeroServiceFactory
    raise Exception(excpt)
Exception: exception ::Ice::NoEndpointException
{
    proxy = BlitzManager -t @ BlitzAdapters
}
Traceback (most recent call last):
  File "/Library/Ice-3.3.1/python/Ice.py", line 766, in main
    status = self.run(args)
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 42, in run
    sf = self.getOmeroServiceFactory()
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 133, in getOmeroServiceFactory
    raise Exception(excpt)
Exception: exception ::Ice::NoEndpointException
{
    proxy = BlitzManager -t @ BlitzAdapters
}
Traceback (most recent call last):
  File "/Library/Ice-3.3.1/python/Ice.py", line 766, in main
    status = self.run(args)
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 42, in run
    sf = self.getOmeroServiceFactory()
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 133, in getOmeroServiceFactory
    raise Exception(excpt)
Exception: exception ::Ice::NoEndpointException
{
    proxy = BlitzManager -t @ BlitzAdapters
}
Traceback (most recent call last):
  File "/Library/Ice-3.3.1/python/Ice.py", line 766, in main
    status = self.run(args)
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 42, in run
    sf = self.getOmeroServiceFactory()
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 133, in getOmeroServiceFactory
    raise Exception(excpt)
Exception: exception ::Ice::NoEndpointException
{
    proxy = BlitzManager -t @ BlitzAdapters
}
Traceback (most recent call last):
  File "/Library/Ice-3.3.1/python/Ice.py", line 766, in main
    status = self.run(args)
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 42, in run
    sf = self.getOmeroServiceFactory()
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 133, in getOmeroServiceFactory
    raise Exception(excpt)
Exception: exception ::Ice::NoEndpointException
{
    proxy = BlitzManager -t @ BlitzAdapters
}
Traceback (most recent call last):
  File "/Library/Ice-3.3.1/python/Ice.py", line 766, in main
    status = self.run(args)
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 42, in run
    sf = self.getOmeroServiceFactory()
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 133, in getOmeroServiceFactory
    raise Exception(excpt)
Exception: exception ::Ice::NoEndpointException
{
    proxy = BlitzManager -t @ BlitzAdapters
}
Traceback (most recent call last):
  File "/Library/Ice-3.3.1/python/Ice.py", line 766, in main
    status = self.run(args)
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 42, in run
    sf = self.getOmeroServiceFactory()
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 133, in getOmeroServiceFactory
    raise Exception(excpt)
Exception: exception ::Ice::NoEndpointException
{
    proxy = BlitzManager -t @ BlitzAdapters
}
Traceback (most recent call last):
  File "/Library/Ice-3.3.1/python/Ice.py", line 766, in main
    status = self.run(args)
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 42, in run
    sf = self.getOmeroServiceFactory()
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 133, in getOmeroServiceFactory
    raise Exception(excpt)
Exception: exception ::Ice::NoEndpointException
{
    proxy = BlitzManager -t @ BlitzAdapters
}
Traceback (most recent call last):
  File "/Library/Ice-3.3.1/python/Ice.py", line 766, in main
    status = self.run(args)
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 42, in run
    sf = self.getOmeroServiceFactory()
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 133, in getOmeroServiceFactory
    raise Exception(excpt)
Exception: exception ::Ice::NoEndpointException
{
    proxy = BlitzManager -t @ BlitzAdapters
}
Traceback (most recent call last):
  File "/Library/Ice-3.3.1/python/Ice.py", line 766, in main
    status = self.run(args)
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 42, in run
    sf = self.getOmeroServiceFactory()
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 133, in getOmeroServiceFactory
    raise Exception(excpt)
Exception: exception ::Ice::NoEndpointException
{
    proxy = BlitzManager -t @ BlitzAdapters
}
Traceback (most recent call last):
  File "/Library/Ice-3.3.1/python/Ice.py", line 766, in main
    status = self.run(args)
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 42, in run
    sf = self.getOmeroServiceFactory()
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 133, in getOmeroServiceFactory
    raise Exception(excpt)
Exception: exception ::Ice::NoEndpointException
{
    proxy = BlitzManager -t @ BlitzAdapters
}
Traceback (most recent call last):
  File "/Library/Ice-3.3.1/python/Ice.py", line 766, in main
    status = self.run(args)
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 42, in run
    sf = self.getOmeroServiceFactory()
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 133, in getOmeroServiceFactory
    raise Exception(excpt)
Exception: exception ::Ice::NoEndpointException
{
    proxy = BlitzManager -t @ BlitzAdapters
}
Traceback (most recent call last):
  File "/Library/Ice-3.3.1/python/Ice.py", line 766, in main
    status = self.run(args)
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 42, in run
    sf = self.getOmeroServiceFactory()
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 133, in getOmeroServiceFactory
    raise Exception(excpt)
Exception: exception ::Ice::NoEndpointException
{
    proxy = BlitzManager -t @ BlitzAdapters
}
Traceback (most recent call last):
  File "/Library/Ice-3.3.1/python/Ice.py", line 766, in main
    status = self.run(args)
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 42, in run
    sf = self.getOmeroServiceFactory()
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 133, in getOmeroServiceFactory
    raise Exception(excpt)
Exception: exception ::Ice::NoEndpointException
{
    proxy = BlitzManager -t @ BlitzAdapters
}
Traceback (most recent call last):
  File "/Library/Ice-3.3.1/python/Ice.py", line 766, in main
    status = self.run(args)
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 42, in run
    sf = self.getOmeroServiceFactory()
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 133, in getOmeroServiceFactory
    raise Exception(excpt)
Exception: exception ::Ice::NoEndpointException
{
    proxy = BlitzManager -t @ BlitzAdapters
}
Traceback (most recent call last):
  File "/Library/Ice-3.3.1/python/Ice.py", line 766, in main
    status = self.run(args)
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 42, in run
    sf = self.getOmeroServiceFactory()
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 133, in getOmeroServiceFactory
    raise Exception(excpt)
Exception: exception ::Ice::NoEndpointException
{
    proxy = BlitzManager -t @ BlitzAdapters
}
Traceback (most recent call last):
  File "/Library/Ice-3.3.1/python/Ice.py", line 766, in main
    status = self.run(args)
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 42, in run
    sf = self.getOmeroServiceFactory()
  File "/Users/nperry/Desktop/omero_dist/lib/python/fsDropBox.py", line 133, in getOmeroServiceFactory
    raise Exception(excpt)
Exception: exception ::Ice::NoEndpointException
{
    proxy = BlitzManager -t @ BlitzAdapters
}


Anyone know how to help?

Re: Installation of server beta 4.0.3 never starts

PostPosted: Thu Aug 06, 2009 10:54 pm
by Steve
The Omero server times out (5 minutes) when there is a error in the setup. So far this has happened to me for three different errors.
• When the Omero password does not match the Omero postgres password.
• When the Omero repository folder name is not "OMERO".
• When the Postgres Omero database tables are missing.

Re: Installation of server beta 4.0.3 never starts

PostPosted: Thu Aug 06, 2009 11:35 pm
by nperry
1. I thought this might be the problem the first time I installed. So I wiped everything, and did this new second install. This time I used the same password (and username if prompted) for both PostgreSQL and Omero whenever I was asked for a UN/PW. So I don't think this can be the problem.

2. If you are referring to the binary repository, I set it as /OMERO.

3. Here are the databases in PostgreSQL (I think...):
Code: Select all
nperry@Gypsophile:~> /Library/PostgreSQL/8.4/bin/psql -h localhost -U omero -l
Password for user omero:
                              List of databases
   Name    |  Owner   | Encoding | Collation | Ctype |   Access privileges   
-----------+----------+----------+-----------+-------+-----------------------
omero     | omero    | UTF8     | C         | C     |
postgres  | postgres | UTF8     | C         | C     |
template0 | postgres | UTF8     | C         | C     | =c/postgres
                                                     : postgres=CTc/postgres
template1 | postgres | UTF8     | C         | C     | =c/postgres
                                                     : postgres=CTc/postgres
(4 rows)


If this is not what you are referring to, then this part of the installation might be:
Code: Select all
$ cd ~/Desktop/omero
$ bin/omero db script
Please enter omero.db.version [OMERO4]:
Please enter omero.db.patch [0]:
Please enter password for new OMERO root user:
Please re-enter password for new OMERO root user:
Saving to /home/omero/Desktop/omero/OMERO4__0.sql
$ psql -h localhost -U omero omero < OMERO4__0.s


I just hit enter for version and path without entering anything (I figured that's how I triggered the defaults), then entered the PW. Following that, I ran the last line of that code and got a LOT of output. Since nothing is working anyway I tried to enter the last line of code again to reproduce my results from last time to print for you here, but instead I got a huge list of errors (probably because I already did this step and configured the OMERO database...). So, I googled around and found out how to print the PostgreSQL tables out. The ones in the omero DB are below (just the first few since there are a lot). Also, hopefully rerunning the above code didn't screw things up!
Code: Select all
omero-> \dt
                    List of relations
Schema |              Name               | Type  | Owner
--------+---------------------------------+-------+-------
public | acquisitionmode                 | table | omero
public | annotation                      | table | omero
public | annotationannotationlink        | table | omero
public | arc                             | table | omero
public | arctype                         | table | omero
public | binning                         | table | omero
public | channel                         | table | omero
public | channelannotationlink           | table | omero
public | channelbinding                  | table | omero
public | codomainmapcontext              | table | omero
public | configuration                   | table | omero
public | contrastmethod                  | table | omero
public | contraststretchingcontext       | table | omero
public | correction                      | table | omero
public | dataset                         | table | omero
public | datasetannotationlink           | table | omero
public | datasetimagelink                | table | omero
public | dbpatch                         | table | omero
public | detector                        | table | omero
public | detectorsettings                | table | omero
public | detectortype                    | table | omero
public | dichroic                        | table | omero
public | dimensionorder                  | table | omero
public | event                           | table | omero
public | eventlog                        | table | omero
public | eventtype                       | table | omero
public | experiment                      | table | omero

Re: Installation of server beta 4.0.3 never starts

PostPosted: Fri Aug 07, 2009 1:11 pm
by cxallan
@nperry

Can you paste in the contents from Blitz-0.log, while the FS log is useful, the Blitz-0.log is really what we need to see to help you out.

Re: Installation of server beta 4.0.3 never starts

PostPosted: Fri Aug 07, 2009 1:15 pm
by nperry
Here is the contents of that log:

Code: Select all
2009-08-06 15:19:55,069 INFO  [                ome.services.blitz.Entry] (      main) Creating OMERO.blitz. Please wait...
2009-08-06 15:19:59,486 INFO  [ng.ShutdownSafeEhcacheManagerFactoryBean] (      main) Initializing EHCache CacheManager
2009-08-06 15:19:59,667 INFO  [ome.services.db.SelfCorrectingDataSource] (      main) Found location in errorTimes: -1
2009-08-06 15:19:59,667 INFO  [ome.services.db.SelfCorrectingDataSource] (      main) Removing 0 from errorTimes
2009-08-06 15:19:59,667 WARN  [ome.services.db.SelfCorrectingDataSource] (      main) Registering error with list: Current size: 0
2009-08-06 15:19:59,667 INFO  [ome.services.db.SelfCorrectingDataSource] (      main) Sleeping for 0 then retry: 1
2009-08-06 15:19:59,670 INFO  [ome.services.db.SelfCorrectingDataSource] (      main) Found location in errorTimes: -1
2009-08-06 15:19:59,670 INFO  [ome.services.db.SelfCorrectingDataSource] (      main) Removing 0 from errorTimes
2009-08-06 15:19:59,670 WARN  [ome.services.db.SelfCorrectingDataSource] (      main) Registering error with list: Current size: 1
2009-08-06 15:19:59,670 INFO  [ome.services.db.SelfCorrectingDataSource] (      main) Sleeping for 1000 then retry: 2
2009-08-06 15:20:00,673 INFO  [ome.services.db.SelfCorrectingDataSource] (      main) Found location in errorTimes: -1
2009-08-06 15:20:00,673 INFO  [ome.services.db.SelfCorrectingDataSource] (      main) Removing 0 from errorTimes
2009-08-06 15:20:00,673 WARN  [ome.services.db.SelfCorrectingDataSource] (      main) Registering error with list: Current size: 2
2009-08-06 15:20:00,674 ERROR [ome.services.db.SelfCorrectingDataSource] (      main) Failed to acquire connection after retries=3
java.sql.SQLException: unable to get a connection from pool of a PoolingDataSource containing an XAPool of resource 0b1b8a72-7af7-46e7-81bf-fa6091760473 with 0 connection(s) (0 still available)
   at bitronix.tm.resource.jdbc.PoolingDataSource.getConnection(PoolingDataSource.java:109)
   at org.springframework.jdbc.datasource.DelegatingDataSource.getConnection(DelegatingDataSource.java:84)
   at ome.services.db.SelfCorrectingDataSource.call(SelfCorrectingDataSource.java:102)
   at ome.services.db.SelfCorrectingDataSource.callWithRetries(SelfCorrectingDataSource.java:75)
   at ome.services.db.SelfCorrectingDataSource.getConnection(SelfCorrectingDataSource.java:59)
   at org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy.afterPropertiesSet(LazyConnectionDataSourceProxy.java:163)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
   at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)
   at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:308)
   at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:948)
   at org.springframework.context.support.AbstractApplicationContext.registerListeners(AbstractApplicationContext.java:702)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:378)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:105)
   at ome.system.OmeroContext.<init>(OmeroContext.java:98)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
   at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
   at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
   at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
   at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:479)
   at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:168)
   at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:885)
   at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:397)
   at ome.system.OmeroContext.getInstance(OmeroContext.java:203)
   at ome.services.blitz.Entry.start(Entry.java:168)
   at ome.services.blitz.Entry.main(Entry.java:119)
Caused by: java.sql.SQLException: unable to connect to non-XA resource org.postgresql.Driver
   at bitronix.tm.resource.jdbc.lrc.LrcXADataSource.getXAConnection(LrcXADataSource.java:82)
   at bitronix.tm.resource.jdbc.PoolingDataSource.createPooledConnection(PoolingDataSource.java:167)
   at bitronix.tm.resource.common.XAPool.createPooledObject(XAPool.java:200)
   at bitronix.tm.resource.common.XAPool.grow(XAPool.java:310)
   at bitronix.tm.resource.common.XAPool.getInPool(XAPool.java:289)
   at bitronix.tm.resource.common.XAPool.getConnectionHandle(XAPool.java:72)
   at bitronix.tm.resource.common.XAPool.getConnectionHandle(XAPool.java:58)
   at bitronix.tm.resource.jdbc.PoolingDataSource.getConnection(PoolingDataSource.java:105)
   ... 115 more
Caused by: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "nick"
   at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:276)
   at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:95)
   at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
   at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:124)
   at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
   at org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24)
   at org.postgresql.Driver.makeConnection(Driver.java:386)
   at org.postgresql.Driver.connect(Driver.java:260)
   at bitronix.tm.resource.jdbc.lrc.LrcXADataSource.getXAConnection(LrcXADataSource.java:79)
   ... 122 more
2009-08-06 15:20:00,680 INFO  [ng.ShutdownSafeEhcacheManagerFactoryBean] (      main) Shutting down EHCache CacheManager
2009-08-06 15:20:00,681 ERROR [                ome.services.blitz.Entry] (      main) Error on startup.
org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [OMERO.blitz], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'OMERO.blitz' defined in URL [jar:file:/Users/nperry/Desktop/omero_dist/lib/server/blitz.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'ome.server' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ome.server' defined in URL [jar:file:/Users/nperry/Desktop/omero_dist/lib/server/server.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [ome.system.OmeroContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionManager' defined in class path resource [ome/services/sec-primitives.xml]: Cannot resolve reference to bean 'executor' while setting bean property 'executor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'executor' defined in class path resource [ome/services/services.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [ome/services/hibernate.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAwareDataSource' defined in class path resource [ome/services/datalayer.xml]: Cannot resolve reference to bean 'lazyDataSource' while setting bean property 'targetDataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lazyDataSource' defined in class path resource [ome/services/datalayer.xml]: Invocation of init method failed; nested exception is ome.conditions.DatabaseBusyException: Cannot acquire connection
   at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:410)
   at ome.system.OmeroContext.getInstance(OmeroContext.java:203)
   at ome.services.blitz.Entry.start(Entry.java:168)
   at ome.services.blitz.Entry.main(Entry.java:119)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'OMERO.blitz' defined in URL [jar:file:/Users/nperry/Desktop/omero_dist/lib/server/blitz.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'ome.server' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ome.server' defined in URL [jar:file:/Users/nperry/Desktop/omero_dist/lib/server/server.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [ome.system.OmeroContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionManager' defined in class path resource [ome/services/sec-primitives.xml]: Cannot resolve reference to bean 'executor' while setting bean property 'executor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'executor' defined in class path resource [ome/services/services.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [ome/services/hibernate.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAwareDataSource' defined in class path resource [ome/services/datalayer.xml]: Cannot resolve reference to bean 'lazyDataSource' while setting bean property 'targetDataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lazyDataSource' defined in class path resource [ome/services/datalayer.xml]: Invocation of init method failed; nested exception is ome.conditions.DatabaseBusyException: Cannot acquire connection
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
   at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:479)
   at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:168)
   at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:885)
   at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:397)
   ... 3 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ome.server' defined in URL [jar:file:/Users/nperry/Desktop/omero_dist/lib/server/server.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [ome.system.OmeroContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionManager' defined in class path resource [ome/services/sec-primitives.xml]: Cannot resolve reference to bean 'executor' while setting bean property 'executor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'executor' defined in class path resource [ome/services/services.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [ome/services/hibernate.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAwareDataSource' defined in class path resource [ome/services/datalayer.xml]: Cannot resolve reference to bean 'lazyDataSource' while setting bean property 'targetDataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lazyDataSource' defined in class path resource [ome/services/datalayer.xml]: Invocation of init method failed; nested exception is ome.conditions.DatabaseBusyException: Cannot acquire connection
   at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:254)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
   ... 19 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [ome.system.OmeroContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionManager' defined in class path resource [ome/services/sec-primitives.xml]: Cannot resolve reference to bean 'executor' while setting bean property 'executor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'executor' defined in class path resource [ome/services/services.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [ome/services/hibernate.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAwareDataSource' defined in class path resource [ome/services/datalayer.xml]: Cannot resolve reference to bean 'lazyDataSource' while setting bean property 'targetDataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lazyDataSource' defined in class path resource [ome/services/datalayer.xml]: Invocation of init method failed; nested exception is ome.conditions.DatabaseBusyException: Cannot acquire connection
   at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
   at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
   at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248)
   ... 31 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionManager' defined in class path resource [ome/services/sec-primitives.xml]: Cannot resolve reference to bean 'executor' while setting bean property 'executor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'executor' defined in class path resource [ome/services/services.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [ome/services/hibernate.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAwareDataSource' defined in class path resource [ome/services/datalayer.xml]: Cannot resolve reference to bean 'lazyDataSource' while setting bean property 'targetDataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lazyDataSource' defined in class path resource [ome/services/datalayer.xml]: Invocation of init method failed; nested exception is ome.conditions.DatabaseBusyException: Cannot acquire connection
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:308)
   at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:948)
   at org.springframework.context.support.AbstractApplicationContext.registerListeners(AbstractApplicationContext.java:702)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:378)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
   at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:105)
   at ome.system.OmeroContext.<init>(OmeroContext.java:98)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
   at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
   ... 33 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'executor' defined in class path resource [ome/services/services.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [ome/services/hibernate.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAwareDataSource' defined in class path resource [ome/services/datalayer.xml]: Cannot resolve reference to bean 'lazyDataSource' while setting bean property 'targetDataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lazyDataSource' defined in class path resource [ome/services/datalayer.xml]: Invocation of init method failed; nested exception is ome.conditions.DatabaseBusyException: Cannot acquire connection
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
   at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)
   at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
   ... 57 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [ome/services/hibernate.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAwareDataSource' defined in class path resource [ome/services/datalayer.xml]: Cannot resolve reference to bean 'lazyDataSource' while setting bean property 'targetDataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lazyDataSource' defined in class path resource [ome/services/datalayer.xml]: Invocation of init method failed; nested exception is ome.conditions.DatabaseBusyException: Cannot acquire connection
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
   ... 72 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txAwareDataSource' defined in class path resource [ome/services/datalayer.xml]: Cannot resolve reference to bean 'lazyDataSource' while setting bean property 'targetDataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lazyDataSource' defined in class path resource [ome/services/datalayer.xml]: Invocation of init method failed; nested exception is ome.conditions.DatabaseBusyException: Cannot acquire connection
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
   ... 85 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lazyDataSource' defined in class path resource [ome/services/datalayer.xml]: Invocation of init method failed; nested exception is ome.conditions.DatabaseBusyException: Cannot acquire connection
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1337)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
   at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
   ... 98 more
Caused by: ome.conditions.DatabaseBusyException: Cannot acquire connection
   at ome.services.db.SelfCorrectingDataSource.callWithRetries(SelfCorrectingDataSource.java:91)
   at ome.services.db.SelfCorrectingDataSource.getConnection(SelfCorrectingDataSource.java:59)
   at org.springframework.jdbc.datasource.LazyConnectionDataSourceProxy.afterPropertiesSet(LazyConnectionDataSourceProxy.java:163)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334)
   ... 108 more

Re: Installation of server beta 4.0.3 never starts

PostPosted: Fri Aug 07, 2009 1:20 pm
by cxallan
Code: Select all
...
    Caused by: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "nick"
       at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:276)
       at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:95)
       at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
       at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:124)
       at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
       at org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24)
       at org.postgresql.Driver.makeConnection(Driver.java:386)
       at org.postgresql.Driver.connect(Driver.java:260)
       at bitronix.tm.resource.jdbc.lrc.LrcXADataSource.getXAConnection(LrcXADataSource.java:79)
       ... 122 more


Can you connect to the OMERO database with "nick" and whatever password you have configured? The values OMERO is using will be visible via bin/omero config get.

Re: Installation of server beta 4.0.3 never starts

PostPosted: Fri Aug 07, 2009 1:22 pm
by nperry
Sorry, I'm not sure I understand. Do you mean can I connect to the PostgreSQL 'omero' database with the username 'nick' and my password? And then compare this with what OMERO is using in that config file?

Re: Installation of server beta 4.0.3 never starts

PostPosted: Fri Aug 07, 2009 1:25 pm
by cxallan
OMERO is using the username "nick" but is clearly not able to connect with the password that is configured. You can see what's configured via bin/omero config get and you need to check you can actually connect with those values.

Re: Installation of server beta 4.0.3 never starts

PostPosted: Fri Aug 07, 2009 1:26 pm
by nperry
ah, interesting. OMERO seems to have the UN/PW from my LAST installation. Apparently I failed to uninstall it correctly. Let me try fixing these...

Re: Installation of server beta 4.0.3 never starts

PostPosted: Fri Aug 07, 2009 1:29 pm
by nperry
wow it totally works now, thanks for the help!