Skip to content
This repository has been archived by the owner on Feb 10, 2021. It is now read-only.

UserServicePlugin registered multiple times during production #350

Open
jyxt opened this issue Sep 5, 2017 · 3 comments
Open

UserServicePlugin registered multiple times during production #350

jyxt opened this issue Sep 5, 2017 · 3 comments

Comments

@jyxt
Copy link

jyxt commented Sep 5, 2017

on prodution, I'm getting this warning:

[warn] application - A user service was already registered - replacing the old one (service.MyUserServicePlugin) with the new one (service.MyUserServicePlugin), however this might hint to a configuration problem if this is a production environment.

Is this a config problem? Any idea what the problem might be?

@joscha
Copy link
Owner

joscha commented Sep 5, 2017

was this during local development?

@jyxt
Copy link
Author

jyxt commented Sep 5, 2017

this is during production, I'm using play 2.4, it might be a play issue that it's loading plugins twice but not sure.

Also during local development, it always gives cookie error:

[debug] p.a.mvc.Cookies - Couldn't decode the Cookie header containing:

not sure if this is deadbolt or pa

@jyxt jyxt changed the title MyUserServicePlugin registered multiple times during production UserServicePlugin registered multiple times during production Sep 5, 2017
@joscha
Copy link
Owner

joscha commented Sep 5, 2017

if it is loading the plugin twice, that would be it I think. Usually it happens in development.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants