I agree with your thinking that this looks like a classloading issue, but
haven't (yet) tried any clever optimisations here :)
The only shared jars are those supplied by default via java/tomcat.  When I
get a moment though, it might be worth checking for the usual culprits
(commons-logging, etc).

I didn't try to read back the sitemap in my code, it's just two statically
defined locs (see the source on github).  I can certainly attempt the
readback for troubleshooting purposes, but still not sure how this can help
us track down the issue if it fails...

Context paths are not explicitly set, no custom context.xml files, nothing
special in tomcat whatsoever - the two war files are auto-deployed and are
identical (apart from their names, obviously)




On Mon, Jul 6, 2009 at 12:18 PM, marius d. <marius.dan...@gmail.com> wrote:

>
> Oh btw. did you explicitly set the context path for each app ?
>
> On Jul 6, 2:09 pm, "marius d." <marius.dan...@gmail.com> wrote:
> > Looks like there is an "influence" there but it should really not be
> > since each web application is loaded by a separate classloader.
> >
> > 1. Do you have any jars that these webapps are sharing?
> > 2. If you put some logs in Boot do you see the logs correctly? ... If
> > you call LiftRules.siteMap after you set the siteMap gdo you get back
> > the right SiteMap ?
> >
> > Br's,
> > Marius
> >
> > On Jul 6, 1:35 pm, Kevin Wright <kev.lee.wri...@googlemail.com> wrote:
> >
> > > Marius, should I be thinking that you have a theory on this one?
> >
> > > On Mon, Jul 6, 2009 at 9:55 AM, Kevin Wright
> > > <kev.lee.wri...@googlemail.com>wrote:
> >
> > > > Interesting... yes it does
> >
> > > > On Mon, Jul 6, 2009 at 9:51 AM, marius d. <marius.dan...@gmail.com>
> wrote:
> >
> > > >> And if you deploy onlyhttp://lsug.org/main/ does it work correctly?
> >
> > > >> Br's,
> > > >> Marius
> >
> > > >> On Jul 6, 10:17 am, Kevin Wright <kev.lee.wri...@googlemail.com>
> > > >> wrote:
> > > >> > I have two webapps, hosted on the same server:
> > > >>http://lsug.org/main/http://lsug.org/stage/
> >
> > > >> > Problem is, the menu works just fine on the stage site, but not on
> the
> > > >> main
> > > >> > site.
> > > >> > Which is odd, as these sites should be identical.  I just renamed
> > > >> stage.war
> > > >> > to main.war and let tomcat auto-deploy it
> >
> > > >> > The site is using tomcat 6 via apache 2 (with mod_jk proxying)
> > > >> > The problem also appears if I access tomcat directly (i.e. not via
> > > >> apache)
> >
> > > >> > Is this a known issue?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to