[ome-devel] Shoola login failure then build error

kristian kvilekval kris at cs.ucsb.edu
Wed Feb 2 02:36:28 GMT 2005


Thanks for the response.   I will try using blackdown java 1.4
tomorrow.   I will also try in chroot 32 bit environment.

Still a little confused it SOAP-0.6 is OK or not.  When
I changed it I thought something might blow up, but I was
loathe to go outside the package management system.

I've installed everything on my system arno.ece.ucsb.edu.
I believe shoola should be accessing at 
   http://arno.ece.ucsb.edu/shoola
but I had to hunt around to determine if that was the 
proper URL.

Thx for the pointers and the clarifications,
kris

The responses you asked for.

$java -version

java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0-b64, mixed mode)

$ update-alternatives --config java

There are 4 alternatives which provide `java'.

  Selection    Alternative
-----------------------------------------------
      1        /usr/lib/kaffe/bin/java
      2        /usr/lib/j2sdk1.4-blackdown/bin/java
*     3        /usr/lib/j2sdk1.5-sun/bin/java
 +    4        /usr/bin/java-sablevm

Press enter to keep the default[*], or type selection number:
kgk at arno$ update-alternatives --config javac

There are 5 alternatives which provide `javac'.

  Selection    Alternative
-----------------------------------------------
 +    1        /usr/lib/kaffe/bin/javac
      2        /usr/lib/j2sdk1.4-blackdown/bin/javac
*     3        /usr/lib/j2sdk1.5-sun/bin/javac
      4        /usr/bin/jikes-sun
      5        /usr/bin/jikes-classpath

Press enter to keep the default[*], or type selection number:



$m ome-shoola-2.2.1/config/container.xml

<?xml version="1.0" encoding="utf-8"?>
<container>
   <services>
     <structuredEntry name="/services/OMEIS" type = "OMEIS">
       <url>http://somehost/however/not/needed/right/now</url>
     </structuredEntry>
     <structuredEntry name="/services/OMEDS" type = "OMEDS">
       <url>http://arno.ece.ucsb.edu/shoola</url>



On Tue, 2005-02-01 at 09:55 +0000, Chris Allan wrote:
> On Mon, Jan 31, 2005 at 10:41:48AM -0800, kristian kvilekval wrote:
> > 
> > 
> > Hello All,
> > 
> >    I was having problems decscribed in my previous email
> > using the Shoola client (never got passed login, even though
> > web login works).    
> > 
> > I decided to try using the CVS version to see if I could get some 
> > debugging  info.  However, the build bails out on an error
> > I've never seen before (see below).
> > 
> > Really, all I want is figure out the login process of
> > the java client.
> > Does somebody have a simple way that I might be able to
> > see why the login is failing with shoola?   Is there
> > way to configure the logging available?
> > 
> > Thanks in advance,
> > kris
> > 
> > 
> > debian: amd64
> > java:  Sun 1.5 JDK
> 
> Your issues here definitely have to do with the 1.5 JDK. The version
> errors you're seeing have to do with JDK 1.4/1.5 interoperability and
> the 1.4 JDK being unable to read object code in the 1.5 JDK's classpath.
> Are you certain you're using the 1.5 JDK throughout? Can you give me the
> output of this?
> 
> callan at shadowblade ~ $ java -version
> java version "1.5.0_01"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_01-b08, mixed mode)
> 
> --and--
> 
> callan at shadowblade ~ $ which javac
> /opt/sun-jdk-1.5.0.01/bin/javac
> 
> n at shadowblade ~ $ which java
> /opt/sun-jdk-1.5.0.01/bin/java
> 
> Also might be helpful for you to give me the output of these Debian
> specific commands:
> 
> dpkg -S `which javac`
> dpkg -S `which java`
> dpkg -l '*java*'
> 
> For the record, I have been unable to get Shoola to build with the 1.5
> JDK on AMD64 and I'm working on a way around this (have been since late
> last night actually). Once I have a package that builds, I'll send it
> off to you and you can give it a try. It's not just you. :)
> 
> Before we get any futher on finding out why your Shoola install can't
> login, I also need to know which package you downloaded to install the
> server and to have the contents of your "container.xml" file from the
> Shoola (Java client) package.
> 
> Logging is turned on by default and the output can be found in the "log"
> directory.
> 
> > 
> > kgk at arno$  java -jar build all
> > Buildfile: build.xml
> > 
> > app.clean:
> >    [delete] Deleting
> > directory /home/kgk/work/others/ome/Shoola-CVS/OUT/app
> > 
> > test.clean:
> >    [delete] Deleting
> > directory /home/kgk/work/others/ome/Shoola-CVS/OUT/test
> > 
> > dist.clean:
> > 
> > docs.clean:
> > 
> > clean:
> >    [delete] Deleting directory /home/kgk/work/others/ome/Shoola-CVS/OUT
> > 
> > init:
> >     [mkdir] Created dir: /home/kgk/work/others/ome/Shoola-CVS/OUT
> > 
> > test-init:
> >     [mkdir] Created dir: /home/kgk/work/others/ome/Shoola-CVS/OUT/test
> >     [mkdir] Created
> > dir: /home/kgk/work/others/ome/Shoola-CVS/OUT/test/compiled
> >     [mkdir] Created
> > dir: /home/kgk/work/others/ome/Shoola-CVS/OUT/test/lib
> >     [mkdir] Created
> > dir: /home/kgk/work/others/ome/Shoola-CVS/OUT/test/reports
> >     [mkdir] Created
> > dir: /home/kgk/work/others/ome/Shoola-CVS/OUT/test/reports/xml
> >     [mkdir] Created
> > dir: /home/kgk/work/others/ome/Shoola-CVS/OUT/test/reports/html
> >      [copy] Copied 30 empty directories to 23 empty directories
> > under /home/kgk/work/others/ome/Shoola-CVS/OUT/test/compiled
> >      [copy] Copying 1 file
> > to /home/kgk/work/others/ome/Shoola-CVS/OUT/test/lib
> > 
> > app-init:
> >     [mkdir] Created dir: /home/kgk/work/others/ome/Shoola-CVS/OUT/app
> >     [mkdir] Created
> > dir: /home/kgk/work/others/ome/Shoola-CVS/OUT/app/compiled
> >     [mkdir] Created
> > dir: /home/kgk/work/others/ome/Shoola-CVS/OUT/app/config
> >     [mkdir] Created
> > dir: /home/kgk/work/others/ome/Shoola-CVS/OUT/app/lib
> >      [copy] Copying 173 files
> > to /home/kgk/work/others/ome/Shoola-CVS/OUT/app/compiled
> >      [copy] Copied 150 empty directories to 106 empty directories
> > under /home/kgk/work/others/ome/Shoola-CVS/OUT/app/compiled
> >      [copy] Copying 13 files
> > to /home/kgk/work/others/ome/Shoola-CVS/OUT/app/config
> >      [copy] Copying 7 files
> > to /home/kgk/work/others/ome/Shoola-CVS/OUT/app/lib
> > 
> > compile:
> >     [javac] Compiling 708 source files
> > to /home/kgk/work/others/ome/Shoola-CVS/OUT/app/compiled
> > 
> > [javac] /home/kgk/work/others/ome/Shoola-CVS/SRC/org/openmicroscopy/shoola/Main.java:67: cannot access java.lang.Object
> >     [javac] bad class
> > file: /usr/lib/j2sdk1.5-sun/jre/lib/rt.jar(java/lang/Object.class)
> >     [javac] class file has wrong version 49.0, should be 48.0
> >     [javac] Please remove or make sure it appears in the correct
> > subdirectory of the classpath.
> >     [javac]     public static void main(String[] args)
> >     [javac]                                 ^
> >     [javac] 1 error
> > 
> > BUILD FAILED
> > /home/kgk/work/others/ome/Shoola-CVS/build/app.xml:106: Compile failed;
> > see the compiler error output for details.
> 
> Ciao.
> 
> -Chris



More information about the ome-devel mailing list