playframework / playframework/play1

Play 1.4.5 webapp war with secure module does not work in tomcat 7 server

Open
#1,218 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.6k
Forks
671
Avg merge
12d 15h
Merged PRs (30d)
1

Description

Hello, i have an issue with play framework 1.4.5 and tomcat 7 :

Play version 1.4.5
Oracle JDK 7 (1.7.0_79)
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)
Windows 7
PostgreSQL 9.4 database
module secure

My webApp starts with a login page with a form (user / password). Submit the form, user is authenticated and then arrives to Application.index

With play 1.2.7.2, no problem, the webapp works fine : i build the war with 'play war' command and deploy it into tomcat 7 server

With play 1.4.5 i build the war with 'play war' command and deploy it into tomcat 7 server : the login page is well displayed but nothing happens when the user submits the form with correct user / password : we can not get access to the other pages of the web app

With play 1.4.5 the webapp works fine with 'play run' command

Many thanx

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the application under play run with the WAR produced by play war and deployed to Tomcat 7, using the reported Play 1.4.5, secure module, Java 7, and PostgreSQL setup. Inspect the login submission and server output to identify why authentication differs; done means successful login grants access to Application.index and the other protected pages.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, postgresql
Domain
authentication, backend, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.