You needed to specify the passNotFoundToChain var, thats why you were getting the 404 originally - as you detail, its not needed to explicitly set the /messagebroker URL in your web.xml.
Glad you got it working Cheers, Tim On Oct 31, 11:52 am, oshyshko <[email protected]> wrote: > Adding "LiftRules.passNotFoundToChain = true" didn't help, the > response has changed to: > > ================================ > HTTP/1.1 200 OK > Expires: Thu, 01 Jan 1970 00:00:00 GMT > Set-Cookie: JSESSIONID=1a8mg0498vrwd;Path=/ > Content-Length: 0 > Server: Jetty(6.1.21) > ================================ > > But your post led me to more experiments. > Here is a workaround for liftweb-1.0+: > > Don't map LiftFilter to "/messagebroker/*" explicitely. > > My current web.xml contains this: > ================================ > <filter> > <filter-name>LiftFilter</filter-name> > <filter-class>net.liftweb.http.LiftFilter</filter-class> > </filter> > > <filter-mapping> > <filter-name>LiftFilter</filter-name> > <url-pattern>*.html</url-pattern> > </filter-mapping> > > <filter-mapping> > <filter-name>LiftFilter</filter-name> > <url-pattern>/</url-pattern> > </filter-mapping> > > <!-- > Removed this for Liftweb-1.0.+ > > <filter-mapping> > <filter-name>LiftFilter</filter-name> > <url-pattern>/messagebroker/*</url-pattern> > </filter-mapping> > --> > ================================ > > I've verified this on scala-2.7.5 + liftweb-1.1M6. > Runs like a champ. > > Thanks, Tim. > > On Oct 31, 12:57 pm, Timothy Perrett <[email protected]> wrote: > > > > > Have you set this in Boot.scala: > > > LiftRules.passNotFoundToChain = true > > > Without this Lift wont pass requests that it cant handle to other > > servlets. I would recommend upgrading to 1.1-M6 and Scala 2.7.5 - the > > API has changed *a lot* since 0.9 --~--~---------~--~----~------------~-------~--~----~ 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=en -~----------~----~----~----~------~----~------~--~---
