![MACROMEDIA CONTRIBUTE 3-CONTRIBUTE PUBLISHING SERVER Manual Download Page 20](http://html1.mh-extra.com/html/macromedia/contribute-3-contribute-publishing-server/contribute-3-contribute-publishing-server_manual_3312842020.webp)
20
Chapter 2: Extending Contribute Publishing Server
Viewing the CPS Error Log
You can view the CPS Error Log to see errors that occur when CPS starts or when CPS invokes
the Log service, E-mail Notification service, or a custom service. The log is located in the
following locations:
•
For the Simple Installation of CPS:
C:\Program Files\Macromedia\Contribute Publishing
Server\jrun4\servers\contribute-wps\contribute\WEB-
INF\pubservices\logs\error.log
•
For the WAR File Installation of CPS:
C:\Program Files\Macromedia\Contribute Publishing Server\WEB-
INF\pubservices\logs\error.log
To view the CPS Error Log from the CPS Console:
1.
Open the CPS Console (see
“Accessing the Contribute Publishing Server Console” on page 5
),
if it is not already open.
2.
Click the
About
link at the bottom of the panel.
The About dialog box appears.
3.
Click the
Server Logs
link at the bottom of the dialog box.
The Server Logs dialog box appears.
4.
Select
Notification Server Error Log
from the pop-up menu.
A list of errors appears.
5.
When you are finished viewing the log, click
Close
.
About extending the Simple File Deployment service
You can use the Simple File Deployment service as a starting point for creating a service that
meets your specific needs for moving files from a staging or testing server to a live server.
You can use the uncompiled version of the Simple File Deployment service code to extend the
service. This code is written in ColdFusion, so you need to have a ColdFusion server to extend
this service.
Note:
CPS installs a special version of the ColdFusion server, which enables you to run the compiled
version of the Simple File Deployment service as is. This server, however, is not sufficient for
extending the service. You must have the full version of the ColdFusion server running to extend the
uncompiled code.
When you extend this service, consider adding the following functionality:
•
Authentication and permissions
You can add authentication functionality to limit access to the service.
Tip:
Macromedia strongly recommends that you add authentication. To do so, you can simply
copy the settings file and save it as a separate service in a subfolder for each website, or you can
write you own security interface to handle multiple websites.