the log4j.properties file in the WEB-INF/classes
dir and you don't need any appengine-web.xml stuff for it. Log4j looks for
its configuration file on the classpath which means it looks in
WEB-INF/classes (and also in all of the jars in the lib directory).
AJ Chen wrote:
I have log4j config
, AJ Chen ajc...@web2express.org wrote:
I have the default log4j.properties in WEB-INF/classes dir. but the
warning always comes up. the file is visible because I can change the log
level to ERROR to get rid of the warning.
-aj
On Fri, Feb 19, 2010 at 7:24 PM, Rusty Wright rwright.li
this group at
http://groups.google.com/group/google-appengine-java?hl=en.
--
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
@web2express on twitter
Palo Alto, CA, USA
650-283-4091
*Monitoring social media in real time*
--
You received this message because you
-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.
--
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
@web2express on twitter
Palo
problems in an elegant and affordable way, that simply were
not possible just a couple years ago.
Wondering what's behind the Cloud? Aliens and Intelligence.
Hope to see some of you on the event.
Best,
AJ
--
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
@web2express
restarts the context or something that triggers the call to the listener
servlet. SO, the question is: what's the right way to do one-time
initialization (e.g. pre-load data) in GAE? Maybe GAE does not have the
concept of initialization. Any suggestion is appreciated.
-aj
--
AJ Chen, PhD
Chair
should also implement ServletContextListener.contextDestroyed() to
perform cleanup of your data, if needed.
Regards,
Stephan
2010/2/17 AJ Chen ajc...@web2express.org
For standard web app, I use a context listener servlet to do
initialization at startup. This also works in eclipse with GAE
-appengine-java?hl=en.
--
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
@web2express on twitter
Palo Alto, CA, USA
650-283-4091
*Monitoring social media in real time*
--
You received this message because you are subscribed to the Google Groups
Google App Engine for Java
in sync, or just use a distributed cache
like Memcache in GAE.
Regards,
Stephan
2010/2/17 AJ Chen ajc...@web2express.org
yes, the new console is a good addition. however, because the app can be
shutdown/restarted by GAE at any time, you would still need to put the
initialization code
be executed
in 1 hour or so. And, the number of tasks keeps growing. I understand ETA
is not exact, but 1 min actual is just too far from 60 min ETA. Any idea
how to make the scheduled task more reliable?
the app is at http://realmon9.appspot.com
thanks,
-aj--
AJ Chen, PhD
Chair, Semantic Web SIG
and as
you are already using the only thread for the original request you get
the timeout ...
On Feb 1, 11:23 pm, AJ Chen ajc...@web2express.org wrote:
I'm using queued tasks to fetch feeds, one feed per task. each task takes
about a couple of seconds. but, the tasks get unexpected timeout
)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
-aj--
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
@web2express on twitter
Palo Alto, CA, USA
650-283-4091
*Monitoring social media in real time*
--
You
12 matches
Mail list logo