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?

Thanks!

Nate
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 jawr.properties 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
Hi,

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.

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