你的Linux是什么版本的?
除了对 -OPT disableOSPrereqChecking="true" --取消对系统的检测 可能造成影响外,其它看起来都很正常的设置。
cd /opt/IBM/WebSphere/AppServer/bin
./manageprofiles.sh -create -profileName AppSvrXYZ -profilePath /opt/IBM/WebSphere/AppServer/profiles/AppSrvXYZ -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/default
再看看吧,你的Log里的确报个错,但是我不知道是什么造成的。
/opt/IBM/WebSphere/AppServer/profileTemplates/default/actions/generateKeysForSingleProfile.ant:25: wsadmin 浠诲姟澶辫触锛岃繑鍥炵爜涓猴細-1
at com.ibm.websphere.ant.tasks.WsAdminInProcess.execute(WsAdminInProcess.java:334)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at com.ibm.ws.install.configmanager.actionengine.ant.utils.InProcessAntRunner.runBuild(InProcessAntRunner.java:785)
at com.ibm.ws.install.configmanager.actionengine.ant.utils.InProcessAntRunner.start(InProcessAntRunner.java:234)
at com.ibm.ws.install.configmanager.actionengine.ANTAction.executeActionUsingAnInProcessANTCall(ANTAction.java:94)
at com.ibm.ws.install.configmanager.actionengine.ANTAction.executeAction(ANTAction.java:41)
at com.ibm.ws.install.configmanager.ConfigManager.executeAllActionsFound(ConfigManager.java:828)
at com.ibm.ws.install.configmanager.ConfigManager.executeActions(ConfigManager.java:547)
at com.ibm.ws.install.configmanager.ConfigManager.launch(ConfigManager.java:322)
at com.ibm.ws.install.configmanager.launcher.Launcher.mainForInProcessCMTCallers(Launcher.java:65)
at com.ibm.wsspi.profile.WSProfile.doCreate(WSProfile.java:382)
at com.ibm.wsspi.profile.WSProfile.create(WSProfile.java:219)
at com.ibm.ws.profile.cli.WSProfileCLICreateProfileInvoker.executeWSProfileAccordingToMode(WSProfileCLICreateProfileInvoker.java:86)
at com.ibm.ws.profile.cli.WSProfileCLIModeInvoker.invokeWSProfile(WSProfileCLIModeInvoker.java:212)
at com.ibm.wsspi.profile.WSProfileCLI.invokeWSProfile(WSProfileCLI.java:269)
at com.ibm.wsspi.profile.WSProfileCLI.main(WSProfileCLI.java:59)
Caused by: wsadmin 浠诲姟澶辫触锛岃繑鍥炵爜涓猴細-1
at com.ibm.ws.ant.utils.ProjectUtils.reportError(ProjectUtils.java:30)
at com.ibm.websphere.ant.tasks.WsAdminInProcess.execute(WsAdminInProcess.java:327)
... 22 more
--- Nested Exception ---
wsadmin 浠诲姟澶辫触锛岃繑鍥炵爜涓猴細-1
at com.ibm.ws.ant.utils.ProjectUtils.reportError(ProjectUtils.java:30)
at com.ibm.websphere.ant.tasks.WsAdminInProcess.execute(WsAdminInProcess.java:327)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at com.ibm.ws.install.configmanager.actionengine.ant.utils.InProcessAntRunner.runBuild(InProcessAntRunner.java:785)
at com.ibm.ws.install.configmanager.actionengine.ant.utils.InProcessAntRunner.start(InProcessAntRunner.java:234)
at com.ibm.ws.install.configmanager.actionengine.ANTAction.executeActionUsingAnInProcessANTCall(ANTAction.java:94)
at com.ibm.ws.install.configmanager.actionengine.ANTAction.executeAction(ANTAction.java:41)
at com.ibm.ws.install.configmanager.ConfigManager.executeAllActionsFound(ConfigManager.java:828)
at com.ibm.ws.install.configmanager.ConfigManager.executeActions(ConfigManager.java:547)
at com.ibm.ws.install.configmanager.ConfigManager.launch(ConfigManager.java:322)
at com.ibm.ws.install.configmanager.launcher.Launcher.mainForInProcessCMTCallers(Launcher.java:65)
at com.ibm.wsspi.profile.WSProfile.doCreate(WSProfile.java:382)
at com.ibm.wsspi.profile.WSProfile.create(WSProfile.java:219)
at com.ibm.ws.profile.cli.WSProfileCLICreateProfileInvoker.executeWSProfileAccordingToMode(WSProfileCLICreateProfileInvoker.java:86)
at com.ibm.ws.profile.cli.WSProfileCLIModeInvoker.invokeWSProfile(WSProfileCLIModeInvoker.java:212)
at com.ibm.wsspi.profile.WSProfileCLI.invokeWSProfile(WSProfileCLI.java:269)
at com.ibm.wsspi.profile.WSProfileCLI.main(WSProfileCLI.java:59)收起