[ome-devel] Shoola login failure then build error

Chris Allan callan at blackcat.ca
Tue Feb 1 09:55:33 GMT 2005


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