5 Replies Latest reply on Apr 22, 2010 6:29 AM by nbelaevski

    Install richfaces elsewhere but WEB-INF/lib

    romeo.juncu

      Hi everybody,

       

      I have an JEE application deployed on Glassfish V3.1, which uses EJB's, connectors, persistence and web. For the Web tier I'm using the fresh Richfaces 3.3.3 library. My web application works well if I have the richfaces*.jar files deployed in the WEB-INF/lib folder of my war application.

       

      For some reason, I have to build smaller .ear files, so I need to exclude richfaces-*.jar from my application and install them manually elsewhere. I've tried domain-dir/lib folders, as-install/lib and as-install/module folders. The best I have is the domain-dir/lib folder, my application deployes, but when I try to open some jsp page I have this message "The absolute uri: http://richfaces.org/rich cannot be resolved in either web.xml or the jar files deployed with this application".

       

      I've even tried to build little jars with only META-INF folders and deploy them with my application, having the big ones deplyed in domain-dir/lib. It is not better.

       

      So, anyone has ever tried to do such a thing?