[ome-devel] Shoola login failure then build error

Harry Hochheiser hsh at nih.gov
Tue Feb 1 03:03:13 GMT 2005


Hello, Kris:

Sorry you're having some trouble. As one of the Shoola developers, I'm  
(almost) as well-qualified as anyone to help you out, so I'll give it a  
shot.

As far as the first question goes, there may not be any simple way of  
finding out why things don't work. This is definitely an area where  
Shoola needs some work.  If you download ome-java (from CVS) you can  
edit XmlRpcCaller.java (under org.openmicroscopy.ds) and set the  
TRACE_CALLS flag to true. If you then rebuild ome-java.jar and copy the  
new version to Shoola/lib, you'll get some debugging feedback.  
Unfortunately, this may not give you the information you need.

I do have a (partial) theory as to what may be your trouble. Almost all  
of our development to date has gone on with Java 1.4. For those of us  
who work on OS X, that's the best option available. Would it be  
possible for you to try to run it with Java 1.4?
I might be able to try it on our Fedora box with 1.5 tomorrow to see  
what's up.

If you need more help, please feel free to contact me - we'd like to  
help you get this working.

best,

harry


On Jan 31, 2005, at 1:41 PM, 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
>
> 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.
>
>
>
> _______________________________________________
> ome-devel mailing list
> ome-devel at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel
>



More information about the ome-devel mailing list