hi tong look at this may be it was useful for you http://whatwouldnickdo.com/wordpress/186/gwt-hosted-mode-and-log4j/
On Fri, Feb 10, 2012 at 2:51 PM, tong123123 <[email protected]> wrote: > I placed the log4j-1.2.16.jar under WEB-INF\llib\ > > in server code, I write the following > > class DBConnection{ > private static Logger logger = Logger.getLogger(DBConnection.class); > > public static Connection getConnection(){ > > PropertyConfigurator.configure("server_resources/log4j.properties"); > > > then the console show error: > java.io.FileNotFoundException: server_resources\log4j.properties (the > system cannot find the path specified) > > how to make it found the log4j.properties? > > I try to copy the server_resources/log4j.properties under web-inf and > placed inside war, it is ok and no error, but I want it placed under > WEB-inf, no method if placed under web-inf? > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- Regards, v.karthik, +919967930663. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
