【问题标题】:Profile management tool cannot create the profile the error in WAS profile creation time配置文件管理工具无法创建配置文件 WAS 配置文件创建时间错误
【发布时间】:2019-06-22 16:26:09
【问题描述】:
  1. 我安装了安装管理器,没有任何错误。
  2. 我正在使用带有 Java SDK 8.0.3.0 的 WAS 9.0.0.9FP。
  3. WebSphere Customization Toolbox 中配置文件创建完成页面的最后一步(在最后一页中)我面临以下错误。我在“AppSrv01_create”中收集错误日志文件。
  4. 路径:C:\IBM\WebSphere\AppServer\logs\manageprofiles。
  5. 我正在使用 SQL 服务器。我检查了java路径。我尝试使用“setupCmdLine.bat”。
  6. 当我运行“launchWsadminListener.bat”文件时,出现以下错误。

launchWsadminListener.bat 错误: "

E:\IBM\WebSphere\AppServer\bin>launchWsadminListener.bat
Invalid Arguments. The expected arguments are: IPCfilename long name
Could not initialize WsProfileAdminListener
The WsProfileAdminListener class is exciting, due to an Exception.
An Exception was encountered in the WsProfileAdminListener classnull
java.lang.NullPointerException
        at com.ibm.ws.profile.wsadmin.WsProfileAdminListener.isRequestAvailable(WsProfileAdminListener.java:362)
        at com.ibm.ws.profile.wsadmin.WsProfileAdminListener.serviceRequests(WsProfileAdminListener.java:163)
        at com.ibm.ws.profile.wsadmin.WsProfileAdminListener.main(WsProfileAdminListener.java:66)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
        at java.lang.reflect.Method.invoke(Method.java:508)
        at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:234)
        at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:101)
        at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:82)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
        at java.lang.reflect.Method.invoke(Method.java:508)
        at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
        at java.lang.reflect.Method.invoke(Method.java:508)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:340)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
        at org.eclipse.core.launcher.Main.run(Main.java:981)
        at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:415)
        at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:176)

"

WebSphere Customization Toolbox 错误代码:

com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter</logger>
  <level>WARNING</level>
  <class>com.ibm.ws.install.configmanager.logging.LogUtils</class>
  <method>logException</method>
  <thread>37</thread>
  <message>**The exception message is: Execute failed: java.io.IOException: Cannot run program** "C:\IBM\WebSphere\AppServer\bin\launchWsadminListener.bat" (in directory "E:\IBM\WebSphere\AppServer\profileTemplates\default\actions"): **CreateProcess error=2, The system cannot find the file specified**</message>
</record>
<record>

【问题讨论】:

    标签: websphere filenet-p8 was filenet-content-engine


    【解决方案1】:

    脚本launchWsadminListener.bat需要多个参数才能正常运行,导致手动启动时出现NPE。

    关于“CreateProcess error=2”错误的根本问题。正在使用的 Windows 机器是 Windows 2016 DataCenter 机器吗?

    请看: https://developer.ibm.com/answers/questions/472732/websphere-v9-profile-creation-fails-on-windows-ser/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-01-03
      • 1970-01-01
      • 1970-01-01
      • 2018-02-04
      • 1970-01-01
      • 2016-04-04
      • 2019-12-28
      • 2020-04-28
      相关资源
      最近更新 更多