3 |
|
Content Delivery Server 与外部组件(如订户数据库或 DRM 服务器)集成在一起。从这些组件或将这些组件与 Content Delivery Server 集成在一起的适配器接收的消息将写入 $CDS_HOME/deployment/deployment-name/conf 目录下的日志文件 CDS.log 中。
Content Delivery Server 可通过订户适配器来使用包含订户信息的数据系统信息库。默认适配器在 Content Delivery Server 和 Oracle 数据库中存储的数据之间提供了一个接口。此外还提供了一个适配器,Content Delivery Server 可通过它来使用存储在基于轻量目录访问协议 (Lightweight Directory Access Protocol, LDAP) 格式的目录中的订户数据。
本节介绍了随 Content Delivery Server 提供的订户适配器所发出的消息。消息是通过消息号后跟类名及发出消息的方法名标识的。如果您使用自己的订户适配器,则可能会看到此处未介绍的其他消息。
Oracle 数据库的订户适配器会将以下消息写入日志文件。所有消息均归类为严重级别。这些消息是按数字顺序组织的。
[cds.UserManager] SEVERE <0100> SubscriberImplDAO.createUser:A user already exists with either Unique Device Id = unique-device-ID or Mobile Id = mobile-ID or User Id = login-ID
[cds.UserManager] SEVERE <0101> SubscriberImplDAO.createUser:Failed to create user
[cds.UserManager] SEVERE <0104> SubscriberImplDAO.getUser:User ID cannot be NULL
[cds.UserManager] SEVERE <0106> SubscriberImplDAO.getUser:Failed to get user
[cds.UserManager] SEVERE <0107> SubscriberImplDAO.getUserByUniqueDeviceId:Failed to get CDSTransaction
描述 - 无法获取通过唯一设备 ID 检索用户的 Content Delivery Server 事务。
解决方案:确保数据库服务器正在运行并且打开了数据库服务器连接,同时确保数据库配置文件中的数据库设置正确无误。
[cds.UserManager] SEVERE <0108> SubscriberImplDAO.getUserByUniqueDeviceId:Failed to get user by unique device ID
[cds.UserManager] SEVERE <0110> SubscriberImplDAO.getUserByMobileId:Failed to get user by mobile ID
[cds.UserManager] SEVERE <0111> SubscriberImplDAO.updateUser:User cannot be NULL
[cds.UserManager] SEVERE <0112> SubscriberImplDAO.updateUser:A user already exists with either Unique Device Id = unique-device-ID or Mobile Id = mobile-ID or UserId = login-ID
[cds.UserManager] SEVERE <0113> SubscriberImplDAO.updateUser:Failed to update user
LDAP 目录的订户适配器会将以下消息写入日志文件。所有消息均归类为严重级别。这些消息是按数字顺序组织的。
[cds.LDAPUserManager] SEVERE <0004> Cannot get mapping for loginId field
[cds.LDAPUserManager] SEVERE <0012> LDAPUserManager.doIsAuthenticated:Unexpected exception while checking authentication
[cds.LDAPUserManager] SEVERE <0016> LDAPUserManager.doUpdateUser:Cannot update user
[cds.LDAPUserManager] SEVERE <0032> LDAPUserManager.doAddUser:Cannot add user
描述 - 在 LDAP 中添加用户帐户时出现异常。该异常也会写入日志。
解决方案:要执行的操作取决于所报告的异常。确保 LDAP 服务器正在运行并且打开了 LDAP 服务器连接。同时确保该用户在 LDAP 中尚未存在。
[cds.LDAPUserManager] SEVERE <0035> LDAPUserManager.doDisableUser:Cannot disable user
[cds.LDAPUserManager] SEVERE <0037> LDAPUserManager.doRemoveUser:Cannot remove user
描述 - 在 LDAP 中删除用户帐户时出现异常。该异常也会写入日志。
解决方案:要执行的操作取决于所报告的异常。确保 LDAP 服务器正在运行并且打开了 LDAP 服务器连接。同时确保该用户在 LDAP 中存在。
[cds.LDAPUserManager] SEVERE <0100> LDAPListHelper.createUser:Error in parsing config XML file
[cds.LDAPUserManager] SEVERE <0101> LDAPListHelper.createUser:Error in creating user
为利用 Open Mobile Alliance (OMA) DRM 1.0 方法保护内容,Content Delivery Server 将使用您提供的有关 OMA DRM 1.0 指导的实现。在处理期间出现的错误将写入 Content Delivery Server 日志。
为了进行数字权限管理,Content Delivery Server 提供了 SafeNet DRM Fusion Toolkit 支持。DRM Fusion Toolkit 遇到的错误将写入 Content Delivery Server 日志。如果您使用 Open Mobile Alliance (OMA) DRM 1.0 指导的其他实现,则可能会看到此处未介绍的其他消息。
[cds.DRMFusion] SEVERE <0001> Failed to create usage profile usage-profile for edition id edition-ID
描述 - 无法创建用于版本单独传送保护的使用配置文件。usage-profile 是要创建的配置文件,edition-ID 是与配置文件关联的版本。
解决方案:确保正确集成了 DRM Fusion Toolkit,JAR 文件位于 Content Delivery Server 的正确位置,并且正确设置了相关的配置属性。
[cds.DRMFusion] SEVERE <0003> Could not get rights for content-ID
描述 - 无法获取由 content-ID 标识的内容的权限。
解决方案:确保正确集成了 DRM Fusion Toolkit,JAR 文件位于 Content Delivery Server 的正确位置,并且正确设置了相关的配置属性。
[cds.DRMFusion] SEVERE <0004> Failed to initialize the integration with DRM Fusion Toolkit, please check the setup environment.
描述 - 无法初始化与 DRM Fusion Toolkit 之间的集成。
解决方案:确保正确集成了 DRM Fusion Toolkit,JAR 文件位于 Content Delivery Server 的正确位置,并且正确设置了相关的配置属性。
[cds.DRMFusion] SEVERE <0007> Failed to protect content id content-ID
描述 - 无法使用 OMA DRM 1.0 方法之一保护内容二进制代码。content-ID 是要保护的内容。
解决方案:请在日志消息中查找有关错误的更多详细信息。确保正确集成了 DRM Fusion Toolkit,JAR 文件位于 Content Delivery Server 的正确位置,并且正确设置了相关的配置属性。
[cds.DRMFusion] SEVERE <0008> Failed to store plain file at file-location
[cds.DRMFusion SEVERE] <0009> Failed to read protected file file
[cds.DRMFusion] SEVERE <0010> Failed to create rights.OMA Technology :delivery-mechanism and pricemodel id :pricemodel-db-pk
描述 - 无法为 Content Delivery Server 价格模型生成等效的 DRM Fusion Toolkit 使用配置文件。
解决方案:取消激活内容,直至解决问题为止。验证由 pricemodel-db-pk 标识的内容价格模型以及所请求的传送保护机制(由 delivery-mechanism 标识)是否正确。
[cds.OMA] SEVERE <0001> Failed to send rights for content id content-ID to phone number phone-number
描述 - 在订户购买单独传送权限后,无法将其传送给订户。content-ID 标识请求权限的内容,phone-number 标识将权限发送到的号码。
解决方案:确保正确集成了 DRM Fusion Toolkit,JAR 文件位于 Content Delivery Server 的正确位置,并且正确设置了相关的配置属性。确保可以到达该主机。查找来自消息传送服务的任何错误。
以下消息是由消息传送 API 的实现(推送发送器适配器或推送监听器适配器)发出的。这些消息是按数字顺序组织的。
[cds.MsgServer] SEVERE <0034> Error while sending SMS Push message using CIMD2
描述 - $CDS_HOME/deployment/deployment-name/conf/MsgService.properties 文件中的 CIMD2 推送发送器 SMSC 属性设置可能不正确,或者 SMSC 已关闭。
解决方案:确保在 MsgService.properties 文件中正确设置了 CIMD2 的 SMSC 属性 smsc.hostname、smsc.port、esme.system_id、esme.password 以及其他属性。同时确保 SMSC 处于打开状态且正在运行。
[cds.MsgServer] SEVERE <0040> Connection could not be established java.net.UnknownHostException
[cds.MsgServer] SEVERE <0126> FAILED TO CONNECT TO SMSC
[cds.MsgServer] INFO <0127> Will try to reconnect after 60000 milliseconds
描述 - 其中的每条消息指示 $CDS_HOME/deployment/deployment-name/conf/PushListener.properties 文件中的推送监听器 SMSC 属性设置可能不正确,或者 SMSC 已关闭。
解决方案:确保正确设置了 PushListener.properties 文件中的推送监听器 SMSC 属性,然后重新启动服务器。同时确保 SMSC 处于打开状态且正在运行。
[cds.MsgServer] SEVERE <0054> Error while sending message to WAP PPG com.sun.content.server.messagingservice.msgserver.protocolPpgConnectionFailedException:Failed to connect to wap ppg server
描述 - $CDS_HOME/deployment/deployment-name/conf/MsgService.properties 文件中的 WAP PPG 属性设置可能不正确,或者 PPG 已关闭。
解决方案:确保在 MsgService.properties 文件中正确设置了 WAP PPG 属性 asyncmsg.wap.ppg、asyncmsg.wap.ip.bearer 以及其他属性,然后重新启动服务器。同时确保 WAP PPG 处于打开状态且正在运行。
[cds.MsgServer] SEVERE <0070> Error while sending SMS Push message using SMPP
描述 - $CDS_HOME/deployment/deployment-name/conf/MsgService.properties 文件中的 SMPP 推送发送器 SMSC 属性设置可能不正确,或者 SMSC 已关闭。
解决方案:确保在 MsgService.properties 文件中正确设置了 SMPP 的 SMSC 属性 smsc.hostname、smsc.port、esme.system_id、esme.password 以及其他属性。同时确保 SMSC 处于打开状态且正在运行。
[cds.MsgServer] SEVERE <0130> CONNECTION BROKEN
[cds.MsgServer] SEVERE <0184> Invalid SMSC host name specified in the properties file
描述 - $CDS_HOME/deployment/deployment-name/conf/PushListener.properties 文件中的 SMSC 主机名设置不正确。
解决方案:确保 PushListener.properties 文件中的 pushlistener.smsc.hostname 属性指定了正确的 SMSC 主机名,然后重新启动服务器。
[cds.MsgServer] SEVERE <0185> Invalid SMSC port number specified in the properties file
描述 - $CDS_HOME/deployment/deployment-name/conf/PushListener.properties 文件中的 SMSC 端口号不正确。
解决方案:确保 PushListener.properties 文件中的 pushlistener.smsc.port 属性指定了正确的 SMSC 端口号,然后重新启动服务器。
[cds.MsgServer] SEVERE <0194> Error while sending SMS Push message using HTTP
描述 - $CDS_HOME/deployment/deployment-name/conf/MsgService.properties 文件中的 HTTP 推送发送器 SMSC 属性设置可能不正确,或者 SMSC 已关闭。
解决方案:确保在 MsgService.properties 文件中正确设置了 HTTP 的 SMSC 属性 cds.sms.http.serverurl、cds.sms.http.user、cds.sms.http.password 以及其他属性。同时确保 SMSC 处于打开状态且正在运行。
版权所有 © 2004, Sun Microsystems, Inc. 保留所有权利