Hi,

This one is might odd.  Before I send lines and lines of code and stacktraces,
maybe someone has some intuition.

Why would this code

                ArrayDesign ad = ArrayDesign.getById(dc, 14);
                System.out.println("name = " + ad.getName());
                System.out.println("descr = " + ad.getDescription());
                System.out.println("hasFeat = " + ad.hasFeatures());
                System.out.println("isAffy = " + ad.isAffyChip());

print out the following from commandline testing:

name = Affymetrix Plasmodium Anopheles
descr = Short description
hasFeat = true
isAffy = true


and the following from testing within a tomcat webapp:

name = Affymetrix Plasmodium Anopheles
descr = Short description
hasFeat = false
isAffy = false


Needless to say, the former is correct, and the latter is causing major 
headaches.

It seems that the basic attributes (name, description) are being pulled out of
the database OK, but the array-design-specific attributes is not.

Some kind of conflict between hibernate and something in our servlet?
Will gladly send more details, but I'm not exactly sure where to start.

Both are using an identical set of base config files and base jar files:

the commandline version sets the class path to:
/usr/local/base2dev/www/WEB-INF/{lib,classes}

the tomcat webapp has these copied over
(md5/diff says they are identical)

many thanks,
Bob.

-- 
Bob MacCallum | VectorBase Developer | Kafatos/Christophides Groups |
Division of Cell and Molecular Biology | Imperial College London |
Phone +442075941945 | Email [EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
basedb-devel mailing list
basedb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/basedb-devel

Reply via email to