redhat-developer / vscode-server-connector

📦 Connects Visual Studio Code to your server adapters and run, deploy apps !!
Eclipse Public License 2.0
57 stars 26 forks source link

Connector for Jboss AS 4.2 #428

Closed Swe77 closed 4 years ago

Swe77 commented 4 years ago

Hi!

Can you provide a connector for Jboss AS 4.2 please?

Swe77

RogerioPST commented 4 years ago

This will save me. I would like it too, please. Tks

robstryker commented 4 years ago

We already have one. It's available in this extension. But there is an issue with using jboss 4.2, specifically, you need to set the appropriate java vm because JBoss 4.2 does not work with java 8. And I just ran through and discovered that there's some bugs when trying to set the alternate VM. I'll try to push out a change ASAP.

But until then, here's the workflow just so you're aware of it.

So you need to right-click the rsp provider in the view / activity tab, and then click create new server... and then 'No I'll use the one on disk" and browse to it. After selecting the server home, it will ask for a name (you can provide anything, My JBoss 4.2 for example) and then it will ask if you want to override the optional settings. You should click 'yes' here.

The first question should be for you to select a java home. You paste or type it in. The rest of the questions you can ignore.

The other option is to use the download-server feature, select 4.2, and wait for it to complete. When complete, you will need to right-click the server and edit it, and add the following line to your server file: "vm.install.path": "/path/to/your/jdk1.5.0_22/",

I'll work to get these bugs fixed.

Swe77 commented 4 years ago

We already have one. It's available in this extension. But there is an issue with using jboss 4.2, specifically, you need to set the appropriate java vm because JBoss 4.2 does not work with java 8. And I just ran through and discovered that there's some bugs when trying to set the alternate VM. I'll try to push out a change ASAP.

But until then, here's the workflow just so you're aware of it.

So you need to right-click the rsp provider in the view / activity tab, and then click create new server... and then 'No I'll use the one on disk" and browse to it. After selecting the server home, it will ask for a name (you can provide anything, My JBoss 4.2 for example) and then it will ask if you want to override the optional settings. You should click 'yes' here.

The first question should be for you to select a java home. You paste or type it in. The rest of the questions you can ignore.

The other option is to use the download-server feature, select 4.2, and wait for it to complete. When complete, you will need to right-click the server and edit it, and add the following line to your server file: "vm.install.path": "/path/to/your/jdk1.5.0_22/",

I'll work to get these bugs fixed.

Thank you, it will help me on the transition from eclipse to vsc!

Great job!

robstryker commented 4 years ago

Just curious, but, why are you still using an 11 year old runtime? There's been lots of improvements since 2008 ;)

Swe77 commented 4 years ago

Just curious, but, why are you still using an 11 year old runtime? There's been lots of improvements since 2008 ;)

Its a tight coupled system, it turns out migration a quite challenging task.

robstryker commented 4 years ago

best of luck ;)

Swe77 commented 4 years ago

best of luck ;)

Thanks!

robstryker commented 4 years ago

Fixed and released. Re-open if anything doesn't work as expected.

Swe77 commented 4 years ago

Fixed and released. Re-open if anything doesn't work as expected.

Great! Thank you very much!