2021年4月7日星期三

4848 already in use when upgrading actions/setup-java to v2 in Github actions

The problem is similar to Glassfish There is a process already using the admin port 4848, but my case is on Github actions.

I followed the migrate guide, after upgrading to v2, all my workflow using Glassfish failed due to an error 4848 port is already in use,

https://github.com/hantsy/jakartaee9-starter-boilerplate/blob/b3e51fcd857768c05e6104ea940f0ecd283c4698/.github/workflows/it-with-arq-glassfish-managed.yml#L22

But switch back to v1, work again.

https://github.com/hantsy/jakartaee9-starter-boilerplate/blob/master/.github/workflows/it-with-arq-glassfish-managed.yml#L22

Not sure why in @actions/setup-java@v2 4848 is used by some process.

https://stackoverflow.com/questions/66997213/4848-already-in-use-when-upgrading-actions-setup-java-to-v2-in-github-actions April 08, 2021 at 12:07PM

没有评论:

发表评论