[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[stellation-res] Release vs. Trial
|
Hello,
After installing the stellation core binary distribution (build
2002-12-22), I downloaded and installed the client feature for
Eclipse. In setting up a project to be shared, the client feature
allows one to test the settings used to set up a repository. When I
did so, Eclipse became unresponsive. I believe it was waiting for
some reply that never came.
I re-ran this sequence with the server set to debugging output. The
server accepts a connection from the client and then produces the
following log output:
DEBUG - engine: received message <?xml version="1.0"
encoding="UTF-8"?> <AuthenticationRequest user="jhoward" tag="TRIAL"
/>
INFO - Handling auth.request for stellation
INFO - Generating challenge for stellation
DEBUG - Authenticators contained an entry for stellation
DEBUG - ServerChallenge created; getting nested authenticator
DEBUG - authenticator tag TRIAL
DEBUG - getting repository tag
DEBUG - getRepositoryTag is RELEASE
DEBUG - after rs, tag is RELEASE
DEBUG - repository authenticator tag RELEASE
INFO - Server auth is null because of repos tag mismatch
The console then shows a NullPointerException originating at
org.eclipse.stellation.repos.messaging.server.ReposServerChallenge.setUsername(ReposSreverChallenge.java:53)
The release build of the core is creating repositories marked as
RELEASE, which is as according to the documentation. But it seems as
though the client libraries packaged up as a feature for release are
built to make their requests as TRIAL. I gather I will need to wait
until Jim Wright gets back before asking much in the way of detail
about how the Eclipse client is built and packaged.
But since I'd like to keep poking around in the meantime, is there any
harm is running the query "UPDATE s_repostag SET s_tag = 'TRIAL'"
directly against the PostgreSQL database in order to change the nature
of the database that was created by the admin tool in the release
version of the core? I don't want to scramble the repository's
brains, but on the surface, it looks like it would be the easiest way
to workaround the problem and keep going. Or is the behavior of
Stellation different enough when compiled for TRIAL that I should run
off of the src distribution in order to keep the client, server, and
database in agreement about whether they're TRIAL or RELEASE?
Thank you for your help,
Jeffrey