When something goes wrong, refer to this section.
Check Known Issues to see whether SmartBear already knows about this issue.
Check Version History to see if this issue has been resolved in a later release.
Get Server Information
To get debugging information about the server, go to the Collaborator web server and click System at the bottom of the screen:
Collaborator is configured by default to perform a very limited amount of logging. The primary purpose of the logs is to record information about error conditions that could potentially arise. When working with the SmartBear technical support to diagnose issues often it will be helpful to send the logs (or a portion thereof) for investigation.
The logs are located in the following directory:
Enable Server-Side Debug Logging
To enable debug logging:
- Open the <Collaborator Server>/tomcat/webapps/ROOT/WEB-INF/classes/logback.xml file.
rootelement and change the logging level from "info" to "debug":
<root level="debug" additivity="false">
<appender-ref ref="CodeCollaborator" />
- Save the file to apply changes.
Remember to revert these changes after reproducing the problem and copying off the log file because this creates a large number of logging messages and degrades server performance.
Download Server Dumps for Technical Support
Sometimes it will be useful for SmartBear technical support to get a dump of your server configuration and database data. You do this by filling out the form at the top of the System page.
Leave the default Obfuscated value of the Data Format field which will generate dump after passing data through a filter that converts potentially sensitive information into unhackable text. For example, users are renamed user1, user2, and the change list text is replaced by the MD5 of that text. If file contents are included in the dump, each line of file content is replaced with the MD5 of that line to enable us to reproduce exactly the right line numbers and diffs you are seeing. This can be used to send us data when you are worried there might be sensitive information.
If you are worried about whether we are really cleaning all the data, you can check out the dump file yourself. It is just a ZIP file containing XML with information, so it is easy to inspect. In fact, if you still see some data you would like to change or delete, you can just do that in the XML, re-zip the file, and send it to us.
You can choose to include all server logs or none at all.
You can choose to include all file content or none at all.
Here, you can choose whether you would like to perform a complete database dump or just include the system configuration.
One review dumps
If just one review is broken, you can send us a dump of just the one review. To do that, first go to the review in question, then click System as before. Now you will see an additional field in the form for downloading review data (which includes all the file content as well).
One user dumps
If reviews of some particular user are broken, you can send us a dump with reviews of this particular user. To do that, first go to Admin > Users, then click Review data link next to the desired user. Now you will see an additional field in the form for downloading review data for that particular user (which includes all their reviews and all the file content as well).
Server Runs Slowly
Large Files Fail to Upload or Render
In order to review large artifacts, we recommend increasing the memory available to Collaborator server (instructions here).
Emailing Not Works
If the emailing functionality is not working, here are some things to try:
Idle Timeout Error
This error appears when the database connection pool runs out of connections to the database.
The fix is to increase the number of connections allowed in the pool. The server is capable of running with many more connections than the default; we keep the default fairly low so that in smaller installations we are not taking up too many database resources.
Fix this by going into the Tomcat servlet context XML file located here:
maxActive property and increase the number of connecitons. Even doubling this number is fairly normal. A rule of thumb is to have 3 times the database connections (and server threads) as the number of simultaneous users you have under the biggest load.
The Collaborator server must restart for this change to take effect. You do not need to do anything to your database server.
|Modifying the ROOT.xml file will cause Tomcat to dynamically reload the Collaborator application, terminating any active sessions. Changes to ROOT.xml should be done in the context of stopping and restarting the Collaborator service (that is, in a production environment coordinating the restart with user activity), regardless of whether the service itself is actually stopped and restarted, or just reloaded by Tomcat.|
Frequently this problem also implies that you should have more web server threads in addition to more database connections. To increase that, edit the
maxThreads property from the following XML file:
Stop and restart the server to load new settings from the server.xml file.
Server Failed to Respond
This error can occur if a client connection times out after the default 20 seconds. A heavily loaded Collaborator server or limited resources can be the root of this problem, and investigating the server performance and network connectivity may be warranted. Regardless, the connection timeout can be increased by editing the millisecond value of the
connectionTimeout variable in the
server.xml file described above. For example, for a timeout of 60 seconds, use:
5xx Responses From The Server
In case of server-side errors, Collaborator will display a custom page with the description of the occurred error.
Display Tomcat Version on Error Pages
For security reasons, Collaborator does not reveal the exact version of Tomcat framework on any public-facing web pages. To troubleshoot some cases, you may want to display the Tomcat version information in error messages.
To achieve this:
Open the <Collaborator Server>/tomcat/conf/Catalina/localhost/ROOT.xml file.
ErrorReportValveelement<Valve className="org.apache.catalina.valves.ErrorReportValve" showServerInfo="false"/>
Change it to:<Valve className="org.apache.catalina.valves.ErrorReportValve" showServerInfo="true"/>
- Save changes to ROOT.xml and restart the Collaborator server.
Allow Remote Access Through Firewall
To change the Windows firewall settings:
Go to Start > All Programs > Accessories > System Tools > Security Center.
Click Manage security settings for: Windows Firewall.
On the General tab, make sure to remove the selection from the Do not allow exceptions check box.
On the Exceptions tab, click Add Port.
For Name, use
For Port number, use
Leave TCP selected.
(Optional) Click Change scope to get more options for giving permissions to access the port.
Click OK in each dialog to save the settings, then try connecting again.
For technical support and general inquires, contact us.