Hooray! Three cheers for working code! -Ross
On Oct 15, 2009, at 4:45 AM, Timothy Perrett wrote: > > Hey Ross, > > Just to close up this thread - you were exactly right. As it turns > out, the dependency tree was pulling in a special jetty servlet > implementation that I didn't know about. > > After some dependency management everything worked perfectly! > > Cheers, Tim > > > > On 13 Oct 2009, at 15:25, Ross Mellgren wrote: > >> >> The only reason I could think of is that something is pulling a >> servlet API into scope that you're not expecting -- I use JSW myself >> and I know that I've never seen this kind of thing happen. >> >> I'd be glad to poke around if you throw up a sample, I confess I >> didn't have enough time last night to put it together using your gist >> post. >> >> -Ross >> >> On Oct 13, 2009, at 3:08 AM, Timothy Perrett wrote: >> >>> >>> Sorry Ross, I meant Java Service Wrapper! It was late and I must >>> have >>> typed it wrong :-( >>> >>> Any thoughts? Would it help if put together a rough sample? >>> >>> Cheers >>> >>> Tim >>> >>> Sent from my iPhone >>> >>> On 13 Oct 2009, at 02:21, Ross Mellgren <[email protected]> wrote: >>> >>>> >>>> Before I go barking up the wrong tree, by JWS you mean Java Web >>>> Start >>>> or Java Web Services? >>>> >>>>>>>>>> I must confess, Im running a fairly specific config. >>>>>>>>>> Essentially I >>>>>>>>>> have an executable WAR file that has a jetty launcher class >>>>>>>>>> inside - >>>>>>>>>> its pretty sweet, and it works from the command line doing: >>>>>> >>>>>>>>>> java -jar myapp.war >>>>>> >>>>>>>>>> However, when I go to implement it with JWS I get this error. >>>> >>>> -Ross >>>> >>>> On Oct 12, 2009, at 9:05 PM, Timothy Perrett wrote: >>>> >>>>> >>>>> I cant really post the war im afraid, as its calling all manner of >>>>> services on some internal systems. >>>>> >>>>> The strange thing with all of this is that it works when you >>>>> execute: >>>>> >>>>> java -jar myapp.war >>>>> >>>>> Here's what you should need to just make a similar demo project: >>>>> >>>>> https://gist.github.com/3ad5cd900bbe0012b147 - the first being the >>>>> maven build and the 2nd being the launcher im using for jetty. >>>>> >>>>> Cheers, Tim >>>>> >>>>> On Oct 13, 1:47 am, Ross Mellgren <[email protected]> wrote: >>>>>> Especially since it prints out the valid class name in the log >>>>>> message. >>>>>> >>>>>> I suppose you can't post the WAR somewhere so I can have a poke? >>>>>> >>>>>> -Ross >>> >>>> >> >> >>> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
