I was able to resolve the logging problems by adding the following to the log4j.properties file: log4j.rootLogger=debug,A1
Any advice on the other "no realm" problem in the MobileWebApp sample from GWT 2.4 would be greatly appreciated. Has anyone here tried running the MobileWebApp sample in Eclipse? I know at least one other person has run into the "no realm" issue. I'm assuming the sample should be able to run "as-is" and therefore it isn't a problem with the sample app configuration but rather I have not configured Eclipse or something properly. On Nov 10, 5:31 pm, Jenson <[email protected]> wrote: > Hi folks, > > I'm trying to run the MobileWebApp sample in Eclipse (Indigo 3.7, GPE > 2.4). It's not clear to me why the console is getting warnings about > log4j not getting initialized properly. > > log4j:WARN No appenders could be found for logger > (org.apache.jasper.compiler.JspRuntimeContext). > log4j:WARN Please initialize the log4j system properly. > log4j:WARN Seehttp://logging.apache.org/log4j/1.2/faq.html#noconfig > for more info. > > Looking at the sample app available in the 2.4 SDK, I see the > following: > > log4j.properties is in MobileWebApp\target\www\WEB-INF\classes > logging.properties is in MobileWebApp\target\www\WEB-INF > The appengine-web.xml shows the following: > <!-- Configure java.util.logging --> > <system-properties> > <property name="java.util.logging.config.file" value="WEB-INF/ > logging.properties"/> > </system-properties> > > Any pointers are greatly appreciated. :) > > BTW: I'm unable to get the MobileWebApp sample running. I'm getting > "HTTP ERROR: 500 No realm" error in the browser. I'm hoping getting > logging working properly will provide insight into that problem. > Another person posted about the "No realm" problem with the > MobileWebApp sample. Unfortunately, the post hasn't gotten much > traction. Any ideas on either the log4j or the "no realm" problem > would be much appreciated. > > http://groups.google.com/group/google-web-toolkit/browse_thread/threa... -- 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.
