Decompile is a feature FusionReactor provides when running with Java 1.7 or newer. Only Manager and Admin users have the ability to use decompile. It is important to state that decompile is not available over the J2EE channel (External Web Port).
In case you are using ColdFusion 9 server and you want to decompile ColdFusion classes, then you need to make sure that the "Save Class File" option in the ColdFusion administrator page is enabled.
In order to make sure this option is enabled, please follow the steps below.
- Login to the ColdFusion Admin.
- Under Server Settings go to Caching.
- Locate the Save Class File option and check is the option is enabled.
- If the option is not enable, please click the small square in front of the Save Class File option.
- Click the "Submit Changes" button.
In order for the new Submitted changes to be successful and take action, please restart your server.
After the restart of the server, you will be able to access the configured Breakpoint on the Production Debugger and decompile ColdFusion classes.
Below, there is an example that is going to guide you through the whole process of the Decompile configuration in a ColdFusion 9 server.
It's important to state, that firstly you need to configure a new Breakpoint inside the Production Debugger. More information about the configuration of the Breakpoint can be found here: [intergral.atlassian.net/wiki/display/FR61/Breakpoints]
I have already configured that step. See screenshot below.
- I have executed the sleep.cfm file and the configured Breakpoint in the Production Debugger was triggered.
- Press the Debug icon and a new page is going to appear.
- Go to the ColdFusion classes and try to decompile the first.
- By pressing the first ColdFusion class, you will see at the top right corner of your screen a red message stating that you are not able to load bytes of the class.
- Access the ColdFusion Admin page.
- Go to Server Settings > Caching.
- Click/enable the Save Class File option.
- Restart the server.
Because the Save Class File option is now enabled in your ColdFusion server, when you press the first ColdFusion class you will see that the decompile works as expected and is ready for use. See screenshot below.
|Last Updated:||03/Aug/16 10:07 AM|