Hi Isuru, Few things here.
1) You need to add a server using the Developer studio (You can do this from Dashboard). This server should be an WSO2 AS instance. When you are adding the server, you can specify the AS_HOME directory as the HOME directory of your server. 2) Create your webapp and choose the option debugas->debug on server. Here you can specify the server which you have configured earlier (WSO2 AS) and then choose your web application to deploy in to the server. This will start the server in debug mode and your application should be deployed. Now you should be able to debug your web application. Hope this helps. Thanks, Chanaka On Thu, May 22, 2014 at 7:40 AM, Isuru Perera <[email protected]> wrote: > okay guys, I know how to do remote debugging. That's what I have been > doing so far. > > I'm just asking about "How to debug by running the WSO2 Application Server > *within* Eclipse"! For example, it's very easy to do debug by adding the > project to an Apache Tomcat server inside Eclipse. I have done that many > times before. How to do the same with WSO2 AS? > > > On Wed, May 21, 2014 at 5:44 PM, Supun Malinga <[email protected]> wrote: > >> Yeah. You can simply do a remote debug. >> >> thanks, >> >> >> On Wed, May 21, 2014 at 4:59 PM, Danushka Fernando <[email protected]>wrote: >> >>> Just start the server as ./wso2server.sh - debug 5005 and attach eclipse >>> to the process. That's what I normally do. >>> On May 22, 2014 2:19 AM, "Isuru Perera" <[email protected]> wrote: >>> >>>> No CAR files involved. As I mentioned below, it's just a simple webapp >>>> created using Maven webapp archetype. >>>> >>>> >>>> On Wed, May 21, 2014 at 1:35 PM, Viraj Rajaguru <[email protected]> wrote: >>>> >>>>> Hi Isuru, >>>>> >>>>> I think you are trying to deploy web application using a CAR file. How >>>>> did you create your web application ? (using dashboard or New project >>>>> wizard). Were you able to include this web application in pom.xml in the >>>>> CAR file before deploy it? >>>>> >>>>> Thanks, >>>>> Viraj. >>>>> >>>>> >>>>> On Thu, May 22, 2014 at 1:32 AM, Isuru Perera <[email protected]> wrote: >>>>> >>>>>> No errors. The webapp is not getting deployed when I start the WSO2 >>>>>> Application Server from Eclipse (WSO2 Developer Studio). I can see the >>>>>> webapp listed under the servers. >>>>>> >>>>>> Is there any doc on this? >>>>>> >>>>>> I only found this: >>>>>> https://docs.wso2.org/display/DVS360/Deploying+and+Debugging >>>>>> >>>>>> >>>>>> On Wed, May 21, 2014 at 11:19 AM, Danushka Fernando < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> Hi Isuru >>>>>>> I have done this before. If web app doesn't get deployed in debug >>>>>>> mode its a separate issue. What is the error you are having? >>>>>>> On May 21, 2014 11:17 PM, "Isuru Perera" <[email protected]> wrote: >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> How do I do $subject? >>>>>>>> >>>>>>>> I have a simple webapp created using Maven [1]. >>>>>>>> >>>>>>>> Looks like the application is not deployed to WSO2 Application >>>>>>>> Server when I try to debug via WSO2 Developer Studio 3.6.0. >>>>>>>> >>>>>>>> Has anyone done this? >>>>>>>> >>>>>>>> [1] http://maven.apache.org/guides/mini/guide-webapp.html >>>>>>>> >>>>>>>> -- >>>>>>>> Isuru Perera >>>>>>>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/n >>>>>>>> Lean . Enterprise . Middleware >>>>>>>> >>>>>>>> about.me/chrishantha >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Dev mailing list >>>>>>>> [email protected] >>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>>>> >>>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Isuru Perera >>>>>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/ >>>>>> Lean . Enterprise . Middleware >>>>>> >>>>>> about.me/chrishantha >>>>>> >>>>>> _______________________________________________ >>>>>> Dev mailing list >>>>>> [email protected] >>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Viraj Rajaguru >>>>> Software Engineer >>>>> WSO2 Inc. : http://wso2.com >>>>> >>>>> Mobile: +94 77 3683068 >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> Isuru Perera >>>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/ >>>> Lean . Enterprise . Middleware >>>> >>>> about.me/chrishantha >>>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Supun Malinga, >> >> Senior Software Engineer, >> WSO2 Inc. >> http://wso2.com >> email: [email protected] <[email protected]> >> mobile: +94 (0)71 56 91 321 >> > > > > -- > Isuru Perera > Senior Software Engineer | WSO2, Inc. | http://wso2.com/ > Lean . Enterprise . Middleware > > about.me/chrishantha > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- -- Chanaka Fernando Technical Lead WSO2, Inc.; http://wso2.com lean.enterprise.middleware mobile: +94 773337238 Blog : http://soatutorials.blogspot.com LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0 Twitter:https://twitter.com/chanakaudaya Wordpress:http://chanakaudaya.wordpress.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
