[ome-users] omero server installation
josh.moore at gmx.de
josh.moore at gmx.de
Thu Aug 28 08:13:29 BST 2008
Harriett J Platero writes:
> Hi Josh,
Good morning, Harriet. I'm forwarding this to the list since this is
something that may effect others.
> Now when I try to deploy I get the message:
> BUILD FAILED
> C:\omero-Beta3.0.1\omero\components\antlib\resources\lifecycle.xml:87:
> org.postgresql.util.PSQLException: Conection refused. Check that the
> hostname and port are correct and that the postmaster is accepting
> TCP/IP connections.
>
> I went into C:\omero-Beta3.0.1\omero\etc\local.properties and changed
> localhost to Miguel and tried again. Still got the above message.
>
> Yesterday I went into the postgresql.conf file and made sure that the
> port = 5432 and that max_connections = 100.
>
> I tried "netstat -an | egrep '5432.*LISTEN' at my
> C:\omero-Beta3.0.1\omero prompt but I get the message:
> 'egrep is not recognized as an internal or external command, operable
> program or batch file.
The commands on the OmeroAndPostgres wiki were all intended for use
under unix. Thanks for pointing this out. I've updated the trac with
the Windows command:
netstat -an | find "5432"
Let us know how that works for you.
~Josh.
>
> josh.moore at gmx.de wrote:
>
>
> >Harriett J Platero writes:
> > > Hi Josh
> >
> >Hi.
> >
> > > My knowledge of unix is limited. What exactly am I supposed to
> > > include when I set CLASSPATH ? Currently it is set to
> > > C:\Program Files\JAVA\jre1.5.0_08\lib\ext\QT
> > > java.zip;C:\Program Files\PostgreSQL;.
> >
> >The dot at the end should mean that you are using the current
> >directory, but just in case can you try:
> >
> > set CLASSPATH=
> >
> >to unset the value, and then try:
> >
> > java omero -p
> >
> >from within the directory where you installed omero?
> >Thanks,
> >~j.
> >
> > > Harriett
> > >
> > > josh.moore at gmx.de wrote:
> > >
> > > >
> > > >Harriett J Platero writes:
> > > > > Hi Josh when I go to : http://localhost:8080/WebAdmin and
> > > > > replace localhost with "Miguel", login as root, and the
> > > > > password omero, I get the message "Connection failure:
> > > > > Error creating bean with name 'init' defined in class path
> > > > > resource [ome/client/spring.xml]: Cannot resolve reference
> > > > > to bean 'managed:ome.api.ISession' while setting bean
> > > > > property 'sessionService'; nested exception is
> > > > > org.springframework.beans.factory.BeanCreationException:
> > > > > Error creating bean with name 'managed:ome.api.ISession':
> > > > > FactoryBean threw exception on object creation; nested
> > > > > exception is ome.client.OutOfService: Cannot initialize
> > > > > service proxy"
> > > >
> > > >This would seem to say that your server is not reachable, or "Out Of
> > > >Service".
> > > >
> > > > > I did notice that I so get the following error messages:
> > > > >
> > > > > 1. After the entering in "java omero setup-db deploy" I get the
> > > > > message "Exception in thread "main" java.lang.NoClassDefFoundError:
> > > > > omero
> > > >This would probably be the reason for your other
> > > >difficulties. Is your CLASSPATH set? Try:
> > > >
> > > > set CLASSPATH
> > > >
> > > >if so, you may need to unset it if the current directory is not
> > > >included:
> > > >
> > > > set CLASSPATH=
> > > >
> > > >and then retry the command.
> > > >
> > > > > 2. JAVA_HOME is not set. Unexpected results may occur.
> > > > > Set JAVA_HOME to the directory of your local JDK to avoid
> > > > > this message.
More information about the ome-users
mailing list