debug the web module in the maven project

View: New views
5 Messages — Rating Filter:   Alert me  

debug the web module in the maven project

by maven apache :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

Re: debug the web module in the maven project

by maven apache :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/11/3 maven apache <apachemaven0@...>

> 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>?

Re: debug the web module in the maven project

by bimargulies :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

mvnDebug

On Tue, Nov 3, 2009 at 7:19 AM, maven apache <apachemaven0@...> wrote:

> 2009/11/3 maven apache <apachemaven0@...>
>
> > 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>?
>

Re: debug the web module in the maven project

by maven apache :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/11/3 Benson Margulies <bimargulies@...>

> 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 <apachemaven0@...> wrote:

>
> > 2009/11/3 maven apache <apachemaven0@...>
> >
> > > 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>?
> >
>

Re: debug the web module in the maven project

by bimargulies :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <apachemaven0@...> wrote:

> 2009/11/3 Benson Margulies <bimargulies@...>
>
> > 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 <apachemaven0@...>
> wrote:
> >
> > > 2009/11/3 maven apache <apachemaven0@...>
> > >
> > > > 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>?
> > >
> >
>