You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by Abhinav Mishra <ab...@ge.com> on 2013/03/14 14:46:36 UTC
Remote Debugging of Karaf
Can anyone please share the steps/configuration required for remote debugging
of Karaf Server.
Thanks & Regards,
Abhinav
--
View this message in context: http://karaf.922171.n3.nabble.com/Remote-Debugging-of-Karaf-tp4028192.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.
Re: Remote Debugging of Karaf
Posted by Guillaume Nodet <gn...@gmail.com>.
You launch karaf using "bin/karaf debug" and then connect with your IDE on
port 5005
On Thu, Mar 14, 2013 at 2:46 PM, Abhinav Mishra <ab...@ge.com>wrote:
> Can anyone please share the steps/configuration required for remote
> debugging
> of Karaf Server.
>
> Thanks & Regards,
> Abhinav
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Remote-Debugging-of-Karaf-tp4028192.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>
--
------------------------
Guillaume Nodet
------------------------
Red Hat, Open Source Integration
Email: gnodet@redhat.com
Web: http://fusesource.com
Blog: http://gnodet.blogspot.com/
Re: Remote Debugging of Karaf
Posted by Christoph Gritschenberger <ch...@gmail.com>.
It is configured in the startup-script,
DEFAULT_JAVA_DEBUG_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005"
You an override these by setting the JAVA_DEBUG_OPTS-environment variable
regards,
christoph
On 2013-03-17 05:32, Abhinav Mishra wrote:
> Thanks a ton for response .....
>
> Which configuration file have this port - 5005 configured ?
>
> Thanks,
> Abhinav
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Remote-Debugging-of-Karaf-tp4028192p4028230.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>
Re: Remote Debugging of Karaf
Posted by Abhinav Mishra <ab...@ge.com>.
Thanks a ton for response .....
Which configuration file have this port - 5005 configured ?
Thanks,
Abhinav
--
View this message in context: http://karaf.922171.n3.nabble.com/Remote-Debugging-of-Karaf-tp4028192p4028230.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.
Re: Remote Debugging of Karaf
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
You can also define KARAF_DEBUG environment variable, and start Karaf:
export KARAF_DEBUG=true
bin/karaf
you can connect your IDE on 5005.
Regards
JB
On 03/14/2013 02:46 PM, Abhinav Mishra wrote:
> Can anyone please share the steps/configuration required for remote debugging
> of Karaf Server.
>
> Thanks & Regards,
> Abhinav
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Remote-Debugging-of-Karaf-tp4028192.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com