Re: [base] update issue from 2.14.0 to 2.16.1

2010-11-24 Thread Olivier Lefevre
I guess we really should change the compilation to use '-target 1.6' Or simply omit it. In general I can think of few scenarios where you'd want to target an older VM than the one you are working with (one reason might be compiler fixes that were not back-ported): that invites the sort of

Re: [base] update issue from 2.14.0 to 2.16.1

2010-11-23 Thread Olivier Lefevre
Java     : Java(TM) Platform, Standard Edition for Business; 1.5.0_16-b02; Sun Microsystems Inc. java.lang.NoSuchMethodError: java.util.Arrays.copyOf([Ljava/lang/Object;I)[Ljava/lang/Object; You're running Java 1.5 but the Array.copyOf methods were introduced in Java 1.6:

Re: [base] update issue from 2.14.0 to 2.16.1

2010-11-23 Thread Olivier Lefevre
That line of code (IntensityFormula.java:91) was changed in 2.16 so it is not so strange. I meant I was surprised that this 1.5 VM didn't immediately reject classes obviously compiled against 1.6. Did you use the -target 1.5 option in compilation? -- O.L.

Re: [base] Querying annotations

2010-01-04 Thread Olivier Lefevre
Thanks. Between that and the other thread I am getting I should be able to work out something. What about AnnotationSet.getQuery(), though: can't you search that and then use getItem() to go back to the item? -- O.L.

Re: [base] login and logout errors not propagated as AxisFault

2009-12-22 Thread Olivier Lefevre
Ahah! Now it makes sense. Many thanks. I am writing another service of my own, i.e., exposing Application.newSession(String, String, String) and a few related methods and all the methods in my service have a void return type, so that fits. I was also wondering why *your* login etc methods echo

[base] login and logout errors not propagated as AxisFault

2009-12-21 Thread Olivier Lefevre
I noticed that not all PermissionDeniedException's thrown on the server side (you can see them in the Tomcat log) are relayed to the client side as an AxisFault. AFAICT this affects all such exceptions thrown by Application. Other instances of a PermissionDeniedException, e.g., when trying to

Re: [base] Property '' has one or more invalid characters. Only a-z, A-Z, 0-9 and . is allowed.

2009-12-10 Thread Olivier Lefevre
'virus_family' has one or more invalid characters. Only a-z, A-Z, 0-9 and . is allowed. I think that message comes from a Hibernate query and refers to a column name used in constraints; check your constraints. -- O.L.

Re: [base] Property '' has one or more invalid characters. Only a-z, A-Z, 0-9 and . is allowed.

2009-12-10 Thread Olivier Lefevre
Ah ok, so BASE has built a constraint involving my new column name? I would think so, although it's been 6 months since I had wade into that. Suggestion: turn on full query tracing in the log by putting all this into your log4j.properties: # logging queries in BASE

Re: [base] Property '' has one or more invalid characters. Only a-z, A-Z, 0-9 and . is allowed.

2009-12-10 Thread Olivier Lefevre
Well, I agree with you that DC-BASE (and Hibernate!) can be rather user-unfriendly at times but I am myself only a user. I reported something that helped me once, no more no less. Regards, -- O.L. -- Return on

[base] Error creating rawbioassay

2009-06-15 Thread Olivier Lefevre
I tried to create a rawbioassay by simply accepting the defaults in the wizard (since no field seems to be required). After clicking on Save I got a popup telling me the rawbioassay was successfully created but still it did not show up under View - RawBioassays. What is more I can actually find

Re: [base] Error creating rawbioassay

2009-06-15 Thread Olivier Lefevre
That something doesn't show up in the GUI is usually due to a filter that is active in the list. To clear all filters select the 'clear filter' option in the 'view/presets' dropdown. I don't find such a dropdown. Perhaps I should mention that this is on 2.9.2 and no unfortunately I can't

[base] Illumina plugin

2009-06-09 Thread Olivier Lefevre
I am not having much luck installing that plugin. It wants you to run updatedb.sh. When I do that it says Building database, which is alarming in and of itself since that suggests it is rebuilding the db from scratch, which begs the question of whether it is possible to install that plugin on a

[base] Cloning a BASE instance

2009-06-09 Thread Olivier Lefevre
Are there instructions and/or scripts anywhere to assist with the cloning of a BASE2 instance or is it a use-your-brain-dude kind of thing? My problem is that I got a dump of a MySQL db but nothing else and there seem to be a lot of dangling links manifesting themselves in red-band error

Re: [base] Cloning a BASE instance

2009-06-09 Thread Olivier Lefevre
The problem with zipping the BASE tree is that is no guarantee that all necessary files are under the BASE root. From looking at base.config there are at least three more roots to consider: * secondary storage area * plugins area * user files area Any others?

[base] Application.newSessionControl: BASE starts and stops immediately

2009-06-01 Thread Olivier Lefevre
I am experimenting with the BASE2 API. When I call Application.newSessionControl(null, test1, null); BASE2 seems to start successfully (BASE is up and running) but then shuts down immediately (Stopping BASE). What am I doing wrong? Thanks, -- O.L.