On 06/07/2011 04:37 PM, Jeff Schnitzer wrote:
> I replied with a copy of my (187k) log on startup but the message was
> held for moderation by the mailing list software; not sure if it ever
> went through.  What looks to be the key error msg is this:
>
> [11-06-07 00:03:43.401] {main}
> WebAppController$206051672[production/webapp/default/ROOT] adding
> archive to repository from
> /Volumes/Slow/3rdparty/resin-pro-4.0.s110606/webapps/ROOT.war
> [11-06-07 00:03:43.951] {main} java.lang.RuntimeException:
> 74688118b8dc9b133c3714aec4f7c7f843e69e90: file validation failed
> because sha-1 hash '74688118b8dc9b133c3714aec4f7c7f843e69e90' does not
> match expected '0ef77fbc7e5f514bf459fb8fe2dd772ccef2dc9b'
>                                 at
> com.caucho.env.git.GitSystem.writeRawGitFile(GitSystem.java:600)
>                                 at
> com.caucho.env.repository.FileRepository.writeRawGitFile(FileRepository.java:270)
>                                 at
> com.caucho.env.repository.AbstractRepository.addArchive(AbstractRepository.java:744)
>                                 at
> com.caucho.env.repository.AbstractRepository.addArchive(AbstractRepository.java:705)
>                                 at

Perfect, thanks.

Let me see if I can reproduce/find the issue here. If not, I can add 
some more log information so we can see which file isn't validating 
properly.

-- Scott

> com.caucho.env.repository.AbstractRepository.commitArchive(AbstractRepository.java:228)
>                                 at
> com.caucho.env.deploy.ExpandDeployController.commitArchive(ExpandDeployController.java:472)
>                                 at
> com.caucho.env.deploy.ExpandDeployController.extractApplication(ExpandDeployController.java:350)
>                                 at
> com.caucho.env.deploy.ExpandDeployController.preConfigureInstance(ExpandDeployController.java:314)
>                                 at
> com.caucho.env.deploy.DeployController.startImpl(DeployController.java:652)
>                                 at
> com.caucho.env.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:77)
>                                 at
> com.caucho.env.deploy.DeployController.startOnInit(DeployController.java:521)
>                                 at
> com.caucho.env.deploy.DeployContainer.start(DeployContainer.java:170)
>                                 at
> com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:713)
>                                 at
> com.caucho.server.host.Host.start(Host.java:676)
>                                 at
> com.caucho.env.deploy.DeployController.startImpl(DeployController.java:658)
>                                 at
> com.caucho.env.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:77)
>                                 at
> com.caucho.env.deploy.DeployController.startOnInit(DeployController.java:521)
>                                 at
> com.caucho.env.deploy.DeployContainer.start(DeployContainer.java:170)
>                                 at
> com.caucho.server.host.HostContainer.start(HostContainer.java:542)
>                                 at
> com.caucho.server.cluster.Server.start(Server.java:1228)
>                                 at
> com.caucho.server.cluster.ServletService.start(ServletService.java:72)
>                                 at
> com.caucho.env.service.ResinSystem.startServices(ResinSystem.java:513)
>                                 at
> com.caucho.env.service.ResinSystem.start(ResinSystem.java:481)
>                                 at
> com.caucho.server.resin.Resin.start(Resin.java:999)
>                                 at
> com.caucho.server.resin.Resin.initMain(Resin.java:1127)
>                                 at
> com.caucho.server.resin.Resin.main(Resin.java:1426)
>
> Jeff
>
> On Tue, Jun 7, 2011 at 4:25 PM, Keith Fetterman
> <kfetter...@go2marine.com>  wrote:
>> Hi Jeff,
>>
>> I just had another thought that might be effecting your war file
>> deployment.  Have you declaree any dependency injection / CanDI into
>> your resin.xml or resin-web.xml files?  For example:
>>
>> http://www.caucho.com/resin-4.0/examples/ioc-binding/index.xtp
>>
>> When I upgraded our Web sites from resin 3.0.x to resin 4.x, I had a lot
>> of problems with this until I made changes to my Java classes.  Resin
>> would fail silently, i.e., it never produced any errors even when
>> logging was set to the finest level.  Resin would appear to start, but
>> nothing was loaded or deployed.
>>
>> The culprit was declaring / using static method calls as my services and
>> beans.
>>
>> Keith
>>
>>
>>
>>
>> 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.  I've
>>> tried removing the<web-app id="/" root-directory="webapps/ROOT"/>
>>> (what does that do, anyways?).
>>>
>>> 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.  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, f...@caucho.com<f...@cauchomail.com>    
>>> 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<j...@infohazard.org>    wrote:
>>>>
>>>>> From: Jeff Schnitzer<j...@infohazard.org>
>>>>> Subject: Re: [Resin-interest] Resin no longer deploys my war
>>>>> To: "General Discussion for the Resin application 
>>>>> server"<resin-interest@caucho.com>
>>>>> 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<j...@infohazard.org>
>>>>> 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
>>>>>> <kfetter...@go2marine.com>
>>>>> 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<f...@caucho.com>
>>>>>    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
>>>>>>>> resin-interest@caucho.com
>>>>>>>> http://maillist.caucho.com/mailman/listinfo/resin-interest
>>>>>>> --
>>>>>>>
>>>>> -----------------------------------------------------------------
>>>>>>> Keith Fetterman
>>>>>    Direct: 206-319-9434
>>>>>>> Mariner Supply, Inc.
>>>>> 206-780-5670
>>>>>>> http://www.go2marine.com               kfetter...@go2marine.com
>>>>>>>
>>>>>>> http://www.boatersline.com
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> resin-interest mailing list
>>>>>>> resin-interest@caucho.com
>>>>>>> http://maillist.caucho.com/mailman/listinfo/resin-interest
>>>>>>>
>>>>> _______________________________________________
>>>>> resin-interest mailing list
>>>>> resin-interest@caucho.com
>>>>> http://maillist.caucho.com/mailman/listinfo/resin-interest
>>>>>
>>>> _______________________________________________
>>>> resin-interest mailing list
>>>> resin-interest@caucho.com
>>>> http://maillist.caucho.com/mailman/listinfo/resin-interest
>>>>
>>> _______________________________________________
>>> resin-interest mailing list
>>> resin-interest@caucho.com
>>> http://maillist.caucho.com/mailman/listinfo/resin-interest
>>>
>> --
>> -----------------------------------------------------------------
>> Keith Fetterman                        Direct: 206-319-9434
>> Mariner Supply, Inc.                   206-780-5670
>> http://www.go2marine.com               kfetter...@go2marine.com
>>
>> http://www.boatersline.com
>>
>>
>>
>>
>> _______________________________________________
>> resin-interest mailing list
>> resin-interest@caucho.com
>> http://maillist.caucho.com/mailman/listinfo/resin-interest
>>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to