You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Baburaj KR <ba...@stabilix.com> on 2017/03/01 17:25:47 UTC

Debugging james 3.0 in eclipse

Hi team,

 

Can anybody help me in debugging james 3.0 mail server in eclipse. 

 

Thanks and regards,

Babu Raj K.R


RE: Debugging james 3.0 in eclipse

Posted by Baburaj KR <ba...@stabilix.com>.
That is excellent, working fine..

Thank you Pablo..

Thanks and regards,
Babu Raj K.R

-----Original Message-----
From: pablo pita leira [mailto:pablo.pita@pitagoral.com] 
Sent: Thursday, March 2, 2017 2:44 AM
To: server-dev@james.apache.org
Subject: Re: Debugging james 3.0 in eclipse

Hi,

I would suggest you try to connect Eclipse to a running instance of James,
that is, to do remote  debugging.

For that you need to modify the conf/wrapper.conf file:

wrapper.java.additional.16=-agentlib:jdwp=transport=dt_socket,address=9988,s
erver=y,suspend=n
wrapper.java.additional.15=-Xdebug

Then, you can do

bin/james start

In Eclipse, you need to create a remote debug configuration: Run / Debug
Configurations . There, click on Remote Java Application. Create one as
James Remote, the port 9988, and the host you use for James.

You can connect to the james server, set a breakpoint, and step over.

Pablo

El 01/03/17 a las 18:25, Baburaj KR escribió:
> Hi team,
>
>   
>
> Can anybody help me in debugging james 3.0 mail server in eclipse.
>
>   
>
> Thanks and regards,
>
> Babu Raj K.R
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: Debugging james 3.0 in eclipse

Posted by pablo pita leira <pa...@pitagoral.com>.
Hi,

I would suggest you try to connect Eclipse to a running instance of 
James, that is, to do remote  debugging.

For that you need to modify the conf/wrapper.conf file:

wrapper.java.additional.16=-agentlib:jdwp=transport=dt_socket,address=9988,server=y,suspend=n
wrapper.java.additional.15=-Xdebug

Then, you can do

bin/james start

In Eclipse, you need to create a remote debug configuration: Run / Debug 
Configurations . There, click on Remote Java Application. Create one as 
James Remote, the port 9988, and the host you use for James.

You can connect to the james server, set a breakpoint, and step over.

Pablo

El 01/03/17 a las 18:25, Baburaj KR escribi:
> Hi team,
>
>   
>
> Can anybody help me in debugging james 3.0 mail server in eclipse.
>
>   
>
> Thanks and regards,
>
> Babu Raj K.R
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org