[ http://jira.codehaus.org/browse/DISPL-144?page=all ] fabrizio giustina closed DISPL-144: -----------------------------------
Marking fixed issue as closed. > DisplayTag does not load displaytag.properties if library and config file > placed in different classloaders > ---------------------------------------------------------------------------------------------------------- > > Key: DISPL-144 > URL: http://jira.codehaus.org/browse/DISPL-144 > Project: DisplayTag > Type: Bug > Versions: 1.0 RC2 > Reporter: Dominik Drzewiecki > Assignee: fabrizio giustina > Fix For: 1.0 > > > I recently placed displaytag-1.0-rc2.jar in tomcat's shared classloader > (${tomcat.home}/shared/lib) instead of the webapp classloader and noticed > that all my localized column titles disappeared. After a short investigation > it turned out that the displaytag.properties placed in web application (which > contains config for > locale.provider=org.displaytag.localization.I18nStrutsAdapter) is not loaded. > I placed a copy of displaytag.properties in the same classloader as the > displaytag-1.0-rc2.jar (that is: ${tomcat.home}/shared/classes ), and voila, > it works perfectly. > The bottomline: displaytag.properties is usually strongly related with > particular web application while displaytag library might be shared across > aplications. It should be possible to have a configuration as described above. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel