[ome-users] omero server installation
josh.moore at gmx.de
josh.moore at gmx.de
Wed Aug 27 07:35:21 BST 2008
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
> Caused by: java.lang.ClassNotFoundException: omero
> at: java.net.URLClassLoader$1.run(Unknown Source)
> at: java.security.AccessController.doPriviledged(Native
> Method)
> at: java.net.URLClassLoader.findClass(Unknown Source)
> at: java.lang.ClassLoader.loadClass(Unknown Source)
> at: sun.misc.Launcher$AppClassLoader.loadClass(Unknown
> Source)
> at: java.lang.ClassLoader.loadClass(Unknown Source)
> at: java.lang.ClassLoader.loadClassInternal(Unknown Source)
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.
Do you have the JDK or just the JRE installed? What's the value of:
java -version
> 3. [AprLifecycleListener] The Apache Tomcat Native library which
> allows optimal performance in production environments was not found on
> the java.library.path:.....
You don't need to worry about this.
> I've edited the local.properties file changing all instances of
> localhost to Miguel, then tried changing them all back to localhost,
> still get the same error messages.
If the "java omero setup-db deploy" command is failing, then your
server won't be able to start. We'll have to get that working first.
> Hope you can help!
Me too! :)
> Thanks
> Harriett Platero
Cheers,
~Josh.
> josh.moore at gmx.de wrote:
> >
> >Harriett J Platero writes:
> > > Hello,
> >
> >Hi Harriet.
> >
> > > I'm attempting to install the omero server on a pc using the windows
> > > installation.
> > > I'm not certain that the installation was successful. After
> entering
> > > in run at the command prompt a lot of info appears ending with
> > > "14.45.00.634 INFO [Server] JBOSS (MX MicroKernal) [4.2.1.GA (build,
> > > SUNTag=JBOSS_4_2_1_GA date=200707131605)] started in 47s:522ms".
> >
> >Somewhere in all the output there should be a line of the form:
> >
> > [ome.services.util.ServerVersionCheck] OMERO Version: 3.0-Beta3
> >
> >which means that the OMERO server is ready. An easy test though is to
> >browse to:
> >
> > http://localhost:8080/WebAdmin
> >
> >(replacing "localhost" with the name of your server if
> >necessary). There you should be able to login with "root" as your user
> >name since there are no users on your system yet, and the password
> >"omero".
> >
> >Then you can add users or groups as you need.
> >
> >After that, you can try logging into one of the clients (also from
> >https://trac.openmicroscopy.org.uk/omero/wiki/MilestoneDownloads) with
> >either the root user as above or with one of the users you've created.
> >
> >If that works, then you can start importing. If you haven't already
> >watched them, the client videos are a good starting point:
> >
> >http://www.openmicroscopy.org/site/videos/videos-avi
> >
> > > Thank you
> > > Harriett Platero
> >
> >Let us know how things fare.
> >~Josh.
> >
More information about the ome-users
mailing list