redhat-developer / vscode-server-connector

📦 VS Code extension to run JBoss EAP servers and Runtimes
Eclipse Public License 2.0
57 stars 26 forks source link

Deployment disappears upon restarting vscode #362

Closed adietish closed 5 years ago

adietish commented 5 years ago

Steps:

  1. ASSERT: have a server (ex. wildfly 16)
  2. EXEC: add a deployment to it (ex. wildfly quickstarts/kitchensink, exploded war in target/kitchensink)
  3. ASSERT: deployment is listed as child node to your server in "Servers" view
  4. ASSERT: wait for it to get published (Autopublisher)
  5. EXEC: quit and restart vscode

Result: Deployment is not listed any more, there's no child node to your server any more. Nevertheless if one restarts the server (it was terminated when vscode was quit) and then looks at the server log, one can still see it being deployed to the server

redking00 commented 5 years ago

Result: For me, there is no server any more on treeview. I can fixit removing deployment from server configuration on $home/.org.jboss.tools.rsp.data Server is now on treeview but obviously deployment has gone.

I have the impression that what is wrong is related to deployment options. May be is a rsp-server bug?

robstryker commented 5 years ago

Can someone here contribute a server data file that is not being read properly? If you can share the contents of a wf17 data file that lives in ~/.org.jboss.tools.rsp.server/servers etc then I can try to replicate?

redking00 commented 5 years ago

You can replicate the issue by creating a named exploded deployment, it is not specific to wf17. I'll send you an example tomorrow.

redking00 commented 5 years ago

Forgot to say my system is win10

redking00 commented 5 years ago

Opened an issue and pull request on rsp-server

lstocchi commented 5 years ago

Can this be closed? @robstryker https://github.com/redhat-developer/rsp-server/issues/406

robstryker commented 5 years ago

I believe it's fixed. QE please verify.