6 Replies Latest reply on Dec 15, 2007 8:10 AM by Duncan Stockdill

    Resource not found exceptions with seam using mod_jk

    Todd Nash Newbie

      I am running an application built on Seam using standard Richfaces/Facelets components. Everything works fine when you talk to JBoss directly, however as soon as we hooked up Apache using mod_jk and try to forward to a single JBoss node (not clustered yet or loadbalanced) we get errors on the home page that some of the resources cannot be found:

      17:17:32,953 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
      org.ajax4jsf.resource.ResourceNotFoundException: Resource not registered : org.ajax4jsf.javascript.AjaxScript.seam ...

      It appears that ".seam" is being appended to the javascript resource requests (not just the ajax ones) and some of the image requests (i.e. the page source shows the images for the tabs as images/theImage.gif.seam ) . I don't have access to the server right now to give you the full error message, but it is similar to the one above.

      Is there a setup issue I missed in the mod_jk setup or am I missing a context setting on the JBoss server?

      Thanks for any help.