SystemOut.log 文件在 WebSphere Commerce Studio 中不可用。“控制台”视图的内容包括此处讨论的消息。
要确保 WebSphere Commerce 已经启动,请执行以下操作:
- 在文本编辑器中打开以下日志文件:
WAS_installdir/logs/server_name/SystemOut.log
WAS_userdir/logs/server_name/SystemOut.log
其中,server_name 是 WebSphere Commerce 应用程序服务器名称。WebSphere Commerce 应用程序服务器名称总是如下格式:WC_instance_name,其中,instance_name 是WebSphere Commerce 实例的名称。
- 确保日志文件不包含任何 Java 异常。
- 确保日志文件末尾有以下文本:
WSVR0221I: Application started: WC_instance_name . . . . . WSVR0001I: Server WC_instance_name open for e-business
其中 instance_name 是 WebSphere Commerce 实例的名称。在控制台视图中,将 WC_instance_name 替换成 server1。
注意:为了清楚的表示有关消息,出现在日志文件中的某些文本已被省略。
如果您使用 WebSphere Commerce 工具(包括加速器、管理控制台和组织管理控制台)执行了任何任务,则日志文件可能在这些行后包含其它文本。
如果 WebSphere Commerce 未能启动,则您将在日志文件的结尾看见一条类似于以下消息的消息:
WSVR0101W: An error occurred starting, WC_instance_name WSVR0217I: Stopping application: WC_instance_name . . WSVR0220I: Application stopped: WC_instance_name . . WSVR0003E: Server WC_instance_name failed to start.
其中 instance_name 是 WebSphere Commerce 实例的名称。
在控制台视图中,将 WC_instance_name 替换成 server1。
注意:为了清楚的表示有关消息,出现在日志文件中的某些文本已被省略。