[Collapse]CodeCollaborator 6
 [Expand]Big Picture/support/viewarticle/20412/
 [Expand]Server Administration/support/viewarticle/20483/
 [Expand]Web User's Guide/support/viewarticle/20467/
 [Expand]Clients/support/viewarticle/20473/
 [Expand]Version Control Integration/support/viewarticle/20425/
 [Expand]External Integrations/support/viewarticle/20740/
 [Expand]Techniques & Best Practices/support/viewarticle/20741/
 [Collapse]Appendices/support/viewarticle/20474/
   Appendix A: Known Issues/support/viewarticle/20476/
  [Expand]Appendix B: Version History/support/viewarticle/24266/
   Appendix C: Java VM Options/support/viewarticle/20475/
Updated: 3/26/2012 Applies To: CodeCollaborator 6 Rating: No votes Click to rate: PoorNot badAverageGoodExcellent

Appendix C: Java VM Options

Top Previous

JVM options can be configured in .vmoptions files installed in the same directory as any of the CodeCollaborator Java applications. The name of the file must correspond to the name of the executable file, e.g., ccollab-server.vmoptions for the server, ccollab.vmoptions for the command line client, or ccollabgui.vmoptions for the GUI client. This chapter summarizes some of the more common options used.

Note: The last line in a .vmoptions file must be followed by a new line.

To specify Java system properties that will be available to the application, use this syntax:

-Dvariablename=value

CodeCollaborator Server Properties

The following Java system properties are specific to the CodeCollaborator server.

Property Name

Purpose and Usage

smartbear.userauth.class

This property specifies the authentication adapter used to authenticate users. Under normal circumstances, this property need not be set. Do not set this property unless directed by SmartBear technical support.

smartbear.rpc.session.timeout

The timeout, in seconds, for XML-RPC sessions. The value must be a positive integer. Default is 30.

com.smartbear.ccollab.binary.converter.threads

The maximum number of threads allocated to convert binary documents into images for review. This value must be a positive integer. Default is 4.

com.smartbear.ccollab.license.noperiodicupdate

If set to a non-blank value, this property prevents the CodeCollaborator server from checking for license updates.

smartbear.appstate.period

The delay, in milliseconds, between runs of the application state recorder. The state recorder periodically writes information about the state of the application into the database for future trend analysis. Default is 15 minutes.

smartbear.appstate.startup.delay

The delay, in milliseconds, before the application state recorder starts. Delaying the application state recorder allows the application initialization process to complete before anything is written to the database. Default is 5 minutes.

smartbear.chat.request.limit

The maximum number of chat update requests allowed per minute. This value will be used for active reviews and the clients and servers will automatically scale back the request rate as activity on the review declines.

com.smartbear.database.longquerythreshold

The time in milliseconds to allow database queries to run before logging a warning message. This is used to help debug bottlenecks and characterize the behavior of complex queries such as those used by the custom reports system. Default is 333 milliseconds.

com.smartbear.diff.cache.maxentries.memory

The number of entries allowed in the diff cache. The size of any given entry can vary significantly, but this tuning parameter provides a rough mechanism for tuning the cache size. Default is 2000.

com.smartbear.lines.cache.size

The maximum size of the parse lines cache. Values should be a memory size in kilobytes or megabytes indicated by the case-insensitive suffixes "k" and "m" respectively. For example, 20 megabytes could be indicated by "20m" or "20M". Default value is 5 megabytes.

com.smartbear.syntax.cache.size

The maximum size of the syntax highlight cache. Values should be a memory size in kilobytes or megabytes indicated by the case-insensitive suffixes "k" and "m" respectively. For example, 20 megabytes could be indicated by "20m" or "20M". Default value is 50 megabytes.

com.smartbear.ccollab.notification.max.retry.interval

The time (in milliseconds) to wait between attempts to connect to the SMTP server.

Command Line Client Properties

The following properties are specific to the Command Line Client.

Property Name

Purpose and Usage

smartbear.ccollab.upload.truncate.size

The size, in bytes, to truncate uploaded files. This threshold prevents clients from inadvertently overloading the server with files too large to process. The default value is 4MB.

Java Heap Size

The default maximum heap size available for CodeCollaborator client applications is 64MB. CodeCollaborator Server maximum heap size is set to 1GB by default. The maximum heap size can be increased with the -Xmx switch. For example, to set the maximum heap to 256MB, use the following line:

-Xmx256M

G, M or K can be used to represent gigabytes, megabytes or kilobytes. Note that not all JVM's support -X options.

Network Proxy Settings

Server proxies can be configured in the ccollab-server.vmoptions file. See Network Configuration for the settings.

Network Connection Debugging

For debugging LDAP or SSL connection problems, or other network related issues, an additional server log file with trace information, output.log, will be created at restart with the following line in ccollab-server.vmoptions:

-Djavax.net.debug=all



© 2012 SmartBear Software. All rights reserved.
Email Send feedback on this document