Well I just deployed 2 different Lift apps in jetty and everything is working fine.
Here is wild thought.... can you try changing the package names. I know it shouldn't matter but this is an awkward case still. Br's, Marius On Jul 6, 2:32 pm, Kevin Wright <[email protected]> wrote: > 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. <[email protected]> wrote: > > > Oh btw. did you explicitly set the context path for each app ? > > > On Jul 6, 2:09 pm, "marius d." <[email protected]> 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 <[email protected]> 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 > > > > <[email protected]>wrote: > > > > > > Interesting... yes it does > > > > > > On Mon, Jul 6, 2009 at 9:51 AM, marius d. <[email protected]> > > wrote: > > > > > >> And if you deploy onlyhttp://lsug.org/main/does it work correctly? > > > > > >> Br's, > > > > >> Marius > > > > > >> On Jul 6, 10:17 am, Kevin Wright <[email protected]> > > > > >> 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 [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 -~----------~----~----~----~------~----~------~--~---
