IceBoxServer Java JVM Remote Debug

janosjanos GermanyJanos VeresOrganization: feat.Me Networks, Inc.Project: An offline social interaction platform.Member

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

Best Answer

  • xdmxdm La Coruña, SpainJose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Accepted Answer

    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

Answers

  • xdmxdm La Coruña, SpainJose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice DeveloperAdministrators, ZeroC Staff ZeroC Staff
    Accepted Answer

    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

  • janosjanos GermanyJanos VeresOrganization: feat.Me Networks, Inc.Project: An offline social interaction platform.Member

    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. :smile: :neutral:

    Thanks for the help!

    Best,
    Janos

Sign In or Register to comment.