启动Web sphere 8.5应用程序服务器时出错

问题描述 投票:0回答:1

最近,Websphere 8.5应用服务器已被破坏。启动服务器时收到以下错误。已完全卸载服务器并重新安装。试图从IBM \ WebSphere \ AppServer \ bin文件夹中的startServer.bat启动服务器。 我没有在服务器日志中看到任何错误


[4/25/19 15:01:42:789 CDT] 00000001 ManagerAdmin I TRAS0017I: The startup trace state is =info:com.ibm.=all. [4/25/19 15:01:42:804 CDT] 00000001 WsServerContr 1 Executing executeUtilityOnWindows with args: C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\AppSrv01\config L00W10P0014960Node01Cell L00W10P0014960Node01 server1 -script C:\D\My_Ws.metadata.plugins\org.eclipse.wst.server.core\tmp1\quickServerStart.bat [4/25/19 15:01:42:805 CDT] 00000001 ManagerAdmin I TRAS0018I: The trace state has changed. The new trace state is *=info. [4/25/19 15:01:42:885 CDT] 00000001 AdminTool A ADMU0128I: Starting tool with the AppSrv01 profile [4/25/19 15:01:42:889 CDT] 00000001 AdminTool A ADMU3100I: Reading configuration for server: server1 [4/25/19 15:01:43:166 CDT] 00000001 ModelMgr I WSVR0801I: Initializing all server configuration models [4/25/19 15:01:48:026 CDT] 00000001 WorkSpaceMana A WKSP0500I: Workspace configuration consistency check is disabled. [4/25/19 15:01:48:203 CDT] 00000001 AdminTool A ADMU3300I: Launch script for server created: C:\D\My_Ws.metadata.plugins\org.eclipse.wst.server.core\tmp1\quickServerStart.bat

我在这里先向您的帮助表示感谢

ClassNotFoundException:Files / microsoft


enter image description here

windows eclipse websphere-8 ibm-rad
1个回答
1
投票

你的启动命令中的某些东西需要它周围的引号 - 有些东西指向“Program Files \ Microsoft”中的路径但没有引号内的路径,所以Java看到空格并认为“Files \ Microsoft”是它自己的Java参数。据推测,这是在启动服务器的实际Java类之前,因此Java将其作为应该启动的主类读取,并且它失败了,因为您显然没有名为“Files \ Microsoft”的类。

创建启动脚本是一个很好的举措。打开quickServerStart.bat并搜索“Program Files \ Microsoft”,确定引号所在的位置,以便将整个参数保持在一起,添加它们,并查看是否可以启动并运行服务器。如果您能够这样做,至少在您修复配置时功能正常。

鉴于您对失败的分享,我的猜测是问题是添加到服务器进程的JVM参数。理想情况下,如果您可以让服务器开始使用生成的启动脚本,您可以通过管理控制台修复它(它位于服务器 - >流程定义 - > Java虚拟机页面)。如果您无法启动服务器,那么您将需要转到config / cells /(cellname)/ nodes /(nodename)/ servers /(servername)目录并手动编辑server.xml(备份文件首先!)。再次,搜索“Program Files \ Microsoft”并确定它是否实际属于那里,如果是,您可以在哪里添加周围的引号以使其成为包含的参数。

祝你好运!

© www.soinside.com 2019 - 2024. All rights reserved.