Hi J,
- The first one is independent of whether I'm running locally or as webstart.
When I start Apollo from the command line with the following command: apollo
-i chadoDB -t gene -u genename
I get the error:
apollo.dataadapter.ApolloAdapterException: Unable to access database: A
connection error has occurred: org.postgresql.util.PSQLException: FATAL:
password authentication failed for user "username"
Followed by a null pointer error and the program exits.
If I then add -D userpasswd it then works normally.
The problem is that I was hoping the window "Apollo: load data" would appear,
so the user could THEN enter the password (and change the user name), when it
is not provided as a command-line argument (as it happens when one just types
"apollo" on the CLI, for example).
The command line for Apollo was setup to automatically load data for
the user to curate, rather than requiring user feedback on loading
the data. So to read specific data from the database, all the
credentials need to be provided when connecting to the database.
A work around is to have a read only account to the database for
loading the data and then users can enter their own credentials at the
time of saving (if you wish to allow direct database access). However,
IT departments usually are opposed to opening up non standard ports to
the outside world (only an issue if the curators are outside your
intranet), in which case you'll want to take a look at the work
Scott Cain has done for CAS (Community Annnotation System):
http://gmod.org/wiki/CAS
Since this is getting quite long, I'll send my other questions in different
emails. By the way, is there a way to search this mailing list? Using
"site:http://mail.fruitfly.org/" on Google did not work, as expected...
You can view the e-mail archives at the mailing list website, but
unfortunately I don't think it supports a search feature =(
Cheers,
Ed
_______________________________________________
apollo mailing list
[email protected]
http://mail.fruitfly.org/mailman/listinfo/apollo