使用命令创建profile
./manageprofiles.sh -create -profileName "Dmgr01" -profilePath /usr/IBM/WebSphere/AppServer/profiles/Dmgr01 -templatePath /usr/IBM/WebSphere/AppServer/profileTemplates/dmgr -enableAdminSecurity "true" -adminUserName "wasadmin" -adminPassword "wasadmin" -hostName hostName
/ibm/WebSphere/AppServer/profileTemplates/management/actions/generateKeysForSingleProfile.ant:204: wsadmin task failed with return code :103 at com.ibm.websphere.ant.tasks.WsAdminInProcess.execute(WsAdminInProcess.java:333) 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:107) at com.ibm.ws.install.configmanager.actionengine.ANTAction.executeAction(ANTAction.java:54) at com.ibm.ws.install.configmanager.actionengine.ConfigAction.executeAction(ConfigAction.java:95) at com.ibm.ws.install.configmanager.ConfigManager.executeAllActionsFound(ConfigManager.java:956) at com.ibm.ws.install.configmanager.ConfigManager.executeActions(ConfigManager.java:565) at com.ibm.ws.install.configmanager.ConfigManager.launch(ConfigManager.java:327) at com.ibm.ws.install.configmanager.launcher.Launcher.mainForInProcessCMTCallers(Launcher.java:65) at com.ibm.wsspi.profile.WSProfile.doCreate(WSProfile.java:404) at com.ibm.wsspi.profile.WSProfile.create(WSProfile.java:224) at com.ibm.ws.profile.cli.WSProfileCLICreateProfileInvoker.executeWSProfileAccordingToMode(WSProfileCLICreateProfileInvoker.java:255) at com.ibm.ws.profile.cli.WSProfileCLIModeInvoker.invokeWSProfile(WSProfileCLIModeInvoker.java:462) at com.ibm.ws.profile.WSProfileJob.run(WSProfileJob.java:94) at com.ibm.ws.profile.utils.WSProfileUtils.executeAllJobs(WSProfileUtils.java:793) at com.ibm.wsspi.profile.WSProfileCLI.invokeWSProfile(WSProfileCLI.java:199) at com.ibm.wsspi.profile.WSProfileCLI.main(WSProfileCLI.java:61) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:599) at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:213) at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:93) at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:74)