debug the web module in the maven project

5 messages Options
Embed this post
Permalink
kkk

debug the web module in the maven project

Reply Threaded More More options
Print post
Permalink
Hi:
I have been confused by this problem for a long time.
I am using the "eclipse-jee-ganymede-SR2-win32",generally when I create a
new dynamic web project I can debug it within the eclipse IDE,just right
click the project-- Run as--run on server,then the tomcat will startup, I
can add breakpoint to debug.
And now use maven to manager the project,it contain several modules include
the web module which is to be deployed. So how debug this web module use the
above manner?
I have tried everything and got nothing in the search engine,so I have to
post this thread.
Looking forward some advise.
Thanks.
kkk

Re: debug the web module in the maven project

Reply Threaded More More options
Print post
Permalink
2009/11/3 maven apache <[hidden email]>

> Hi:
> I have been confused by this problem for a long time.
> I am using the "eclipse-jee-ganymede-SR2-win32",generally when I create a
> new dynamic web project I can debug it within the eclipse IDE,just right
> click the project-- Run as--run on server,then the tomcat will startup, I
> can add breakpoint to debug.
> And now use maven to manager the project,it contain several modules include
> the web module which is to be deployed. So how debug this web module use the
> above manner?
> I have tried everything and got nothing in the search engine,so I have to
> post this thread.
> Looking forward some advise.
> Thanks.
>
Urgent ,nobody at line>?
Benson Margulies

Re: debug the web module in the maven project

Reply Threaded More More options
Print post
Permalink
mvnDebug

On Tue, Nov 3, 2009 at 7:19 AM, maven apache <[hidden email]> wrote:

> 2009/11/3 maven apache <[hidden email]>
>
> > Hi:
> > I have been confused by this problem for a long time.
> > I am using the "eclipse-jee-ganymede-SR2-win32",generally when I create a
> > new dynamic web project I can debug it within the eclipse IDE,just right
> > click the project-- Run as--run on server,then the tomcat will startup, I
> > can add breakpoint to debug.
> > And now use maven to manager the project,it contain several modules
> include
> > the web module which is to be deployed. So how debug this web module use
> the
> > above manner?
> > I have tried everything and got nothing in the search engine,so I have to
> > post this thread.
> > Looking forward some advise.
> > Thanks.
> >
> Urgent ,nobody at line>?
>
kkk

Re: debug the web module in the maven project

Reply Threaded More More options
Print post
Permalink
2009/11/3 Benson Margulies <[hidden email]>

> mvnDebug
>
>

Preparing to Execute Maven in Debug Mode
Listening for transport dt_socket at address: 8000



I enter the url: http://localhost:8000/mywebapp
I got
Debugger failed to attach: handshake failed - received >GET /wps/ HTTP< -
excepted >JDWP-Handshake<
...

On Tue, Nov 3, 2009 at 7:19 AM, maven apache <[hidden email]> wrote:

>
> > 2009/11/3 maven apache <[hidden email]>
> >
> > > Hi:
> > > I have been confused by this problem for a long time.
> > > I am using the "eclipse-jee-ganymede-SR2-win32",generally when I create
> a
> > > new dynamic web project I can debug it within the eclipse IDE,just
> right
> > > click the project-- Run as--run on server,then the tomcat will startup,
> I
> > > can add breakpoint to debug.
> > > And now use maven to manager the project,it contain several modules
> > include
> > > the web module which is to be deployed. So how debug this web module
> use
> > the
> > > above manner?
> > > I have tried everything and got nothing in the search engine,so I have
> to
> > > post this thread.
> > > Looking forward some advise.
> > > Thanks.
> > >
> > Urgent ,nobody at line>?
> >
>
Benson Margulies

Re: debug the web module in the maven project

Reply Threaded More More options
Print post
Permalink
You don't make a URL out of that, you use it as options to your Java
debugger. In Eclipse, you create a remote application debug configuration
and fill in the port #.


On Fri, Nov 6, 2009 at 1:37 AM, maven apache <[hidden email]> wrote:

> 2009/11/3 Benson Margulies <[hidden email]>
>
> > mvnDebug
> >
> >
>
> Preparing to Execute Maven in Debug Mode
> Listening for transport dt_socket at address: 8000
>
>
>
> I enter the url: http://localhost:8000/mywebapp
> I got
> Debugger failed to attach: handshake failed - received >GET /wps/ HTTP< -
> excepted >JDWP-Handshake<
> ...
>
> On Tue, Nov 3, 2009 at 7:19 AM, maven apache <[hidden email]>
> wrote:
> >
> > > 2009/11/3 maven apache <[hidden email]>
> > >
> > > > Hi:
> > > > I have been confused by this problem for a long time.
> > > > I am using the "eclipse-jee-ganymede-SR2-win32",generally when I
> create
> > a
> > > > new dynamic web project I can debug it within the eclipse IDE,just
> > right
> > > > click the project-- Run as--run on server,then the tomcat will
> startup,
> > I
> > > > can add breakpoint to debug.
> > > > And now use maven to manager the project,it contain several modules
> > > include
> > > > the web module which is to be deployed. So how debug this web module
> > use
> > > the
> > > > above manner?
> > > > I have tried everything and got nothing in the search engine,so I
> have
> > to
> > > > post this thread.
> > > > Looking forward some advise.
> > > > Thanks.
> > > >
> > > Urgent ,nobody at line>?
> > >
> >
>