Archived
IceBoxServer Java JVM Remote Debug
Hi,
I am trying to start the IceBox java server from an IceGrid with the agentlib command line jam arguments to enable remote debuggers to attach to it. The arguments are directly passed into the IceBoxServer instance and not to the jvm. I am fairly sure that the arguments are placed properly. Is this concept at all viable or is there another way to remotely debug IceBox services?
Thanks in advance!
Best,
János
Comments
-
You should be able to pass to argument to the JVM use the option element of the IceBox descriptor element
https://doc.zeroc.com/display/Ice36/IceBox+Descriptor+Element
Or you can edit the descriptor from the IceGrid GUI and change the command arguments
0 -
Hi,
yes that's exactly what I thought I did. I didn't realize that the parameter was after the
IceBox.Server
, hence the error message:Server: unknown option
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=6005'
Usage: IceBox.Server [options] --Ice.Config=`As soon as I moved the jvm parameter to the front, it works again.. Sorry, probably the effect of a long day.
Thanks for the help!
Best,
Janos0