在Eclipse中调试FuseESB应用程序 [英] Debugging FuseESB application in Eclipse

查看:253
本文介绍了在Eclipse中调试FuseESB应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

保险丝ESB使用带有OSGi的karaf服务器。

Fuse ESB uses karaf server with OSGi.

代码,如果有人有步骤获取调试器的应用程序,它将有助于。

for the code if anybody has steps to get the debugger for the application it will help.

我目前正在使用Eclipse Indigo。
由于使用OSGi,我们使用Maven构建相同的。

I am currently using Eclipse Indigo. As OSGi is used we are using Maven to build the same.

哪个插件可以帮助用于OSGi的Karaf

Which plugin will help for Karaf with OSGi

推荐答案

Java允许您远程调试任何JVM运行。

Java allows you to remote debug any JVM running.

所以如果你用调试参数启动ESB,那么它将在调试模式下运行,侦听端口5005.

So if you start the ESB with a debug argument, then it will run in debug mode listening on port 5005.

davsclaus:/opt/fuse-esb-7.0.1.fuse-084$ bin/fuseesb debug
Listening for transport dt_socket at address: 5005

然后,您可以使用该端口号从Eclipse进行远程调试。这是标准的Java远程调试,Eclipse已经有一个向导。它的调试向导具有远程调试功能。

Then you can do remote debugging from Eclipse using that port number. This is standard Java remote debugging, and Eclipse has a wizard for that already. Its the debug wizard which has a remote debug functionality.

这篇关于在Eclipse中调试FuseESB应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆