Discussion:
Failed to load the bootstrap javascript: ./../VAADIN/vaadinBootstrap.js
jakob (via Magnolia Forums)
2013-10-04 08:36:39 UTC
Permalink
Hi there,
I've a problem with Magnolia 5.0.2. If i open Magnolia Author in my IDE or also in Deployment i always get Failed to load the bootstrap javascript: ./../VAADIN/vaadinBootstrap.js after login.

If i then open it again, all works fine ... (login screen not shown - app goes direct to app screen because Im authenticated)

All works fine then ...


So what can i do ..

Found this http://stackoverflow.com/questions/16493773/vaadin-7-url-parameter but how to solve?

Maven Mgnl Version Problem? web.xml Problem (nothing changed there .. ;-(

Please help!

Marek
--
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=db87aafe-0b5a-4cd5-a8bc-260c3660cea3


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-***@magnolia-cms.com>
----------------------------------------------------------------
Jozef Chocholacek
2013-10-04 09:09:40 UTC
Permalink
Hi Marek,

what Tomcat version do you use in your IDE? Is it Tomcat7 or Tomcat6? Because I haven't seen this problem since we moved to Tomcat7 - as discussed in http://jira.magnolia-cms.com/browse/MGNLUI-641


J.Ch.
--
Jozef Chocholacek
Senior Developer
Magnolia International Ltd.
---------------------------------------------
Magnolia® - Yes, we're open.
---------------------------------------------
Post by jakob (via Magnolia Forums)
Hi there,
I've a problem with Magnolia 5.0.2. If i open Magnolia Author in my IDE or also in Deployment i always get Failed to load the bootstrap javascript: ./../VAADIN/vaadinBootstrap.js after login.
If i then open it again, all works fine ... (login screen not shown - app goes direct to app screen because Im authenticated)
All works fine then ...
So what can i do ..
Found this http://stackoverflow.com/questions/16493773/vaadin-7-url-parameter but how to solve?
Maven Mgnl Version Problem? web.xml Problem (nothing changed there .. ;-(
Please help!
Marek
--
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=db87aafe-0b5a-4cd5-a8bc-260c3660cea3
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
----------------------------------------------------------------
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-***@magnolia-cms.com>
----------------------------------------------------------------
jakob (via Magnolia Forums)
2013-10-04 16:05:21 UTC
Permalink
Hi Jozef,
thank you for your answer. The Bugtracker link was the right direction! I'm using Glassfish 3.1.2.2 and the web.xml has a Bug in 5.0.2. overlays ...

In this posting I've found the solution
https://fralef.me/tomcat-disable-jsessionid-in-url.html

I had uncomment

<session-config>
<tracking-mode>COOKIE</tracking-mode>
</session-config>

because it's unknown in 2.4 schema ... but this produces the login Bootstrap bug ...

So it has to be:


...
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0">
...

Include

<session-config>
<tracking-mode>COOKIE</tracking-mode>
</session-config>

again ...

Is known and all works fine ...

Marek
--
Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=db87aafe-0b5a-4cd5-a8bc-260c3660cea3


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-***@magnolia-cms.com>
----------------------------------------------------------------
Loading...