[ome-users] Further questions about broken server
Sean Burke
seanburk at gmail.com
Mon Feb 11 22:16:48 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Glen,
Start over. Go to
https://trac.openmicroscopy.org.uk/omero/wiki/OmeroInstall
Switch back into user postgres, execute the following line:
psql -h localhost -U omero -l
If you get an output similar to what is on the page, proceed to the
"Installation" section. Read the instructions VERY CAREFULLY.
Sean
Glenn Murray wrote:
> Hi Jason
>
> Following instructions at the wiki I created a user and database
>
> postgres$ createuser -P -D -R -S omero
> Enter password for new role:
> Enter it again:
> CREATE ROLE
> postgres$ createdb -O omero omero3
> CREATE DATABASE
>
> I can log into the db, ("postgres$ psql -U omero omero3"). There are no
> tables, of course. Running
>
> $ sudo /usr/local/jboss/bin/run.sh
>
> sends a lot of stuff to server.log (mostly Hibernate cruft, it looks like)
> until I get an OutOfMemory error. On the way, it starts with
>
> =========================================================================
>
> JBoss Bootstrap Environment
>
> JBOSS_HOME: /usr/local/jboss
>
> JAVA: /Library/Java/Home/bin/java
>
> ...
>
> and the first sign of trouble:
>
> 14:26:47,700 WARN [ServiceController] Problem starting service
> omero:service=OmeroContextHook
> javax.ejb.EJBException:
> org.springframework.beans.factory.access.BootstrapException: Unable to
> return specified BeanFactory instance: factory key [ome.server], from
> group with resource name [classpath*:beanRefContext.xml]; nested
> exception is org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'ome.server' defined in URL
> [jar:file:/usr/local/jboss/server/default/tmp/deploy/tmp60518omero.ear-contents/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 'eventHandler' defined in class path resource
> [ome/services/security.xml]: Cannot resolve reference to bean
> 'hibernateTemplate' while setting constructor argument; nested exception
> is org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name 'hibernateTemplate' defined in class path
> resource [ome/services/hibernate.xml]: Cannot resolve reference to bean
> 'sessionFactory' while setting bean property 'sessionFactory'; nested
> exception is org.springframework.beans.factory.BeanCreationException:
> Error creating bean with name 'sessionFactory' defined in class path
> resource [ome/services/hibernate.xml]: Invocation of init method failed;
> nested exception is java.lang.reflect.UndeclaredThrowableException...
>
> Thanks for your help,
> Glenn
>
>
>
>
> On Mon, 11 Feb 2008, Jason Swedlow wrote:
>> Hi Glenn-
>>
>> Did you actually start postgres-- for full instructions on install and
>> running of PostgreSQL is at:
>>
>> http://developer.apple.com/internet/opensource/postgres.html
>>
>> If you type:
>>
>> ps aux | grep postmaster
>>
>> do you see the postmaster, the database manager process running?
>>
>> Cheers,
>>
>> Jason
- --
Sean Patrick Burke
Imaging Analysis Specialist
Albert Einstein College of Medicine
Yeshiva University
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkewyVAACgkQmMFmL+aHguCvPwCfcEsy4E/vNhWwGz/JN7iba7+Q
3zMAnjH+pPsyKt7opK3REUh2F+X5dV/T
=n1Am
-----END PGP SIGNATURE-----
More information about the ome-users
mailing list