Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connected to #114 #115

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

elegoff
Copy link
Contributor

@elegoff elegoff commented May 23, 2017

No description provided.

@elegoff elegoff requested a review from 0xbase12 May 23, 2017 14:07
@elegoff elegoff requested review from konstan and removed request for 0xbase12 May 23, 2017 14:59
@0xbase12
Copy link
Member

We should add some text about how to force the usage of hsqldb not in memory if we want that SSCLJ and slipstream to work properly together. What do you think?


$ boot repl
$ boot dev-env repl
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sometime ago I added server-repl task for starting the repl for the server
https://github.com/slipstream/SlipStreamServer/blob/master/ssclj/jar/build.boot#L205
And the description is in draft branch here http://ssdocs.sixsq.com/en/draft/developer_guide/running.html
This is the commit 1d324bd
I was hoping that draft gets merged into master at some point, however this didn't happen.
Please don't merge. I'll check the differences and let you know.

@0xbase12
Copy link
Member

@konstan can you check please

@konstan
Copy link
Member

konstan commented Jun 19, 2017

@elegoff and @0xbase12
Please check changes I propose in ab4327f

# Conflicts:
#	docs/developer_guide/running.rst
@elegoff
Copy link
Contributor Author

elegoff commented Jun 26, 2017

@konstan The issue I am facing while using boot server-repl is that it uses in memory db where user super is created.
And then no matter how you deploy the server , either via
mvn jetty:run-war -Dpersistence.unit=hsqldb-mem-schema
or
mvn jetty:run-war -Dpersistence.unit=hsqldb-schema
every login attempt with user super will cause error

Jun 26, 2017 5:07:56 PM com.sixsq.slipstream.util.SscljProxy request
WARNING: ResourceException: Internal Server Error
	with status: Internal Server Error (500) - Internal Server Error
	with content: {
  "status" : 500,
  "message" : "Unexpected exception thrown: user lacks privilege or object not found: USER in statement [SELECT \"USER\".\"PASSWORD\" FROM \"USER\" WHERE (\"USER\".\"NAME\" = ? AND \"USER\".\"STATE\" IN (?, ?))]"
}
Jun 26, 2017 5:07:56 PM com.sixsq.slipstream.authn.AuthProxy throwAuthenticationError

@konstan
Copy link
Member

konstan commented Jun 27, 2017

@elegoff OK. Understood. I'll update server-repl task and add a parameter to use an external hsqldb. By default it will be starting with in-mem hsqldb.

@0xbase12 0xbase12 removed their assignment Aug 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants