Effective October 27, 2012, online and email support for FuseSource products will move to Red Hat support channels. For more information, please see the JIRA Migration to Red Hat FAQ.
As of October 27th, please open all new issues in the Red Hat Customer Portal .
Issue Details (XML | Word | Printable)

Key: ECLIPSE-772
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Jakub Korab
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Fuse IDE

IDE launch configuration not starting ESB in debug mode

Created: 29/May/12 01:06 PM   Updated: 19/Sep/12 08:24 AM
Component/s: Container
Affects Version/s: 2.1.0
Fix Version/s: None

Environment: OSX ESB 7.0.0.fuse-061


 Description  « Hide
Setting the KARAF_DEBUG environment variable does not open the default debug port (5005) . To reproduce:
*Register a FuseESBEnterprise-7.0.0 as a server in IDE 2.1.
*Double click to get the server Overview
*Open launch configuration
*Click on the Environment tab
*Add variable KARAF_DEBUG value true
*Append environment to native environment
*Click OK
*Right click on the server and Start

I would expect to see the following as per setting "export KARAF_DEBUG=true" on the command line:
karaf: Enabling Java debug options: -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
Listening for transport dt_socket at address: 5005
Please wait while Fuse ESB is loading...

Port 5005 is closed to telnet



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Susan Javurek added a comment - 01/Jun/12 12:08 PM
BQ:Medium

Luis Valdez added a comment - 05/Jun/12 04:56 PM
Similar to ECLIPSE-773... Adding debug mode for running in Local Camel Context...

Lars Heinemann added a comment - 22/Jun/12 06:57 AM
We are not using the batch scripts for starting/stopping the server - so adding those variable does exactly nothing as we invoke the java main class of the server. To get this working you need to look what is handed over in the java command really to turn on debug and then add that to the launch config.