GithubHelp home page GithubHelp logo

Concurrent deploy failures? about payara HOT 11 CLOSED

payara avatar payara commented on June 12, 2024
Concurrent deploy failures?

from payara.

Comments (11)

dmatej avatar dmatej commented on June 12, 2024

Isn't it somehow connected to this?
https://java.net/jira/browse/GLASSFISH-21180
We have to restart domain before/after each redeploy since SGES2, there is also some memory leak in deployment/undeployment - but that is another problem.

And another problem is that from Glassfish4.0 the undeploymens are not completed and redeploy or deploy after undeploy of the same application is unsuccessful. Workaround is to manually delete applications/... directory before deployment.
https://java.net/jira/browse/GLASSFISH-21147

It seems to me that the deploy/undeploy/redeploy actions are very buggy now (in Glassfish4.0, 4.1, trunk, and Payara too). Only first deploy works.

from payara.

smillidge avatar smillidge commented on June 12, 2024

There's a grizzly patch available for https://java.net/jira/browse/GLASSFISH-21180 which is referenced in #53.

We are currently working on some other deployment issues for a specific customer. However I have to admit it took us a while to reproduce the issue as in our test systems we have been continually redeploying applications without problems.

BTW feel free to raise issues on here. If we can reproduce the issue in Payara and then also in upstream GlassFish we will raise a corresponding GlassFish JIRA and crosslink. Similarly if you have a particular GlassFish issue you would like to see addressed feel free to raise an issue here containing a reference to the GlassFish JIRA issue.

from payara.

smillidge avatar smillidge commented on June 12, 2024

@dmatej please feel free to raise memory leaks in deployment as a separate issue as well as GLASSFISH-21147

from payara.

realityforge avatar realityforge commented on June 12, 2024

I have not had time to invest in getting this reproducible but will try to dedicate some time to do it in about 10 days or so. It turns out we are actually experiencing lots of issues with our deploys.

  • We are still hangs as described in GLASSFISH-21175 despite #24 being merge in before the 114 release.
  • We see this crash intermittently, often when restarting a server with multiple applications deployed or when launching from an IDE (Intellij IDEA) with multiple applications deployed.
  • GLASSFISH-21180 we work around in our automation so it is less of an issue for deployment but is an issue with some of our applications.
  • Surprisingly we have never experienced GLASSFISH-21147 despite having ~50 deploys a day but we don't use ear's.

from payara.

smillidge avatar smillidge commented on June 12, 2024

Can you split each issue out into a separate case. Just to note, as we haven't documented our issue labels in any detail yet "try to reproduce" is for us rather then yourself although we will ask for assistance on the ticket. We are currently working a high priority deployment issue for one of our customers where the hidden file .glassfishStaleFiles remains in the deployment directory after undeploy.

We believe this maybe due to timing due to NFS as for this customer the deploy directory is hosted on an NFS mount.

from payara.

smillidge avatar smillidge commented on June 12, 2024

We have committed a specific deployment fix 51f03dc I'd be interested to see if that helps with any of the problems listed in this issue

from payara.

smillidge avatar smillidge commented on June 12, 2024

Also we have a further commit related to GLASSFISH-21175 just gone in so I'd be interested to hear if that has helped as well.

from payara.

smillidge avatar smillidge commented on June 12, 2024

https://java.net/jira/browse/GLASSFISH-21180 should also be fixed in the latest builds

from payara.

realityforge avatar realityforge commented on June 12, 2024

I have used the version for the last day and it seems like GLASSFISH-21175 is fixed. I will continue working with it and see if I can reproduce any of the other concurrency problems. Thanks!

from payara.

realityforge avatar realityforge commented on June 12, 2024

Great work - I can not reproduce most of the concurrency problems after moving to that version of payara. I have however been able to reproduce one exception that only seems to occur during concurrent deploys. It is relatively rare only occurring 2-3 times a day with active development. Obviously it is only when deploying wars with web services inside.

Great work on all the rest - thanks!

https://gist.github.com/realityforge/838b015cc409f62a5e8c

from payara.

smillidge avatar smillidge commented on June 12, 2024

I'm closing this issue and opening a separate issue for the Webservices deployment. Issue #124 raised.

from payara.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.