cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amit Das <amit....@cloudbyte.com>
Subject Re: Remote Debugging of Management Server
Date Wed, 28 Aug 2013 12:58:13 GMT
from installed binaries..

Regards,
Amit
*CloudByte Inc.* <http://www.cloudbyte.com/>


On Wed, Aug 28, 2013 at 5:30 PM, Rajesh Battala
<rajesh.battala@citrix.com>wrote:

> Hi Amit,
>
> Are you using cloudstack build from code or from installed binary?
>
> Thanks
> Rajesh Battala
>
> -----Original Message-----
> From: Amit Das [mailto:amit.das@cloudbyte.com]
> Sent: Wednesday, August 28, 2013 5:08 PM
> To: dev@cloudstack.apache.org
> Subject: Re: Remote Debugging of Management Server
>
> Does CloudStack management service use catalina.sh (to edit/add/remove the
> JVM_OPTS) ?
>
> Note - I am not using devcloud.
>
> Regards,
> Amit
> *CloudByte Inc.* <http://www.cloudbyte.com/>
>
>
> On Wed, Aug 28, 2013 at 4:15 PM, Amit Das <amit.das@cloudbyte.com> wrote:
>
> > Hi Rajesh,
> >
> > I see below VM Flags in the running service (a standalone ACS 4.1.1
> > management server):
> >
> > -Djava.awt.headless=true -Dcom.sun.management.jmxremote.port=45219
> > -Dcom.sun.management.jmxremote.authenticate=false
> > -Dcom.sun.management.jmxremote.ssl=false -Xmx2g
> > -XX:+HeapDumpOnOutOfMemoryError
> > -XX:HeapDumpPath=/var/log/cloudstack/management/ -XX:PermSize=512M
> > -XX:MaxPermSize=800m -Dcatalina.base=/usr/share/cloudstack-management
> > -Dcatalina.home=/usr/share/cloudstack-management -Djava.endorsed.dirs=
> > -Djava.io.tmpdir=/usr/share/cloudstack-management/temp
> > -Djava.util.logging.config.file=/usr/share/cloudstack-management/conf/
> > logging.properties
> > -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
> >
> > Will it be good to add  *-Xdebug -Xrunjdwp:transport=dt_socket,**
> > address=8787,server=y,suspend=**n* along with above while exporting
> > MAVEN_OPTS ?
> >
> > Regards,
> > Amit
> > *CloudByte Inc.* <http://www.cloudbyte.com/>
> >
> >
> > On Wed, Aug 28, 2013 at 3:39 PM, Rajesh Battala
> > <rajesh.battala@citrix.com
> > > wrote:
> >
> >> You need to start the mgmt server in debug mode by adding the below
> >> config to MAVEN_OPTS export MAVEN_OPTS="-XX:MaxPermSize=600m -Xmx512m
> >> -Xdebug
> >> -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"
> >> then it would be listening on 8787, allow 8787 port in the mgmt.
> >> server using iptables.
> >> Then you can use eclipse, java remote debug provide the ip and port
> >> 8787 you can debug the mgmt. server remotely.
> >>
> >> Thanks
> >> Rajesh Battala
> >>
> >>
> >> -----Original Message-----
> >> From: Amit Das [mailto:amit.das@cloudbyte.com]
> >> Sent: Wednesday, August 28, 2013 3:31 PM
> >> To: dev@cloudstack.apache.org
> >> Subject: Remote Debugging of Management Server
> >>
> >> Hi folks,
> >>
> >> What are the steps to be followed for remote debugging the CloudStack
> >> management service from my IDE?
> >>
> >> Regards,
> >> Amit
> >> *CloudByte Inc.* <http://www.cloudbyte.com/>
> >>
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message