Is it possible to completely disable deployment archiving as described
on http://www.caucho.com/resin-4.0/admin/deploy.xtp?
Or at least disable the undocumented(?) automatic rollback?
Background: We made some configuration changes that seemed to work fine,
but turned out to be invalid. Trying to deploying a new .war resulted in
getting the contents of the previous one in the exploaded dir. Changing
config back did not help. Upon further examination of the logs, there
was an error (see below) which might itself be some kind of bug in Resin
(version 4.0.29). Fortunately I remembered having similar symptoms a
while back and then spent loads of time before we found and deleted the
.git directory under resin-data. We tried that again and then was able
to boot our application.
We would prefer disabling the archive + rollback feature altogether, as
in our case it seems only to cause confusion and problems.
The error:
[11:48:26.865] {main} java.lang.IllegalStateException:
'ddd10c59a0204e29d950c6dc5c863d4a24c59ef5' has an unknown type null
at
com.caucho.env.repository.RepositoryTagMap.<init>(RepositoryTagMap.java:151)
at
com.caucho.env.repository.AbstractRepository.addTagData(AbstractRepository.java:345)
at
com.caucho.env.repository.FileRepository.putTag(FileRepository.java:104)
at
com.caucho.env.repository.AbstractRepository.commitArchive(AbstractRepository.java:243)
at
com.caucho.env.deploy.ExpandDeployController.commitArchive(ExpandDeployController.java:510)
at
com.caucho.env.deploy.ExpandDeployController.extractApplication(ExpandDeployController.java:383)
at
com.caucho.env.deploy.ExpandDeployController.preConfigureInstance(ExpandDeployController.java:340)
at
com.caucho.env.deploy.DeployController.startImpl(DeployController.java:674)
at
com.caucho.env.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:77)
at
com.caucho.env.deploy.DeployController.startOnInit(DeployController.java:530)
at
com.caucho.env.deploy.DeployContainer.start(DeployContainer.java:170)
at
com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:728)
at com.caucho.server.host.Host.start(Host.java:677)
at
com.caucho.env.deploy.DeployController.startImpl(DeployController.java:680)
at
com.caucho.env.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:77)
at
com.caucho.env.deploy.DeployController.startOnInit(DeployController.java:530)
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.ServletService.start(ServletService.java:1337)
at
com.caucho.server.cluster.ServletSystem.start(ServletSystem.java:72)
at
com.caucho.env.service.ResinSystem.startServices(ResinSystem.java:529)
at
com.caucho.env.service.ResinSystem.start(ResinSystem.java:496)
at
com.caucho.server.resin.Resin.start(Resin.java:817)
at
com.caucho.server.resin.Resin.initMain(Resin.java:949)
at
com.caucho.server.resin.Resin.main(Resin.java:1398)
--
</Mattias>
_______________________________________________
resin-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/resin-interest