I've been developing a REST api using Lift, and have just added some basic html templates to it, and started using a snippet or two.
As I'm testing out my pages I'm noticing a number of odd things: 1. Often when I alt tab back to my browser, its not on the page i left it on (say http://localhost:8080/mypage.html), instead its on http://localhost:8080/ somehow. 2. I'm seeing requests in the jetty console like this: INFO - Service request (POST) /ajax_request/F119708427865SPY/ took 52 Milliseconds I'm not using any AJAX at the moment, is there a way to turn this off? 3. Again, seemingly randomly, I get "Couldn't start SessionMaster ping" errors: ERROR - Couldn't start SessionMaster ping net.liftweb.util.ActorPingException: net.liftweb.http.SessionMaster $checkandpur...@6326c98 could not be scheduled on net.liftweb.http.sessionmast...@58777255 at net.liftweb.util.ActorPing$.schedule(ActorPing.scala:51) at net.liftweb.http.SessionMaster$.net$liftweb$http$SessionMaster$ $doPing(LiftSession.scala:209) at net.liftweb.http.SessionMaster$$anonfun$act$1$$anonfun$apply $1.apply(LiftSession.scala:200) at net.liftweb.http.SessionMaster$$anonfun$act$1$$anonfun$apply $1.apply(LiftSession.scala:169) at scala.actors.Reaction.run(Reaction.scala:79) at scala.actors.threadpool.ThreadPoolExecutor.runWorker(Unknown Source) at scala.actors.threadpool.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Thread.java:619) Caused by: java.util.concurrent.RejectedExecutionException at java.util.concurrent.ThreadPoolExecutor $AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1760) at java.util.concurrent.ThreadPoolExecutor.reject (ThreadPoolExecutor.java:767) at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute (ScheduledThreadPoolExecutor.java:216) at java.util.concurrent.ScheduledThreadPoolExecutor.schedule (ScheduledThreadPoolExecutor.java:379) at java.util.concurrent.Executors $DelegatedScheduledExecutorService.schedule(Executors.java:654) at net.liftweb.util.ActorPing$.schedule(ActorPing.scala:49) ... 7 more I might well have butchered something - when I started I removed some of the boiler plate stuff created by the archetype that I didn't see as necessary for the REST web service. But, stuff is generally working, I can add templates, call snippets from them etc. Thanks, - Alex -- You received this message because you are subscribed to the Google Groups "Lift" 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/liftweb?hl=.
