Closed GoogleCodeExporter closed 9 years ago
Works for me. Which URL pattern(s) have you mapped your FacesServlet on?
Original comment by balusc
on 22 Mar 2013 at 7:39
Hi, see my configurations
web-fragment.xml:
...
<servlet>
<servlet-name>FacesServlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>FacesServlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
<url-pattern>*.xhtml</url-pattern>
<url-pattern>/javax.faces.resource/*</url-pattern>
</servlet-mapping>
...
faces-config.xml:
....
<application>
<resource-handler>org.omnifaces.resourcehandler.CombinedResourceHandler</resource-handler>
<resource-handler>org.omnifaces.resourcehandler.UnmappedResourceHandler</resource-handler>
</application>
<factory>
<exception-handler-factory>org.omnifaces.exceptionhandler.FullAjaxExceptionHandlerFactory</exception-handler-factory>
</factory>
...
Original comment by fgrane...@gmail.com
on 22 Mar 2013 at 8:45
Attachments:
Sorry, I can't reproduce it. Your screenshot also shows that all theme related
files like ui-icons, ui-bg, etc are downloaded just fine (otherwise they are
highlighted red).
Please provide an SSCCE in flavor of a WAR file, so that I can deploy'n'run it
in order to see your problem myself.
Original comment by balusc
on 22 Mar 2013 at 8:56
Ok, see attachments.
Thank you.
Original comment by fgrane...@gmail.com
on 25 Mar 2013 at 2:25
Attachments:
Oh, that screenshot contains more helpful information. They generated an URL
without /javax.faces.resource/* prefix and are being redirected to the error
page. I understand the problem, but I'm sorry to tell, I can't reproduce it
with the attached WAR. See also the below screenshot after deploying it to
Glassfish 3.1.2.2.
Perhaps it's the browser cache or server cache?
Original comment by balusc
on 25 Mar 2013 at 2:50
Attachments:
Hello Bauke,
My glassfish server is crazy. After reinstalling it worked properly.
Thank you.
Best Regards.
Original comment by fgrane...@gmail.com
on 26 Mar 2013 at 3:39
Okay, I'm closing off this issue as invalid.
Thank you very much for reporting and please keep reporting any issues you face
even if it's after all your own or environment's mistake :)
Original comment by balusc
on 26 Mar 2013 at 6:17
Hello again,
jRebel is causing the problem. :-)
see log:
....
[2013-03-26 17:40:17.906] org.glassfish.web.loader.WebappClassLoader@1034729
found resource: 'META-INF/resources/primefaces/' from
'jar:file:/D:/Development/Projetos%20Java/fefsis-aluno/target/fefsis-aluno/WEB-I
NF/lib/primefaces-3.5.jar!/META-INF/resources/primefaces/'.
[2013-03-26 17:40:17.906] org.glassfish.web.loader.WebappClassLoader@1034729
found resource:
'META-INF/resources/primefaces-redmond/images/ui-bg_flat_55_fbec88_40x100.png'
from
'jar:file:/D:/Development/Projetos%20Java/fefsis-aluno/target/fefsis-aluno/WEB-I
NF/lib/redmond-1.0.9.jar!/META-INF/resources/primefaces-redmond/images/ui-bg_fla
t_55_fbec88_40x100.png'.
[2013-03-26 17:40:17.906] Getting servlet resource paths:
/resources/primefaces-redmond -> null
[2013-03-26 17:40:17.906] org.glassfish.web.loader.WebappClassLoader@1034729
found resource: 'META-INF/resources/primefaces-redmond/' from
'jar:file:/D:/Development/Projetos%20Java/fefsis-aluno/target/fefsis-aluno/WEB-I
NF/lib/redmond-1.0.9.jar!/META-INF/resources/primefaces-redmond/'.
[2013-03-26 17:40:17.906] org.glassfish.web.loader.WebappClassLoader@1034729
found resource: 'META-INF/resources/primefaces/rating/rating.png' from
'jar:file:/D:/Development/Projetos%20Java/fefsis-aluno/target/fefsis-aluno/WEB-I
NF/lib/primefaces-3.5.jar!/META-INF/resources/primefaces/rating/rating.png'.
[2013-03-26 17:40:17.906] Getting servlet resource paths: /resources/primefaces
-> null
[2013-03-26 17:40:17.906] org.glassfish.web.loader.WebappClassLoader@1034729
found resource: 'META-INF/resources/primefaces/' from
'jar:file:/D:/Development/Projetos%20Java/fefsis-aluno/target/fefsis-aluno/WEB-I
NF/lib/primefaces-3.5.jar!/META-INF/resources/primefaces/'.
[2013-03-26 17:40:17.906] org.glassfish.web.loader.WebappClassLoader@1034729
found resource:
'META-INF/resources/primefaces-redmond/images/ui-bg_glass_95_fef1ec_1x400.png'
from
'jar:file:/D:/Development/Projetos%20Java/fefsis-aluno/target/fefsis-aluno/WEB-I
NF/lib/redmond-1.0.9.jar!/META-INF/resources/primefaces-redmond/images/ui-bg_gla
ss_95_fef1ec_1x400.png'.
[2013-03-26 17:40:17.906] Getting servlet resource paths:
/resources/primefaces-redmond -> null
...
I'll report on the jrebel forum.
Thanks you.
Original comment by fgrane...@gmail.com
on 26 Mar 2013 at 8:44
Original issue reported on code.google.com by
fgrane...@gmail.com
on 22 Mar 2013 at 3:02