You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Thierens, Bart" <Ba...@xerox.com> on 2013/02/11 16:10:54 UTC
(almost) identical webapps behave differently in serving static
content
I have 2 (almost) identical webapps. One is deployed to Tomcat 6.0.29 and the other is deployed to 6.0.33. The first one has no problems resolving static content files using Spring, the second one (on 6.0.33) has issues.
For the full info, see: http://stackoverflow.com/questions/14812919/almost-identical-webapps-behave-differently-in-serving-static-content
Kind regards,
Bart
------------------------------------------------------------------------------
Bart Thierens
Xerox Consultant
+32 473 36 44 52
N.V. Xerox S.A.
Wezembeekstraat 5
1930 Zaventem (Belgium)
Re: (almost) identical webapps behave differently in serving static content
Posted by Konstantin Kolinko <kn...@gmail.com>.
2013/2/11 Thierens, Bart <Ba...@xerox.com>:
> The files are located under $WEBAPP$/styles.
Move them into $WEBAPP$/static/styles.
>
> As I said on StackOverflow: the webapps are identical (except for database connection and tomcat version).
>
> My question for you is: what changed between version 6.0.29 and 6.0.33 that 'breaks' my application?
As I already wrote, see
https://issues.apache.org/bugzilla/show_bug.cgi?id=50026
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: (almost) identical webapps behave differently in serving static
content
Posted by "Thierens, Bart" <Ba...@xerox.com>.
The files are located under $WEBAPP$/styles.
As I said on StackOverflow: the webapps are identical (except for database connection and tomcat version).
My question for you is: what changed between version 6.0.29 and 6.0.33 that 'breaks' my application?
------------------------------------------------------------------------------
Bart Thierens
Xerox Consultant
+32 473 36 44 52
N.V. Xerox S.A.
Wezembeekstraat 5
1930 Zaventem (Belgium)
________________________________________
From: Konstantin Kolinko [knst.kolinko@gmail.com]
Sent: 11 February 2013 16:19
To: Tomcat Users List
Subject: Re: (almost) identical webapps behave differently in serving static content
2013/2/11 Thierens, Bart <Ba...@xerox.com>:
> I have 2 (almost) identical webapps. One is deployed to Tomcat 6.0.29 and the other is deployed to 6.0.33. The first one has no problems resolving static content files using Spring, the second one (on 6.0.33) has issues.
>
> For the full info, see: http://stackoverflow.com/questions/14812919/almost-identical-webapps-behave-differently-in-serving-static-content
>
Looks like a security issue in your configuration.
See https://issues.apache.org/bugzilla/show_bug.cgi?id=50026
Where are those "static" files in your web application? Are they in
"static" subdirectory?
If they are not, create such directory and move the files there.
Best regards,
Konstantin Kolinko
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: (almost) identical webapps behave differently in serving static content
Posted by Konstantin Kolinko <kn...@gmail.com>.
2013/2/11 Thierens, Bart <Ba...@xerox.com>:
> I have 2 (almost) identical webapps. One is deployed to Tomcat 6.0.29 and the other is deployed to 6.0.33. The first one has no problems resolving static content files using Spring, the second one (on 6.0.33) has issues.
>
> For the full info, see: http://stackoverflow.com/questions/14812919/almost-identical-webapps-behave-differently-in-serving-static-content
>
Looks like a security issue in your configuration.
See https://issues.apache.org/bugzilla/show_bug.cgi?id=50026
Where are those "static" files in your web application? Are they in
"static" subdirectory?
If they are not, create such directory and move the files there.
Best regards,
Konstantin Kolinko
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org