2


来自 Content Delivery Server 组件的消息

Content Delivery Server 运行期间,来自不同组件的消息将写入 $CDS_HOME/deployment/deployment-name/logs 目录下的日志文件 CDS.log 中。所写入的消息类型(例如,警告消息或说明性消息)取决于 $CDS_HOME/cfg 目录下的 logging.properties 文件中指定的消息级别。有关日志文件的详细信息,请参见《Sun Javatrademark System Content Delivery Server 5.1 系统管理指南》中的第 1.2 节“日志文件”。

本章介绍 Content Delivery Server 组件发出的消息并给出应对措施建议。消息是使用发出消息的模块和消息号标识的。

本章介绍了以下主题:


2.1 来自消息传送服务的消息

以下消息是由消息传送服务及其子组件“确认监听器服务”发出的。按发出消息的服务模块的字母顺序对消息进行分类,并且针对每个模块按数字顺序进行分类。

[cds.ConfirmListener] SEVERE <0002> Could not listen on port port-number
[cds.MsgServer] SEVERE <0192> Invalid property-name property value specified in the properties file.
[cds.MsgServer] SEVERE <0195> There was an error delivering this message, Message is stored in the JMS queue for MessageId = message-ID
[cds.MsgServer] SEVERE <0196> Error while sending SMTP message


2.2 来自通知服务的消息

通知服务将以下消息写入到 $CDS_HOME/deployment/deployment-name/logs 目录下的 CDS.log 文件中。

[cds.Root] SEVERE <0147> Could not process subscriber `subscriber-Id'
[cds.Root] SEVERE <0477> Failed executing campaign for subscriber ID subscriber-Id:campaign-message-text


2.3 来自同步的消息

以下消息是在 Catalog Manager 和 Vending Manager 的同步过程中发出的。按消息号的数字顺序对消息进行分类。

[cds.SynchronizationAPI] <0000> Error while sending the Registration Request for Vending Manager
[cds.SynchronizationAPI] <0002> Error while getting Content Capability for the Resource Instance
[cds.SynchronizationAPI] <0003> Error while getting Model names for the Resource Instance
[cds.SynchronizationAPI] <0004> Failed to get Metadata and Pricing Model list for the Resource Class
[cds.SynchronizationAPI] <0005> Error while retrieving meta-data for the Resource Class
[cds.SynchronizationAPI] <0006> Error while retrieving Pricing Model list for the Resource Class
[cds.SynchronizationAPI] <0007> Error while fetching synchronization data from the Catalog Manager.
[cds.SynchronizationAPI] <0035> Custom field name received from catalog mismatches local definition. Catalog data type : type1, local data type : type2
[cds.SynchronizationAPI] <0036> Custom field name received from catalog mismatches local definition. Catalog content type : type1, local content type : type2
[cds.SynchronizationAPI] <0037> Custom field name received from the catalog has no local definition
[cds.SynchronizationAPI] <0039> Custom field name received from catalog mismatches local definition. Catalog class scope : scope1, local class scope : scope2
[cds.Synchronization] <0009> Please contact system administrator to restart catalog server.
[cds.Synchronization] <0006> CatalogEventListener :Could not create jndi context.
[cds.Synchronization] <0036> QueueConnection is null.Contact System Administrator to restart the server.


2.4 来自 CDS DRM 代理的消息

以下消息来自服务器端处理程序,该程序处理来自 Content Delivery Server 数字权限管理 (Content Delivery Server Digital Rights Management, CDS DRM) 代理的请求,该代理在受保护的 MIDlet 中运行。按消息号对消息进行分类。

[cds.DRM] WARNING <0000> Device Time is not consistent with Server Time for ticket=ticket-ID. Device Time = device-timeServer Time = server-time
[cds.DRM] SEVERE <0001> Sending purchase error as response:message
[cds.DRM] SEVERE <0002> Sending renew per period error as response:message
[cds.DRM] SEVERE <0003> Sending renew per use error as response:message
[cds.DRM] WARNING <0004> Unknown form selection for ticket=ticketID:|form|
[cds.DRM] SEVERE <0005> Sending error as response:message
[cds.DRM] SEVERE <0050> Could not determine the Billing Response for ticket=ticket-ID
[cds.DRM] SEVERE <0051> Purchase authorization failed.
[cds.DRM] SEVERE <0052> Purchase authorization failed.
[cds.DRM] SEVERE <0053> Purchase authorization failed.


2.5 来自流式传输操作的消息

如果在处理流式传输的内容时出现错误,Vending Manager 将发出以下消息

[cds.Streaming] <0004> Unable to load Streaming Adapter class
[cds.Streaming] <0005> Streaming feature disabled. Unable to stock content.
[cds.Streaming] <0006> Unable to upload content to the Streaming server
[cds.Streaming] <0007> Unable to delete content from the Streaming server
[cds.Streaming] <0009> Streaming feature disabled. Content unstocked


2.6 来自定制字段操作的消息

如果定制字段定义中包含错误,Catalog Manager 或 Vending Manager 将发出以下消息

[cds.EMF] <0013> Incorrectly defined Custom Field Data Type for custom-field. Property should contain a single data type: "text", "number", "timestamp", or "boolean".
[cds.EMF] <0014> Custom field misconfiguration:error-message. Please verify all of the settings in CustomField.properties for each portal to fix the misconfiguration. Custom Fields will not function until the errors have been fixed. 
[cds.EMF] <0015> Incorrectly defined Custom Field Scope for custom-field. Property should contain either "item" or "edition". 
[cds.EMF] <0016> Property name not recognized in property-string, should start with "emf."
[cds.EMF] <0017> Invalid key format in property-string. Use emf.<content_type>.<name>.<property>
[cds.EMF] <0018> Bad definition for custom-field, probably missing required property, or specified content type doesn't exist
[cds.EMF] <0019> Custom Field custom-key defined for content type type1 and content type(s): type2. Please fix configuration to avoid damaging your data.
[cds.EMF] <0020> Custom field field-id1 and field-id2 have the same short names, but different scopes. Please fix configuration to avoid damaging your data
[cds.EMF] <0021> Custom Field custom-field is marked as required, but is not editable in developer portal
[cds.EMF] <0022> Custom field custom-field is for content type type, which is not registered in the database
[cds.EMF] <0023> Custom field custom-field refers to unknown portal code portal
[cds.EMF] <0024> Custom field custom-field has no datasource property defined for it, or it is empty
[cds.EMF] <0025> Custom field custom-field refers to unknown datasource code data-source
[cds.EMF] <0026> Custom field custom-field has invalid combination of portal and data source codes
[cds.EMF] <0027> Custom field custom-field is marked as required, but is not assigned to all datasources.
[cds.EMF] <0028> Unknown datasource name data-source, when try to determine custom field source
[cds.EMF] <0029> Incorrectly defined Custom Field's Required attribute for custom-field. Property should contain either "true" or "false".


2.7 来自查找服务的消息

如果在处理查找查询时出现错误,目录搜索服务或售卖搜索服务将发出以下消息

[cds.SearchService] SEVERE <0004> Temporary directory directory-name does not exist and can not be created, or is not a directory.
[cds.SearchService] SEVERE <0005> Can not create temporary persistence storage file file-name
[cds.SearchService] SEVERE <0006> Failed to write to temporary file file-name
[cds.SearchService] SEVERE <0007> Can not read temporary file-name
[cds.SearchService] SEVERE <0009> Failed to load from temporary file file-name
[cds.SearchService] SEVERE <0010> Failed to delete temporary file file-name
[cds.SearchService] SEVERE <0012> Solr exception while processing query
[cds.SearchService] SEVERE <0019> Failed to update class content-class-id
[cds.SearchService] SEVERE <0028> Custom field custom-field referenced in catalog search service has no matching custom field definition
[cds.SearchService] SEVERE <0029> Custom field custom-field referenced in vending search service has no matching custom field definition


2.8 来自水印操作的消息

如果在对内容执行水印操作时出现错误,将会发出以下消息

[cds.Watermarking] <0001> Support for watermarking is not enabled for the passed content type = content-type
[cds.Watermarking] <0014> Watermarking misconfiguration:message

有关配置水印操作的信息,请参见《Sun Javatrademark System Content Delivery Server 5.1 集成和配置指南》中的第 15 章。

[cds.Watermarking] <0015> Font size specified: font-size is not a number
[cds.Watermarking] <0016> Text transparency specified: transparency is not a number
[cds.Watermarking] <0017> Border width specified: width is not a number
[cds.Watermarking] <0018> Overlay image transparency specified: transparency is not a number
[cds.Watermarking] <0019> Color specified: color does not conform to [R,G,B] format
[cds.Watermarking] <0020> Unrecognized color value: color
[cds.Watermarking] <0021> Incorrect image overlay dimensions specification: dimensions 
[cds.Watermarking] <0022> Image overlay URL is malformed:url 
[cds.Watermarking] <0023> Image overlay filename is invalid:file-name 
[cds.Watermarking] <0025> Unrecognized font modifier value: modifier 
[cds.Watermarking] <0026> Unrecognized position value: position 
[cds.Watermarking] <0027> Font [font-name] specified for text watermarking not found
[cds.Watermarking] <0029> Font [font-name] can not draw character(s): character-set


2.9 来自其他源的消息

以下消息是由 Content Delivery Server 的其他区域发出的。这些消息由发出消息的模块按字母顺序进行组织。

[cds.DBPoolManager] WARN <0000> Removing failed connection:oracle.jdbc.driver.OracleConnection@connectionId[Task] ERROR <0004> permission denied:permissionError
[cds.Foundation] SEVERE <0614> JMS ERROR
[cds.Foundation] ERROR JMS Error
[cds.Root] ERROR Error while Sending MMS Push message to the JMS queue {exception message}
[cds.Root] ERROR <0018> Could not get authenticated user:message
[cds.Root] SEVERE <0618> Failed to compile user agent pattern pattern for handset ID handset-id. Handset excluded from subscriber device recognition.
[cds.SubscriberAPI] <0020> User manager returned invalid handset id device-id for user login-id
[cds.Security] <0063> Can not load valid user manager value from property property-name
[cds.Security] <0064> Failed to construct user manager instance from class class-name
[cds.VmAPIXmlRpc] <0001> Receiving XML-RPC request from an untrusted host host-id.