On 06/06/2011 05:49 PM, Jeff Schnitzer wrote: > Seriously, I've done *nothing* special. I downloaded resin, unzipped > it, copied in my ROOT.war... and nothing. I've tried deleting the > ROOT/ directory. I've tried deleting the resin-data/ directory.
Hmm. > I've > tried removing the<web-app id="/" root-directory="webapps/ROOT"/> > (what does that do, anyways?). It lets you override configuration in the resin.xml, like the WEB-INF/resin-web.xml. It's useful for some peoples' configuration. > resin-admin shows a root webapp. not mine - just the default one it creates. > > It just doesn't work. > > FWIW, a simple stripped-down war file does deploy. So presumably it's > something about my WARfile. That's interesting. Other than the WEB-INF/web.xml and WEB-INF/resin-web.xml there really shouldn't be anything specific about one .war file vs another. (Although I guess there could be something about the validation when unzipping the file.) If you get a chance, can you download a snapshot from http://caucho.com/download/resin-pro-4_0-snap.tar.gz, turn on logging to "finer" or "finest", duplicate the deployment problem and send me the log file? It might show information about what's different about your .war. (Or if the snapshot isn't ready, the same "finest" information from the current version might show something.) thanks, -- Scott > But there's nothing about my WAR that is > special - it deploys just fine on other containers. If I unjar it by > hand, it deploys just fine on Resin. > > Jeff > > On Sun, Jun 5, 2011 at 11:18 PM, [email protected]<[email protected]> wrote: >> What does the /resin-admin for that webapp show? >> >> If you've deployed the war using the deploy command, for example, it will >> take precedence over a new deployed .war. >> >> -- Scott >> >> >> --- On Sun, 6/5/11, Jeff Schnitzer<[email protected]> wrote: >> >>> From: Jeff Schnitzer<[email protected]> >>> Subject: Re: [Resin-interest] Resin no longer deploys my war >>> To: "General Discussion for the Resin application >>> server"<[email protected]> >>> Date: Sunday, June 5, 2011, 8:12 PM >>> I finally got around to trying this >>> out, and no luck. I can't for the >>> life of me figure out why Resin refuses to unpack my >>> WAR. Every other >>> appserver will, including an old copy of resin 4.0.9 I >>> found lying >>> around (unfortunately 4.0.9 has other issues). >>> >>> Jeff >>> >>> On Fri, Jun 3, 2011 at 9:57 AM, Jeff Schnitzer<[email protected]> >>> wrote: >>>> Thanks - I will try this out. >>>> >>>> I gave up and switched to Tomcat. But I like it less >>> than Resin, so >>>> maybe I will switch back. >>>> >>>> Jeff >>>> >>>> On Fri, Jun 3, 2011 at 9:43 AM, Keith Fetterman >>>> <[email protected]> >>> wrote: >>>>> Hi Jeff, >>>>> >>>>> Are you still experiencing this problem? I >>> experienced the same problem >>>>> in resin 4.0.16 pro. I pulled my hair out >>> including performing the >>>>> steps you talked about in your email. I finally >>> discovered that I had to >>>>> turn versioning off. Here is a snippet from my >>> resin.xml file: >>>>>> <!-- creates the webapps directory for .war >>> expansion --> >>>>>> <!-- >>>>>> <web-app-deploy path="webapps" >>> versioning="true"/> >>>>>> --> >>>>>> <web-app-deploy path="webapps"/> >>>>> The default resin.xml file has this set to true. >>>>> >>>>> I hope this helps >>>>> >>>>> Keith >>>>> >>>>> On 05/24/2011 02:23 PM, Jeff Schnitzer wrote: >>>>>> On Tue, May 24, 2011 at 2:04 PM, Scott >>> Ferguson<[email protected]> >>> wrote: >>>>>>> Also, what does the /resin-admin webapps >>> tab say? >>>>>> It reports a webapp at /, but just the "stock" >>> one. >>>>>>> For example, if you've deployed a .war >>> using the command-line "deploy", >>>>>>> that overrides the webapps/ directory. >>>>>> I haven't done anything... seriously, I just >>> went through these steps: >>>>>> 1) Download resin-4.0.18.zip >>>>>> 2) Unzip it into a directory >>>>>> 3) Copy my ROOT.war into resin/webapps >>>>>> 4) Run resin >>>>>> >>>>>> No love. No error messages. >>>>>> >>>>>> I've also tried commenting out<web-app >>> id="/" >>>>>> root-directory="webapps/ROOT"/> but it >>> makes no difference. I'm not >>>>>> quite sure what this line is supposed to do, >>> though - shouldn't it be >>>>>> irrelevant if there is a ROOT.war file in >>> webapps? >>>>>> Jeff >>>>>> >>>>>> >>>>>> >>> _______________________________________________ >>>>>> resin-interest mailing list >>>>>> [email protected] >>>>>> http://maillist.caucho.com/mailman/listinfo/resin-interest >>>>> -- >>>>> >>> ----------------------------------------------------------------- >>>>> Keith Fetterman >>> Direct: 206-319-9434 >>>>> Mariner Supply, Inc. >>> 206-780-5670 >>>>> http://www.go2marine.com [email protected] >>>>> >>>>> http://www.boatersline.com >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> resin-interest mailing list >>>>> [email protected] >>>>> http://maillist.caucho.com/mailman/listinfo/resin-interest >>>>> >>> >>> _______________________________________________ >>> resin-interest mailing list >>> [email protected] >>> http://maillist.caucho.com/mailman/listinfo/resin-interest >>> >> >> _______________________________________________ >> resin-interest mailing list >> [email protected] >> http://maillist.caucho.com/mailman/listinfo/resin-interest >> > > _______________________________________________ > resin-interest mailing list > [email protected] > http://maillist.caucho.com/mailman/listinfo/resin-interest _______________________________________________ resin-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/resin-interest
