We ran an application on jboss-as-7.1.1.Final, then moved the war file to jboss-eap-6.3 as part of an upgrade.
We were relieved to see that it came up and appeared to run just fine with no problems ... except this odd behavior:
Our application is pretty conventional. There is a login page. You log in and then go to an welcome page.
We use primefaces for the ui with our own style sheet to override some of the primefaces behavior. We're using their default skin.
What we see is that our style sheet and a bunch of other files do not get loaded until the user does a soft or hard refresh.
According to the Firefox developer tools logging in and being placed on the welcome page loads three files, our style sheet not being among them.
A refresh on the same page loads eight.
The result is that the fonts are off when the user initially logs in.
We've tried this with a number of different browsers and the behavior is consistent, so we think this may be something on the jboss side that
is doing this. This does not happen if the application is run on jboss-as-7.1.1.Final. Has anyone else seen this? Any ideas?
Thanks in advance for any help.
If you have a support entitlement with JBoss EAP then raise a support case with Red Hat with a reproducer for us to look in this some more. First thing to check would be how you're loading the CSS files and packaging them in your application. Can you replicate this issue using Richfaces as this is the JSF implementation tested on JBoss.