This seems really strange. The only thing I can think of is that the 
data is coming from different databases. Are you really sure that both 
base.config files are the same?

Do you get the same problem with other array designs?

/Nicklas

Bob MacCallum wrote:
> 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.
> 


-------------------------------------------------------------------------
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