Skip to main content

JAWR 3.3.3 and Wildfly 8.1

  3 posts   Feedicon  
Replies: 2 - Last Post: June 16, 2014 09:55
by: icefox
showing 1 - 3 of 3
Posted: May 19, 2014 23:54 by ndrake
We are successfully using JAWR 3.3.3 with JBoss 7.1.1. I'm in the process of upgrading to Wildfly (aka JBoss) 8.1, and when I do, it seems that the jwr:script taglib isn't working (no <script> tags are generated in the generated HTML). I don't see any error messages. The jwr:style tag is working fine.

Anyone run into an issue like this before?


Posted: June 03, 2014 00:59 by ndrake
I haven't solved this yet, but have found the cause. We currently configure separate JS instances of JawrServlet in our web.xml, with separate files and servlet mappings. When the jwr:script tag for JAWR config 1 attempts to render and lookup the requested bundle, it is seeing only JAWR config 2's bundles, since there is no match found, not script tag is generated.
Posted: June 16, 2014 09:55 by icefox

You should only have one servlet instance for one type of resource (JS, CSS or image).
Jawr doesn't support the use of 2 servlets for the same kind of resource.

Replies: 2 - Last Post: June 16, 2014 09:55
by: icefox
Please Confirm