-
-
Notifications
You must be signed in to change notification settings - Fork 487
-
-
Notifications
You must be signed in to change notification settings - Fork 487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[tomcat] deploy unstable across war updates #1158
Milestone
Comments
I can confirm this, seeing the same with 3.0.2, redeploying 'manually' by touch'ing geonetwork/WEB-INF/web.xml, tomcat reloads the app and errors out on this lock. |
Another workaround is to rm ${datadir}/index/taxonomy/write.lock before touch'ing web.xml, but that's just ... an ugly workaround. Redeploys are often failing anyway...
|
pmauduit
added a commit
to pmauduit/core-geonetwork
that referenced
this issue
Nov 29, 2015
Somehow related to geonetwork#1158
pmauduit
added a commit
to pmauduit/core-geonetwork
that referenced
this issue
Nov 29, 2015
- DB_CLOSE_DELAY=-1 is a bad idea in our case because it is meant for in-memory databases, which is not our case here ; and it seems to play a negative role when dealing with redeploys - Firing up a SHUTDOWN sql statement before actually closing the db when destroying - Ensure the DiskbackedCache is actually destroyed, so that the DB is shut down and the lock is released across redeploys Related issues: georchestra/georchestra#1120 geonetwork#1158
Looks much nicer with those two commits 👍 |
pmauduit
added a commit
to pmauduit/core-geonetwork
that referenced
this issue
Dec 8, 2015
Somehow related to geonetwork#1158
pmauduit
added a commit
to pmauduit/core-geonetwork
that referenced
this issue
Dec 8, 2015
- DB_CLOSE_DELAY=-1 is a bad idea in our case because it is meant for in-memory databases, which is not our case here ; and it seems to play a negative role when dealing with redeploys - Firing up a SHUTDOWN sql statement before actually closing the db when destroying - Ensure the DiskbackedCache is actually destroyed, so that the DB is shut down and the lock is released across redeploys Related issues: georchestra/georchestra#1120 geonetwork#1158
Fixed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is the truncated stacktrace obtained while redeploying:
The text was updated successfully, but these errors were encountered: