Инструмент управления профилем не может создать профиль ошибки во время создания профиля WAS - PullRequest
0 голосов
/ 29 января 2019
  1. Я установил Менеджер установки без ошибок.
  2. Я использую WAS 9.0.0.9FP с Java SDK 8.0.3.0.
  3. Последний шаг в создании профиля завершен ((На последней странице) в WebSphere Customization Toolbox я столкнулся с приведенной ниже ошибкой.Я собираю файл журнала ошибок в «AppSrv01_create».
  4. PATH: C: \ IBM \ WebSphere \ AppServer \ logs \ manageprofiles.
  5. Я использую SQL-сервер.Я проверил пути Java.И я попытался с "setupCmdLine.bat."
  6. Когда я запустил файл "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>
    

1 Ответ

0 голосов
/ 29 января 2019

Для сценария launchWsadminListener.bat требуется несколько параметров для правильной работы, что приводит к NPE при его ручном запуске.

Относительно основной проблемы ошибки «CreateProcess error = 2».Является ли машина с Windows, которая используется компьютером с центром данных Windows 2016?

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

...