Tomcat: Page 4

[frs-105] I manually installed FusionReactor using the built in web server on Port 8088 & everything seemed to work. I updated some settings in the interface, followed by a CF restart. All I see now is the License Expired screen. Is my license file old?


If you have done a manual installation of FusionReactor check the following details;

(1) FusionReactor resp. the CF server can write to the Windows Registry. To install the license information it needs access to

[HKEY_LOCAL_MACHINESOFTWAREJavaSoftPrefs]

(2) you also try a different web browser to upload the license file. We have seen Firefox occasionally not sending the binary data of the license file properly – this never happened with IE.

(3) the directory FusionReactor is installed to has read/write access for the server it has been deployed to.

Note: It could be necessary to delete the license value from the registry if the error does not go away. For this stop the CF server and then delete

[HKEY_LOCAL_MACHINESOFTWAREJavaSoftPrefscomintergralfusionreactor]

from the registry. Restart the server and upload the license file again. The license information in the registry will then be recreated.

Instead of uploading the license file, try putting it directly in the license directory:

C:FusionReactorlicenselicense.lic

Once you restart the server FusionReactor will detect the license file and install it to the registry as noted above.

Issue Details

Type: Technote
Issue Number: FRS-105
Components: Installer
Environment:
Resolution: Fixed
Last Updated: 14/Jan/08 3:14 PM
Affects Version: 2.0, 2.0.3, 2.0.4
Fixed Version:
Server: ColdFusion 6, ColdFusion 7, ColdFusion 8, Flex Data Services, JBoss, JRun 4, LiveCycle Data Services, Tomcat, WebSphere, WebLogic
Platform: Windows XP, Windows 2000, Windows 2003
Related Issues:

FRS-44: Why has my FusionReactor (trial) license expired unexpectedly?

FRS-54: Running FusionReactor on a server that runs under a non administrative user account

FRS-103: need to run CFMX7 under a different domain account allowing CFMX to have network access rights. However, as soon as I give CFMX this user account to run under, everything breaks with Fusion Reactor?

[frs-103] need to run CFMX7 under a different domain account allowing CFMX to have network access rights. However, as soon as I give CFMX this user account to run under, everything breaks with Fusion Reactor?


If you run the CFMX server under a different account you have to make sure that this account has sufficient privileges to read and write to the FusionReactor directory (e.g. C:FusionReactor) and to the registry folder [HKEY_LOCAL_MACHINESOFTWAREJavaSoftPrefscomintergralfusionreactorlicenseenterprise].

Issue Details

Type: Technote
Issue Number: FRS-103
Components: Installer
Environment:
Resolution: Fixed
Last Updated: 14/Jan/08 3:14 PM
Affects Version: 1.0, 2.0, 2.0.3
Fixed Version: 1.0, 2.0, 2.0.3
Server: ColdFusion 6, ColdFusion 7, ColdFusion 8, Flex Data Services, JBoss, JRun 4, LiveCycle Data Services, Tomcat, WebSphere, WebLogic
Platform: Windows XP, Windows 2000, Windows 2003, Linux, Solaris
Related Issues:

FRS-105: I manually installed FusionReactor using the built in web server on Port 8088 & everything seemed to work. I updated some settings in the interface, followed by a CF restart. All I see now is the License Expired screen. Is my license file old?

FRS-44: Why has my FusionReactor (trial) license expired unexpectedly?

FRS-54: Running FusionReactor on a server that runs under a non administrative user account

[frs-179] Can’t generate stack traces under Windows (2000, 2003, XP, Vista), Java 1.4


Problem

On Windows platforms using CF7 or other Java 1.4 VM, attempting to view a thread stack trace produces one of the following error messages:

  • Thread not found or already finished.
  • FusionReactor was unable to show you the stack trace but an attempt has been made to send the stack trace to the console or your runtime log file. Please check there.
  • Could not capture stack trace, attempted dump to stdout, please check there.

In these cases, a full stack trace is written to STDOUT (usually CFusionMX7runtimecoldfusion-out.log, or jrun4logscoldfusion-out.log for multiple instance installations), terminating with the message:

"Trace Error: Stack trace sent to the console; output could not be captured. Capture file open failed"

Solution

This error can be caused when FusionReactor is running as a non-default user, and fails to open a temporary file for the stack trace, prior to processing it and displaying it in the FusionReactor administrator. The temporary file is located in the root of C: and is removed immediately after processing.

To continue, you should ascertain the user account under which the ColdFusion service runs. You can find this out using the following procedure:

  • Open the Services control panel
  • Double click the ColdFusion MX 7 Application Server service
  • Open the Log On tab
  • Note down which account name is in use
  • Close this property sheet by clicking Cancel.

This user must be granted the Full Control permission on the C: folder (this permission is not required on any subdirectories) . The simplest way to do this is using the cacls utility.

  • Open a command prompt window (Start -> Run -> cmd.exe).
  • Run the following command, replacing cfusion with the user under which your ColdFusion service runs.
    • cacls c: /e /G cfusion:F
    • This command instructs windows to edit (/e) the permissions for c: by granting (/G) Full Control for the user cfusion (cfusion:F)

It should not be necessary to restart ColdFusion for this change to take effect.

Issue Details

Type: Technote
Issue Number: FRS-179
Components: Thread Management
Environment:
Resolution: Fixed
Last Updated: 02/Nov/07 9:46 AM
Affects Version: 1.0, 2.0, 2.0.3, 2.0.4
Fixed Version:
Server: ColdFusion 6, ColdFusion 7, ColdFusion 8, Flex Data Services, JBoss, JRun 4, LiveCycle Data Services, Tomcat, WebSphere, WebLogic
Platform: Windows XP, Windows 2000, Windows 2003
Related Issues:

[frs-173] FusionReactor Support on IBM J9 JVM


When you install FusionReactor on an IBM J9 JVM platform (e.g. IBM Java2 SDK 5.0-5.1 for Linux), you may find the CPU graph always reads zero. You may not be able to retrieve stack information on J9 for Java 4 (1.4).

Additionally, you may see the following exception in your servlet container's output:

   FusionReactor Exception: FusionReactor (/opt/ibm_jdk5/jre/bin/classic/libjvm.so:
   version 'SUNWprivate_1.1' not found ...)

In this case, please mail support for an updated FusionReactor native library.

You will need to install the new native library over the old one:

  • Stop your servlet container
  • Copy the special build native library libFusionReactor.so into the folder /opt/FusionReactor/etc/lib, overwriting the copy which is already there (your FusionReactor installation folder may vary)
  • Configure your Servlet Container to use this path as the java.library.path
    • E.g. for Tomcat, make sure to export CATALINA_OPTS=-Djava.library.path=/opt/FusionReactor/etc/lib
  • Restart the container.

Caveat for Java 4 (1.4) J9 JVMs

The FusionReactor native library for IBM J9 does not attempt to coerce the format of stack traces into a parsable format for FusionReactor.

This means that when you select Stack Trace in FusionReactor's Requests or Threads view, you will see an unformatted single dump of all running threads. This dump, while somewhat large, is still useful – simply scroll or search to find the thread name required, then read the frame data as before.

IBM Java 5.0 (1.5) JVMs do not suffer this restriction, since they use Java 5's internal (non-native) tracing functionality to produce colorized output.

Issue Details

Type: Technote
Issue Number: FRS-173
Components:
Environment:
Resolution: Fixed
Last Updated: 10/Sep/07 3:02 PM
Affects Version: 3.0
Fixed Version:
Server: Tomcat
Platform: Linux
Related Issues:

[frs-37] How do I enable Stack Traces with Tomcat? On Windows (without service wrapper)


Instead of executing

apache-tomcat-5.5.12binstartup.bat

start Tomcat with

apache-tomcat-5.5.12bin>catalina.bat run > server.log 2>&1

This will make the Stack Traces available in FusionReactor Administrator.

We are working on a solution to have the stack traces available in FusionReactor when using a service wrapper to run Tomcat as a service.

Issue Details

Type: Technote
Issue Number: FRS-37
Components: FusionReactor Settings
Environment:
Resolution: Fixed
Last Updated: 19/Jun/07 2:21 PM
Affects Version:
Fixed Version:
Server: Tomcat
Platform: Windows XP, Windows 2000, Windows 2003
Related Issues:

[frs-151] Does fusion reactor support CFMX7 enterprise war deployment on tomcat 5.5?


FusionReactor 1.0 does support Tomcat 5.


Note: We recommend using FusionReactor 2.0 which fully supports Tomcat and JBoss servers.

Please use one of the following packages for installation:

https://www.fusion-reactor.com/builds/FusionReactor-windows-1.0.7.zip
https://www.fusion-reactor.com/builds/FusionReactor-linux-1.0.7.tgz
https://www.fusion-reactor.com/builds/FusionReactor-generic-1.0.7.zip
https://www.fusion-reactor.com/builds/FusionReactor-generic-1.0.7.tgz

The following documents detail the procedure of installing and configuring FusionReactor on a Tomcat 5 server under Windows and Linux:

https://www.fusion-reactor.com/pdf/FR11-Tomcat5-Windows.pdf
https://www.fusion-reactor.com/pdf/FR12-Tomcat5-Linux.pdf

If you don't want to install FusionReactor global to all web applications you can alternatively copy the fusionreactor.jar file to the WEB-INF/lib folder of the ColdFusion deployment directory and configure the filter in the web descriptor WEB-INF/web.xml of the ColdFusion web application.

Issue Details

Type: Technote
Issue Number: FRS-151
Components: Installer
Environment:
Resolution: Fixed
Last Updated: 18/Jun/07 5:58 PM
Affects Version: 1.0
Fixed Version: 1.0
Server: ColdFusion 6, ColdFusion 7, JRun 4, Tomcat
Platform: Windows XP, Windows 2000, Windows 2003, Linux, MacOS, Solaris
Related Issues:

[frs-91] I have enabled Timeout Protection to abort and notify after a period of time. However it does not seem to be killing requests that run for longer than the defined time. Am I missing something?


The problem that you are seeing is most likely that the requests don't complete because they are waiting to send data to the browser. This is done via a socket which is a piece of native code that the server uses to return the CF page contents. It can happen however that the browser that is receiving the content keeps the connection open but doesn't consume any of the content sent by the server. This causes the situation that you see. FusionReactor unfortunately cannot kill these requests because of a limitation in Java itself that native code cannot be stopped. This is a known limitation of Java and there is no way around this in any of the current versions of Java.

Internet Explorer can create this problem due to a bug that it has of keeping the connection open when the window has been closed.

Issue Details

Type: Technote
Issue Number: FRS-91
Components: Crash Protection
Environment:
Resolution: Fixed
Last Updated: 14/Jun/07 4:03 PM
Affects Version: 1.0, 2.0
Fixed Version: 1.0, 2.0
Server: ColdFusion 6, ColdFusion 7, ColdFusion 8, Flex Data Services, JBoss, JRun 4, LiveCycle Data Services, Tomcat, WebSphere, WebLogic
Platform: Windows XP, Windows 2000, Windows 2003, Linux, MacOS, Solaris
Related Issues:

[frs-99] I’m installing FusionReactor on Windows. I am trying to run CF7 using JRun4. I’ve gone through the manual installation steps as found in your installer PDF, but i keep getting an error.


java.lang.AssertionError: java.security.KeyStoreException: Uninitialized keystore
	at com.intergral.lm.tlc.G.D(Unknown Source)
	at com.intergral.lm.tlc.G.A(Unknown Source)
	at com.intergral.lm.tlc.G.A(Unknown Source)
	at com.intergral.lm.tlc.E.A(Unknown Source)
	at com.intergral.lm.tlc.B.B.A(Unknown Source)
	at com.intergral.lm.tlc.E.E(Unknown Source)
	at com.intergral.fusionreactor.H.C.A(Unknown Source)
	at com.intergral.fusionreactor.L.C.A.A(Unknown Source)
	at com.intergral.fusionreactor.L.C.A.A(Unknown Source)
	at com.intergral.fusionreactor.L.C.A.B(Unknown Source)
	at com.intergral.fusionreactor.N.A.A(Unknown Source)
	at com.intergral.fusionreactor.N.D.run(Unknown Source)
	at com.intergral.fusionreactor.L.B.B$_B.run(Unknown Source)
Caused by: java.security.KeyStoreException: Uninitialized keystore
	at java.security.KeyStore.getKey(Unknown Source)
	... 13 more

If you run your ColdFusion server under a dedicated user account that has no administrative privileges, note that FusionReactor resp. the ColdFusion server needs to have (at least once) write access to the registry hive:

[HKEY_LOCAL_MACHINESOFTWAREJavaSoftPrefscomintergralfusionreactorlicense]

It's recommend to remove the license key from the registry, adjust the permissions and then restart the server again. If necessary upload the license file again.

Issue Details

Type: Technote
Issue Number: FRS-99
Components: Installer
Environment:
Resolution: Fixed
Last Updated: 14/Jun/07 12:43 PM
Affects Version: 1.0, 2.0, 2.0.3
Fixed Version: 1.0, 2.0, 2.0.3
Server: ColdFusion 6, ColdFusion 7, ColdFusion 8, Flex Data Services, JBoss, JRun 4, LiveCycle Data Services, Tomcat, WebSphere, WebLogic
Platform: Windows XP, Windows 2000, Windows 2003
Related Issues:

[frs-98] I did a manual Install of FusionReactor and cannot see the current instance in the Enterprise Dashboard afterwards


If you do a manual installation it is normal that the current instance is not listed in the Enterprise Dashboard.

To add any FusionReactor instance (remote or local) you can use the Manage Servers page in the Enterprise menu:

1) Give the instance that you want to add a name
2) Enter the URL to the instance, e.g. http://<your hostname>:8088/fusionreactor
3) Enter the password
4) Check the status is set to 'Online'
5) Click 'Add Server' to add the new FusionReactor instance to the Enterprise Dashboard.

To install a new local FusionReactor instance from the Administrator you can use the Instance Manager. On manual installations of FusionReactor you have to scan for any appropriate target servers first (this is done by the automated setup for you). Either manually add the server by choosing the type and the directory in which the server is installed (e.g. /C:/ColdFusionMX7, /opt/jrun4) and click on the 'Add Server ' button afterwards or let FusionReactor scan you system for you. Therefore you have to specify the directory from which the search should start and the number of sub directories the search should follow.

Once you see a list of target servers you can click on the green button to install a new instance of FusionReactor on the server. Give the new instance a name, a port for the internal web server and a password, then click 'Install Instance' to install it.
Note: if you use the same name and port as you have used in the manual installation (typically default and 8088) you can update your current instance. You can then click on the blue button to add the instance to the Enterprise Dashboard. Afterwards all buttons of this instance will be disabled (because it is the instance you are running on and you should not be able to delete it). Open the Enterprise Dashboard and you should see your instance.

Issue Details

Type: Technote
Issue Number: FRS-98
Components: Installer
Environment:
Resolution: Fixed
Last Updated: 14/Jun/07 11:54 AM
Affects Version: 2.0
Fixed Version: 2.0
Server: ColdFusion 6, ColdFusion 7, ColdFusion 8, Flex Data Services, JBoss, JRun 4, LiveCycle Data Services, Tomcat, WebSphere, WebLogic
Platform: Windows XP, Windows 2000, Windows 2003, Linux, MacOS, Solaris
Related Issues: