hi guys , thanks a lot for the info , you guys are right , now i'm using #*3.host only mode *in devcloud2 , and i'm able to debug the MS from eclipse seamlessly in my localhost. and mike if you have such problems then you can try *full sandbox mode *in devcloud2 and connect to it remotely from eclipse by giving the ip of the MS (192.168.56.10) , but again it's pretty uncomfortable having everything inside devcloud but anyway its good to try new ways if things work , like how i switched from fullsandbox to host only mode. thanks again
regards, punith s cloudbyte On Fri, Sep 13, 2013 at 5:03 AM, Mike Tutkowski < [email protected]> wrote: > Here is a relevant link: > > https://cwiki.apache.org/CLOUDSTACK/using-eclipse-with-cloudstack.html > > The part at the bottom: > > Remote Debugging > > You can use Eclipse to attach to the Management Server and debug > CloudStack. You setup a Remote Debug Session (Run > Debug Configuration), > connect to Port 8787. Typically you would use the project you want to debug > as the target and include other projects that you need to debug, e.g. > cloud-agent, cloud-api, cloud-core and cloud-server. > > ********** > > Currently I am having trouble in 4.3 with remote debugging. I'm not sure > why. > > I have my Remote Java Application configured and running. It connects to > the CloudStack Management Server. > > I set a breakpoint and execute some logic on the front end that should hit > this breakpoint on the back end, but it doesn't break. > > > > On Thu, Sep 12, 2013 at 12:41 PM, Mike Tutkowski < > [email protected]> wrote: > > > I should have been a bit more specific. > > > > Once you do what I wrote in my previous e-mail, then run your management > > server. > > > > Then run your Remote Java Application and set breakpoints. > > > > > > On Thu, Sep 12, 2013 at 12:27 PM, Mike Tutkowski < > > [email protected]> wrote: > > > >> If you want to debug remotely, run the CloudStack Management Server with > >> an environment variable such as the following: > >> > >> MAVEN_OPTS=-XX:MaxPermSize=512m -Xmx1024m -Xdebug > >> -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n > >> > >> Then in Eclipse, go to Debug Configurations and create a new Remote Java > >> Application. > >> > >> Browse and select cloud-server for the Project field. > >> > >> Enter you IP address for the Host field. > >> > >> Assuming you used 8787 in MAVEN_OPTS, use 8787 for the Port field. > >> > >> You may now run your management server and set breakpoints as need be. > >> > >> > >> On Thu, Sep 12, 2013 at 12:19 PM, Mike Tutkowski < > >> [email protected]> wrote: > >> > >>> I prefer #3, as well. > >>> > >>> > >>> On Thu, Sep 12, 2013 at 10:09 AM, Chiradeep Vittal < > >>> [email protected]> wrote: > >>> > >>>> #3 works best, I think > >>>> > >>>> On 9/12/13 2:19 AM, "Punith s" <[email protected]> wrote: > >>>> > >>>> >hi folks, > >>>> > > >>>> >i'm using Devcloud2 to build cloudstack 4.2 , currently i'm using > *full > >>>> >sandbox mode* , > >>>> > > >>>> >devcloud allows following modes , > >>>> >*1.full sandbox mode - *build and deploy inside devcloud > >>>> >*2.deployment mode - *build code in localhost and deploying in > devcloud > >>>> >*3.host only mode - *using devcloud only as host > >>>> > > >>>> > > >>>> >which mode do you think its feasible for development and interactive > >>>> >debugging ? > >>>> >can you elaborate more on setting up remote debugging in Devcloud2 > >>>> >(fullsandbox mode) using eclipse ?? > >>>> > > >>>> >thanks, > >>>> >punith s > >>>> > >>>> > >>> > >>> > >>> -- > >>> *Mike Tutkowski* > >>> *Senior CloudStack Developer, SolidFire Inc.* > >>> e: [email protected] > >>> o: 303.746.7302 > >>> Advancing the way the world uses the cloud< > http://solidfire.com/solution/overview/?video=play> > >>> *™* > >>> > >> > >> > >> > >> -- > >> *Mike Tutkowski* > >> *Senior CloudStack Developer, SolidFire Inc.* > >> e: [email protected] > >> o: 303.746.7302 > >> Advancing the way the world uses the cloud< > http://solidfire.com/solution/overview/?video=play> > >> *™* > >> > > > > > > > > -- > > *Mike Tutkowski* > > *Senior CloudStack Developer, SolidFire Inc.* > > e: [email protected] > > o: 303.746.7302 > > Advancing the way the world uses the cloud< > http://solidfire.com/solution/overview/?video=play> > > *™* > > > > > > -- > *Mike Tutkowski* > *Senior CloudStack Developer, SolidFire Inc.* > e: [email protected] > o: 303.746.7302 > Advancing the way the world uses the > cloud<http://solidfire.com/solution/overview/?video=play> > *™* >
