-
1. Re: Unprotected resources only accesible in Firefox (not in Chrome or IE)
nickarls Jul 29, 2013 1:16 AM (in response to marcos_aps)Do you have a small .war you can attach here?
-
2. Re: Unprotected resources only accesible in Firefox (not in Chrome or IE)
marcos_aps Jul 29, 2013 7:48 AM (in response to nickarls)Nicklas Karlsson wrote:
Do you have a small .war you can attach here?
I think that you can use the .ear I provided in https://community.jboss.org/thread/229509
If you get the same problem of mine, you will notice that, unlike Firefox, the login page is unformatted in Chrome and IE, as the css and javascript resources can't be accessed.
Marcos
-
3. Re: Unprotected resources only accesible in Firefox (not in Chrome or IE)
nickarls Jul 29, 2013 8:14 AM (in response to marcos_aps)I dropped the EAR into a fresh WF and I could access the resources (I also made a small modification to one of the css files and noticed that the change was rendered). I'm using Chrome 30.0.1573.2-dev-m
-
4. Re: Unprotected resources only accesible in Firefox (not in Chrome or IE)
marcos_aps Jul 29, 2013 8:29 AM (in response to nickarls)I'm using Windows XP, Firefox 23.0, Chrome 28.0.1500.72 m, IE 8, WildFly Alpha3.
Are you using WildFly Alpha3?
Marcos
-
5. Re: Unprotected resources only accesible in Firefox (not in Chrome or IE)
nickarls Jul 29, 2013 8:30 AM (in response to marcos_aps)Alpha4-SNAPSHOT as it was a few hours ago. Windows 7 (not that it should matter)
-
6. Re: Unprotected resources only accesible in Firefox (not in Chrome or IE)
ctomc Jul 29, 2013 8:35 AM (in response to marcos_aps)Can you post http network trace of what is going on?
In ie that is under developer tools (F12) network trace. post what you get.
especialy imporatn part if what kind of requests ware made and what was results (40x watch errors in responses)
--
tomaz
-
7. Re: Unprotected resources only accesible in Firefox (not in Chrome or IE)
nickarls Jul 29, 2013 8:49 AM (in response to ctomc)And what does the resource links look like when you view the source of the page?
-
8. Re: Unprotected resources only accesible in Firefox (not in Chrome or IE)
marcos_aps Jul 29, 2013 9:01 AM (in response to nickarls)Nicklas Karlsson wrote:
And what does the resource links look like when you view the source of the page?
In Chrome, for example, when I try to access the resource links from the source code it says: 404 - Not Found.
-
9. Re: Unprotected resources only accesible in Firefox (not in Chrome or IE)
marcos_aps Jul 29, 2013 9:03 AM (in response to ctomc)Tomaz Cerar wrote:
Can you post http network trace of what is going on?
In ie that is under developer tools (F12) network trace. post what you get.
especialy imporatn part if what kind of requests ware made and what was results (40x watch errors in responses)
--
tomaz
There's no way to do this in IE8, but I used something called wget and got this:
C:\Downloads>wget -S http://localhost:8080/solicitacoes
--2013-07-29 09:56:22-- http://localhost:8080/solicitacoes
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response...
HTTP/1.0 200 OK
Set-Cookie: FORM_AUTH_ORIGINAL_URL=/solicitacoes; path=/solicitacoes
Set-Cookie: JSESSIONID=L3Jw2wckFzGBH1PcvSMi3YFj; path=/
Content-Type: text/html;charset=UTF-8
Length: unspecified [text/html]
Saving to: `solicitacoes'[ <=> ] 1,574 --.-K/s in 0s
2013-07-29 09:56:22 (138 MB/s) - `solicitacoes' saved [1574]
Marcos
-
10. Re: Unprotected resources only accesible in Firefox (not in Chrome or IE)
nickarls Jul 29, 2013 9:04 AM (in response to marcos_aps)Where do the links point to? Inside the correct context root?
-
11. Re: Unprotected resources only accesible in Firefox (not in Chrome or IE)
ctomc Jul 29, 2013 9:08 AM (in response to marcos_aps)Marcos Antonio wrote:
There's no way to do this in IE8, but I used something called wget and got this:
Marcos
well, you have to install it
http://www.microsoft.com/en-us/download/details.aspx?id=18359
-
12. Re: Unprotected resources only accesible in Firefox (not in Chrome or IE)
marcos_aps Jul 29, 2013 9:10 AM (in response to nickarls)This is how the links are rendered in Firefox (where it is working):
<link href="resources/css/solicitacoes.css" rel="stylesheet" type="text/css" />
<link href="resources/css/login.css" rel="stylesheet" type="text/css" />
<script src="resources/script/jquery.js" type="text/javascript">
</script>
<script src="resources/script/solicitacoes.js" type="text/javascript">
</script>
<script src="resources/script/login.js" type="text/javascript">
</script>
And in Chrome (where it is not working):
<link href="resources/css/solicitacoes.css" rel="stylesheet" type="text/css" />
<link href="resources/css/login.css" rel="stylesheet" type="text/css" />
<script src="resources/script/jquery.js" type="text/javascript">
</script>
<script src="resources/script/solicitacoes.js" type="text/javascript">
</script>
<script src="resources/script/login.js" type="text/javascript">
</script>
Marcos
-
13. Re: Unprotected resources only accesible in Firefox (not in Chrome or IE)
marcos_aps Jul 29, 2013 9:17 AM (in response to ctomc)The developer tools was already installed, but it seems that there's not option to see the http network trace in IE8. Maybe in IE9, but I can't upgrade to it as I'm using Windows XP.
Marcos
-
14. Re: Unprotected resources only accesible in Firefox (not in Chrome or IE)
marcos_aps Jul 29, 2013 9:26 AM (in response to ctomc)Tomaz Cerar wrote:
Can you post http network trace of what is going on?
In ie that is under developer tools (F12) network trace. post what you get.
especialy imporatn part if what kind of requests ware made and what was results (40x watch errors in responses)
--
tomaz
I could get the image from Chrome. See the attached image.
Marcos
-
network-chrome.JPG 123.2 KB
-