Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Setting RTC 7.x extensibilty, failed to connect to remote VM when Launching Debug Liberty Profile

 

I am following instructions of the file named as 

The document is very detailed and very clear. But I got the message as shown in the picture below when trying to Debugg 
 

0 votes


Accepted answer

Permanent link
The document states to configure the server.startup file and then to start the server using server.startup -debug.
If you stopped and restarted the server without the parameter -debug, the debug port would not be listened too and the error message will likely the one above. Note, to see the image I had to edit the original question.

I will add the following to the workshop:

If the Eclipse debugger can not connect to the Java VM, make sure the server was started using server.startup -debug. If in doubt stop and restart the server with this parameter.

Ralph Schoon selected this answer as the correct answer

0 votes


One other answer

Permanent link

Hi.

The server was running with the -debug option, (i write a .bat file that include the -debug option, so i am sure), 
and the server.startup.bat file was modified according to instructions in the document.
 

0 votes

Comments

I changed the user to one different of ADMIN-ADMIN. I change it also in  workshopsetup.bat and login succesfully with my user/password to the jazz server

Do you think the change in user can be the problem?
May be they need to be declared as admin in the jazz server?
 

You only use ADMIN/ADMIN once. Afterwards you use always myadmin when connecting to that server.

You are not supposed to touch the workshopSetup.bat, except if you need to fix a JRE or a path.

The connection to the port has nothing to do with what is in the server. It can fail, if was already taken, otherwise I don't know. There is no information about the environment. Regardless, it is not absolutely necessary to be able to perform that step. To do the workshop. The only hint I can give is, check the server.startup, check the Eclipse launch if the port maps. Shutdown all server, try to startup the one with -debug and monitor the console.

I have tested this with 6.0.6.1 and 7.0.1 and 7.0.2 I would expect this to work with all RTC versions that are shipped with the liberty profile as default application server.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: May 15 '21, 9:45 p.m.

Question was seen: 1,552 times

Last updated: May 17 '21, 8:29 a.m.

Confirmation Cancel Confirm