[MGNLUI-641] JS missing with Tomcat Created: 07/Feb/13 Updated: 16/May/19 Resolved: 13/Feb/13 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.0 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Samuli Penttilä | Assignee: | Samuli Penttilä |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||||||
| Date of First Response: | |||||||||||||||||
| Description |
|
After login pops up error stating that ./../VAADIN/vaadinBootstrap.js cannot be found. This can be only reproduced with Tomcat as it appends jsessionid to url which causes the problem. From HipChat: |
| Comments |
| Comment by Samuli Penttilä [ 07/Feb/13 ] |
|
Workaround exists in tomcat config/context.xml. Put disableURLRewriting="true" to Context so that Tomcat would not insert jsessionid to url. |
| Comment by Samuli Penttilä [ 08/Feb/13 ] |
|
This happens only with Tomcat 6 while Tomcat 7 is unaffected. There is now external issue addressing this issue at http://dev.vaadin.com/ticket/10974 |
| Comment by Richard Unger [ 08/Feb/13 ] |
|
To prevent tomcat adding the jsessionid to URLs in certain situations (typically right after login), use the following configuration: <Context disableURLRewriting="true"> You can configure this via a context.xml file in a META-INF folder in your WAR, or via the global context configuration in CATALINA_HOME/conf/context.xml It's not really something that you can control from inside the webapp, AFAIK. |
| Comment by Daniel Lipp [ 13/Feb/13 ] |
|
Since we moved to Tomcat 7 now, we won't take any action on that issue. |