[ome-users] How to setup database in Blitz

josh.moore at gmx.de josh.moore at gmx.de
Fri Feb 20 12:59:32 GMT 2009


Paulo Almeida writes:
 > On Friday 20 February 2009 07:25:38 josh.moore at gmx.de wrote:
 > > Paulo Almeida writes:
 > >  > Hi,
 > Hi Josh,
 > 
 > ant worked, as you said (thank you), and the build was successful, but now I 
 > have another problem...

Good to hear.

 > When I run java -jar blitz.jar , I get a java.lang.NullPointerException , 
 > apparently caused by:
 > 
 > Could not find Ice config for object adapter [ BlitzAdapter ]
 > 
 > (trace in attachment)

Which makes sense since "java -jar" is no longer supported. In a way,
that's now too low level. 

The commands that Chris pointed you to are described at:

    http://trac.openmicroscopy.org.uk/omero/wiki/OmeroGrid

which will become the basis for the new installation guide.

Hope that helps.
~Josh.

 > I'm looking into it, but if it's something obvious, please help. One thing I 
 > noticed is that in the local.properties example there is a /usr/share/Ice 
 > directory that I don't have (I think Debian puts the libs in /usr/lib), but I 
 > have no idea if that can be related to the error.
 > 
 > Thanks,
 > Paulo
 > 
 > 
 > > Hi Paulo,
 > >
 > >  > I was able to compile Blitz with Josh's help (the problem was a mismatch
 > >  > in Ice version), but now I haven't been able to find information on how
 > >  > to setup the db. I did this on the dist directory:
 > >  >
 > >  > java omero setup-db
 > >
 > > We've run into this ourselves and are looking into it. If you happen
 > > to have ant 1.7 installed, you should be able to run: ant setup-db
 > > from within the dist directory. Otherwise, we hope to have a fix in
 > > the repository soon. Thanks for bearing with us.
 > >
 > > Best wishes,
 > > ~Josh
 > >
 > > P.S. I filed a ticket for this:
 > > https://trac.openmicroscopy.org.uk/omero/ticket/1188
 > >
 > >  > and got this error:
 > >  >
 > >  > BUILD FAILED
 > >  > /home/cgl/OMERO_test/OMERO_blitz/dist/components/antlib/resources/lifecy
 > >  >cle.xml:65: /home/cgl/OMERO_test/OMERO_blitz/dist/${deps.lib.dir} not
 > >  > found.
 > >  >
 > >  >
 > >  > I also tried in the parent directory:
 > >  >
 > >  > java omero dist/setup-db
 > >  >
 > >  > but got:
 > >  >
 > >  > BUILD FAILED
 > >  > Target `dist/setup-db' does not exist in this project.
 > >  >
 > >  > Is there a different way to set up the db when using Blitz?
 > >  >
 > >  > (By the way, the compilation failed on a test, complaining about a
 > >  > missing test/integration.exe . I don't know if that affects any later
 > >  > steps that are necessary for correct compilation.)
 > >  >
 > >  > Thanks,
 > >  > Paulo
 > 
 > 



More information about the ome-users mailing list