Notifications
Clear all

[Solved] How do I start an installer build's server in debug mode?

6 Posts
5 Users
0 Reactions
6,620 Views
0
[#1476]
Topic starter

How do I start an installer build's server in debug mode?


2019-12-27 06:12:00

Note: this is allows you to attach a debugger. It does not enable loglevel debug


2 Answers
0

You have to update wrapper to add the debug parameter.

one-plt-***** /third-party/jboss/jboss-4.2.3.GA/windows-service/wrapper.conf

Parameter to add:

wrapper.java.additional.17=-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n

The number 17 should be updated to follow other wrapper properties. For example, if there are 18 properties with wrapper.java.additional prefix, then update the mentioned property to use wrapper.java.additional.19.

After adding the parameter, restart the server.


Topic starter
2014-07-30 15:07:00

Is this windows-service/wrapper.conf file used on linux machines as well?


2014-07-30 15:07:00

It is. The "windows-service" portion of the path is deceptive.


Topic starter
2014-07-30 15:07:00

That worked great, thanks!


0

For Tomcat server path is - /one/PLT/plt_latest/tomcat/services/wrapper.conf