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

Grails 6 war deployment on Tomcat 8 gives Spring security login page on accessing the app , where as if i run locally using grails r-a it works fine #13170

Open
bishtmohan7 opened this issue Oct 17, 2023 · 5 comments
Assignees

Comments

@bishtmohan7
Copy link

Expected Behavior

Screenshot from 2023-10-17 13-57-32

Actual Behaviour

No response

Steps To Reproduce

No response

Environment Information

No response

Example Application

No response

Version

6.0.0

@bishtmohan7 bishtmohan7 changed the title Grails 6 war deployment on Tomcat 8 gives Spring security login page on accessing the app , where as if i run locally using grails r-a it works fineit works fine Grails 6 war deployment on Tomcat 8 gives Spring security login page on accessing the app , where as if i run locally using grails r-a it works finei Oct 17, 2023
@bishtmohan7 bishtmohan7 changed the title Grails 6 war deployment on Tomcat 8 gives Spring security login page on accessing the app , where as if i run locally using grails r-a it works finei Grails 6 war deployment on Tomcat 8 gives Spring security login page on accessing the app , where as if i run locally using grails r-a it works fine Oct 17, 2023
@puneetbehl
Copy link
Contributor

Can you please share a sample Grails application?

@puneetbehl puneetbehl self-assigned this Oct 19, 2023
@osscontributor
Copy link
Member

Grails 6 war deployment on Tomcat 8 gives Spring security login page on accessing the app , where as if i run locally using grails r-a it works fine

@bishtmohan7 Are you running the Grails 6 app locally with "grails run-app"?

@bishtmohan7
Copy link
Author

@jeffbrown yes , it works fine with grails run-app , give issues as soon as we create a war and deploy in tomcat

@bishtmohan7
Copy link
Author

@puneetbehl i got this issue when i was migrating grails 4 app to grails 6 and i was using spring security ,I tried to create sample grails 6 application , there it gives issues while deploying war on tomcat 8 ,seems like not supporting external tomcat while it works fine with embedded tomcat (run-app )

@puneetbehl
Copy link
Contributor

Could you please share the link to the GitHub repository for your sample application? Also, it would be helpful if you could also share the exact version of Tomcat 8.

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

No branches or pull requests

3 participants