[
https://issues.jboss.org/browse/RF-12797?page=com.atlassian.jira.plugin.s...
]
Serge Mürset commented on RF-12797:
-----------------------------------
Finally found the problem. The org.richfaces.webapp.ResourceServlet delivers resources of
the path /org.richfaces.resources/*. It is registered by the
ResourceServletContainerInitializer, which is a ServletContainerInitializer. In
richfaces-core-impl, there is the file
/META-INF/services/javax.servlet.ServletContainerInitializer which points to
ResourceServletContainerInitializer (as described in
http://docs.oracle.com/javaee/6/api/javax/servlet/ServletContainerInitial...). In
JBoss 7.1.1, this ResourceServletContainerInitializer is never invoked, although I
included all dependencies of the RichFaces module. It seems like the META-INF/services of
module dependencies is not taken into respect. In conclusion, this is a JBoss Issue with
high probability.
Described a solution in the workaround of this ticket.
rich:editor not rendered when using RichFaces module
----------------------------------------------------
Key: RF-12797
URL:
https://issues.jboss.org/browse/RF-12797
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: cdk, component-input
Affects Versions: 4.3.0.Final
Environment: JBoss 7.1.1
Reporter: Serge Mürset
Fix For: 5-Tracking
Attachments: editor-test.zip
I want to configure my Webapp to use RichFaces as a JBoss module not a library. To
achieve this, I create the module org.richfaces with version 4.3.0 in module directory of
JBoss.
As soon as I switch from library to module, the rich:editor is not rendered anymore. In
the Browser History i read
[15:07:25.511] GET
http://localhost:8080/editor-test/org.richfaces.resources/javax.faces.res...
[HTTP/1.1 404 Not Found 1ms]
I validated that the resource lang/de.js is available in classpath though.
15:01:02,780 INFO [stdout] (MSC service thread 1-5) The following resource(s) are found
at location /META-INF/resources/org.richfaces.ckeditor/lang/de.js
15:01:02,781 INFO [stdout] (MSC service thread 1-5) ---
jar:file:/opt/jboss-7.1.1/modules/org/richfaces/main/richfaces-components-ui-4.3.0.Final.jar!/META-INF/resources/org.richfaces.ckeditor/lang/de.js
Weird enough, all other components I checked still work. I followed the instructions of
https://issues.jboss.org/browse/RF-12008.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira