Websphere配置文件创建卡在ImportConfigurarchive

Websphere配置文件创建卡在ImportConfigurarchive,websphere,profile,windows-server-2012,Websphere,Profile,Windows Server 2012,我已在Windows Server 2012 R2标准评估上安装了Websphere Application Server,并尝试使用ProfileManagement工具创建新的配置文件。 但它总是停留在“运行配置命令:importConfigArchive”上。 当我看到日志文件时,它以以下消息结束 <record> <date>2017-09-29T10:36:40</date> <millis>1506656200757</m

我已在Windows Server 2012 R2标准评估上安装了Websphere Application Server,并尝试使用ProfileManagement工具创建新的配置文件。 但它总是停留在“运行配置命令:importConfigArchive”上。

当我看到日志文件时,它以以下消息结束

<record>
 <date>2017-09-29T10:36:40</date>
  <millis>1506656200757</millis>
  <sequence>4829</sequence>
  <logger>com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter</logger>
  <level>INFO</level>
  <class>com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter</class>
  <method>messageLogged</method>
  <thread>30</thread>
  <message>Checking for wsadmin listener initialization</message>
</record>

2017-09-29T10:36:40
1506656200757
4829
com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter
信息
com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapter
留言
30
正在检查wsadmin侦听器初始化

是否有我遗漏的任何配置?

Do sudo unlink/bin/sh$sudo ln-s/bin/bash/bin/sh 然后启动pmt以创建配置文件


另一个想法是构建manageprofiles命令,这对我在Windows 10上遇到一些shell问题时有所帮助

在我的例子中,我在创建profilefailedProfile失败后使用的步骤是:

  • 导航到/logs/manageprofiles/myProfile\u create.log
  • 查找第一个条目之一:
  • com.ibm.wsspi.profile.WSProfileCLI
    调用配置文件
    1.
    传入的命令行是:{“-create”、“-profileName”、“failedProfile”…}
    
  • 在此基础上在文本编辑器中生成新命令,如:
  • \manageprofiles.bat-create-profileName-goodProfile。。。
    
    似乎在另一个答案中提到了某种已知的问题,其中假设“sh”映射到“bash”。我不太熟悉,但关键是要确保您的命令行有效