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 errors the OP 
ran into, unless the developer is extremely careful not to
use any of the newer functionality.

-- O.L.


--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
basedb-users-requ...@lists.sourceforge.net


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:
http://download.oracle.com/javase/6/docs/api/java/util/Arrays.html#copyOf%28T[],%20int%29
I'm surprised this didn't cause an incompatibility error
earlier, though.

-- O.L.


--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
basedb-users-requ...@lists.sourceforge.net


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.


--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
basedb-users-requ...@lists.sourceforge.net


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.


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
basedb-users-requ...@lists.sourceforge.net


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 the SID.

I just reread the services-related section of the docs and now 
I see that this trap is very clearly signposted in §28.3.1. Mea
culpa. I was new to web services the first time I read this and 
had bigger worries than return types, so it didn't register.

Regards,

-- O.L.


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
basedb-users-requ...@lists.sourceforge.net


[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 access an item, are normally relayed. 

In the log the difference between the two is that the silent
permission errors have an entry of the form: 

timestamp ERROR RPCInOnlyMessageReceiver:77 - Permission denied: msg
net.sf.basedb.core.PermissionDeniedException: Permission denied: msg
   stack trace
timestamp ERROR AbstractMessageReceiver:101 - org.apache.axis2.AxisFault: 
Permission denied: msg

whereas those with are properly relayed as an AxisFault have an
entry of the form

timestamp ERROR RPCMessageReceiver:153 - Permission denied: msg
java.lang.reflect.InvocationTargetException
   first part of stack trace
Caused by: net.sf.basedb.core.PermissionDeniedException: Permission denied: msg
   second part of stack trace

This is *very* annoying because, for instance, if you have an 
invalid login call followed by a read call, your code will
proceed to the read call without having logged in, at which 
point you will get a Permission denied: Not allowed to read 
xyz, but unless you read the Tomcat log you will not realize 
that the root cause was not the read call but the failed login.

What sorcery is this? Why aren't *all* errors on the server
side manifested as an AxisFault on the client side? Note that
this is with BASE 2.9.2 and thus with Axis 1.3, neither of
which is the current version but it is what I am stuck with.

Thanks,

-- O.L.


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
basedb-users-requ...@lists.sourceforge.net


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. 

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
basedb-users-requ...@lists.sourceforge.net


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
log4j.logger.net.sf.basedb.core=warn
log4j.logger.net.sf.basedb.core.query.ql=debug
log4j.logger.net.sf.basedb.core.query.bind=debug
log4j.logger.org.hibernate.SQL=debug

and then grep the log for virus_name. Sorry I don't remember
where the log4j.properties file should go.

-- O.L.


--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
basedb-users-requ...@lists.sourceforge.net


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 Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
basedb-users-requ...@lists.sourceforge.net


[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 it if I fire a raw SQL query
against the physical table holding rawbioassays.

At this point I am totally confused. If something was wrong why
did BASE post a success message and if not then why doesn't it
show the new rawbioassay in the UI?

The same problem exists with other items, btw; I use rawbioassays
merely as an example.

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
basedb-users-requ...@lists.sourceforge.net


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 upgrade (long
story).

 Are you sure that you are checking in the correct database
 when you are doing the manual check?

I have only one BASE instance.

-- O.L.


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
basedb-users-requ...@lists.sourceforge.net


[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 live, already populated
base instance: I don't want it to throw out all the existing data.

But that's not the worst of of it. It immediately complains of
APPARENT DEADLOCK!!! (twice) and also (many times) of Access
denied for user 'base2user'@'localhost' (using password: YES),
which is baffling since I supplied the correct uid and pwd at
the command line when starting the script. Finally it gives up.

Can anyone make a suggestion?


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
basedb-users-requ...@lists.sourceforge.net


[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 messages here and there, e.g., Item
not found: RawDataType[id=blah]. That is not surprising since 
BASE seems to hold a lot of stuff in files on disk rather than
in the db but it's unclear how to go about fixing that if you
are not familiar with BASE. It would be nice if there was a 
fool-proof, automated procedure for cloning a BASE2 instance.


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
basedb-users-requ...@lists.sourceforge.net


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?



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
basedb-users-requ...@lists.sourceforge.net


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


--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
basedb-users-requ...@lists.sourceforge.net