WAS ND addnode 失败问题

在使用WAS 5.1ND add node时,总是出现java.lang.NullPointerException。谈谈这个问题的解决。
首先转到AppServer logs目录下打开addNode.log察看日志内容:
NodeFederatio E ADMU0011E: Error creating configuration in the cell repository java.lang.NullPointerException
at com.ibm.websphere.management.repository.RepositoryInputStream.markSupported(RepositoryInputStream.java:233)
这是由于WAS ND 中的filetransfer application不能正常工作,或者没有部署引起的,解决办法:
1.如果filetransfer application存在那么察看serverindex.xml中是否有 <deployedApplications>filetransfer.ear/deployments/filetransfer</deployedApplications> 如果没有加上后,重新启动,在admin console中观察filetransfer是否在运行,如果已经运行了,在执行addNode操作,一般情况下问题到此就解决了。
2.如果filetransfer application 不存在,那么需要重新安装。安装方法如下:
wsadmin.sh/bat-conntype NONE  à启动wsadmin后面的参数很重要
$AdminApp list 观看现存application.如果有filetransfer则要卸载掉
$AdminApp uninstall filetransfer
保存更改:
$AdminConfig save
安装:
$AdminApp install Install_Root/installableApps/filetransfer.ear
{-node my_ND_Node-cell my_Cell-server dmgr -appname filetransfer}
再保存:
$AdminConfig save
然后重启WAS,就ok了。

was nd 8.5概要文件创建失败,求指导

12-28

学习做集群,有两台机子,一台windows xp系统,一台windows 2003系统,xp安装部署都没问题,2003机子安装后不能创建概要文件。rnAppSrv01_create.log文件内容如下:rnrn[code=text]rnrn 2012-12-27T05:58:12rn 1356602292218rn 4402rn com.ibm.ws.install.configmanager.actionengine.ant.utils.ANTLogToCmtLogAdapterrn WARNINGrn com.ibm.ws.install.configmanager.logging.LogUtilsrn logExceptionrn 1rn D:\Program Files\IBM\WebSphere\AppServer\profileTemplates\default\actions\first.ant:131: Execute failed: java.io.IOException: Cannot run program "xcopy" (in directory "D:\Program Files\IBM\WebSphere\AppServer\profileTemplates\default\actions"): CreateProcess error=5, ??????·????????rnat org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:620)rnat org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:452)rnat org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)rnat org.apache.tools.ant.Task.perform(Task.java:364)rnat org.apache.tools.ant.Target.execute(Target.java:341)rnat org.apache.tools.ant.Target.performTasks(Target.java:369)rnat org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)rnat org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)rnat org.apache.tools.ant.Project.executeTargets(Project.java:1068)rnat org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)rnat org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)rnat org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)rnat org.apache.tools.ant.Task.perform(Task.java:364)rnat org.apache.tools.ant.Target.execute(Target.java:341)rnat org.apache.tools.ant.Target.performTasks(Target.java:369)rnat org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)rnat org.apache.tools.ant.Project.executeTarget(Project.java:1185)rnat org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)rnat org.apache.tools.ant.Project.executeTargets(Project.java:1068)rnat com.ibm.ws.install.configmanager.actionengine.ant.utils.InProcessAntRunner.runBuild(InProcessAntRunner.java:801)rnat com.ibm.ws.install.configmanager.actionengine.ant.utils.InProcessAntRunner.start(InProcessAntRunner.java:234)rnat com.ibm.ws.install.configmanager.actionengine.ANTAction.executeActionUsingAnInProcessANTCall(ANTAction.java:120)rnat com.ibm.ws.install.configmanager.actionengine.ANTAction.executeAction(ANTAction.java:54)rnat com.ibm.ws.install.configmanager.actionengine.ConfigAction.executeAction(ConfigAction.java:95)rnat com.ibm.ws.install.configmanager.ConfigManager.executeAllActionsFound(ConfigManager.java:1125)rnat com.ibm.ws.install.configmanager.ConfigManager.executeActions(ConfigManager.java:620)rnat com.ibm.ws.install.configmanager.ConfigManager.launch(ConfigManager.java:380)rnat com.ibm.ws.install.configmanager.launcher.Launcher.mainForInProcessCMTCallers(Launcher.java:69)rnat com.ibm.wsspi.profile.WSProfile.doCreate(WSProfile.java:404)rnat com.ibm.wsspi.profile.WSProfile.create(WSProfile.java:224)rnat com.ibm.ws.profile.cli.WSProfileCLICreateProfileInvoker.executeWSProfileAccordingToMode(WSProfileCLICreateProfileInvoker.java:255)rnat com.ibm.ws.profile.cli.WSProfileCLIModeInvoker.invokeWSProfile(WSProfileCLIModeInvoker.java:462)rnat com.ibm.ws.profile.WSProfileJob.run(WSProfileJob.java:94)rnat com.ibm.ws.profile.utils.WSProfileUtils.executeAllJobs(WSProfileUtils.java:793)rnat com.ibm.wsspi.profile.WSProfileCLI.invokeWSProfile(WSProfileCLI.java:228)rnat com.ibm.wsspi.profile.WSProfileCLI.mainForInProcessCalls(WSProfileCLI.java:91)rnat com.ibm.ws.pmt.command.executors.WSProfileCommandExecutor.runWSProfile(WSProfileCommandExecutor.java:122)rnat com.ibm.ws.pmt.command.executors.WSProfileCommandExecutor.executeCommand(WSProfileCommandExecutor.java:72)rnat com.ibm.ws.pmt.wizards.fragments.ProgressPanel.run(ProgressPanel.java:320)rnat org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)rnCaused by: java.io.IOException: Cannot run program "xcopy" (in directory "D:\Program Files\IBM\WebSphere\AppServer\profileTemplates\default\actions"): CreateProcess error=5, ??????·????????rnat java.lang.ProcessBuilder.start(ProcessBuilder.java:471)rnat java.lang.Runtime.exec(Runtime.java:604)rnat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rnat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)rnat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)rnat java.lang.reflect.Method.invoke(Method.java:611)rnat org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:834)rnat org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:435)rnat org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:449)rnat org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:576)rnat org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:617)rn... 39 morernCaused by: java.io.IOException: CreateProcess error=5, ??????·????????rnat java.lang.ProcessImpl.(ProcessImpl.java:92)rnat java.lang.ProcessImpl.start(ProcessImpl.java:41)rnat java.lang.ProcessBuilder.start(ProcessBuilder.java:464)rn... 49 morern--- Nested Exception ---rnjava.io.IOException: Cannot run program "xcopy" (in directory "D:\Program Files\IBM\WebSphere\AppServer\profileTemplates\default\actions"): CreateProcess error=5, ??????·????????rnat java.lang.ProcessBuilder.start(ProcessBuilder.java:471)rnat java.lang.Runtime.exec(Runtime.java:604)rnat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rnat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)rnat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)rnat java.lang.reflect.Method.invoke(Method.java:611)rnat org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:834)rnat org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:435)rnat org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:449)rnat org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:576)rnat org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:617)rnat org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:452)rnat org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)rnat org.apache.tools.ant.Task.perform(Task.java:364)rnat org.apache.tools.ant.Target.execute(Target.java:341)rnat org.apache.tools.ant.Target.performTasks(Target.java:369)rnat org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)rnat org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)rnat org.apache.tools.ant.Project.executeTargets(Project.java:1068)rnat org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)rnat org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)rnat org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)rnat org.apache.tools.ant.Task.perform(Task.java:364)rnat org.apache.tools.ant.Target.execute(Target.java:341)rnat org.apache.tools.ant.Target.performTasks(Target.java:369)rnat org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)rnat org.apache.tools.ant.Project.executeTarget(Project.java:1185)rnat org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)rnat org.apache.tools.ant.Project.executeTargets(Project.java:1068)rnat com.ibm.ws.install.configmanager.actionengine.ant.utils.InProcessAntRunner.runBuild(InProcessAntRunner.java:801)rnat com.ibm.ws.install.configmanager.actionengine.ant.utils.InProcessAntRunner.start(InProcessAntRunner.java:234)rnat com.ibm.ws.install.configmanager.actionengine.ANTAction.executeActionUsingAnInProcessANTCall(ANTAction.java:120)rnat com.ibm.ws.install.configmanager.actionengine.ANTAction.executeAction(ANTAction.java:54)rnat com.ibm.ws.install.configmanager.actionengine.ConfigAction.executeAction(ConfigAction.java:95)rnat com.ibm.ws.install.configmanager.ConfigManager.executeAllActionsFound(ConfigManager.java:1125)rnat com.ibm.ws.install.configmanager.ConfigManager.executeActions(ConfigManager.java:620)rnat com.ibm.ws.install.configmanager.ConfigManager.launch(ConfigManager.java:380)rnat com.ibm.ws.install.configmanager.launcher.Launcher.mainForInProcessCMTCallers(Launcher.java:69)rnat com.ibm.wsspi.profile.WSProfile.doCreate(WSProfile.java:404)rnat com.ibm.wsspi.profile.WSProfile.create(WSProfile.java:224)rnat com.ibm.ws.profile.cli.WSProfileCLICreateProfileInvoker.executeWSProfileAccordingToMode(WSProfileCLICreateProfileInvoker.java:255)rnat com.ibm.ws.profile.cli.WSProfileCLIModeInvoker.invokeWSProfile(WSProfileCLIModeInvoker.java:462)rnat com.ibm.ws.profile.WSProfileJob.run(WSProfileJob.java:94)rnat com.ibm.ws.profile.utils.WSProfileUtils.executeAllJobs(WSProfileUtils.java:793)rnat com.ibm.wsspi.profile.WSProfileCLI.invokeWSProfile(WSProfileCLI.java:228)rnat com.ibm.wsspi.profile.WSProfileCLI.mainForInProcessCalls(WSProfileCLI.java:91)rnat com.ibm.ws.pmt.command.executors.WSProfileCommandExecutor.runWSProfile(WSProfileCommandExecutor.java:122)rnat com.ibm.ws.pmt.command.executors.WSProfileCommandExecutor.executeCommand(WSProfileCommandExecutor.java:72)rnat com.ibm.ws.pmt.wizards.fragments.ProgressPanel.run(ProgressPanel.java:320)rnat org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)rnCaused by: java.io.IOException: CreateProcess error=5, ??????·????????rnat java.lang.ProcessImpl.(ProcessImpl.java:92)rnat java.lang.ProcessImpl.start(ProcessImpl.java:41)rnat java.lang.ProcessBuilder.start(ProcessBuilder.java:464)rn... 49 morernrn[/code]rnrn[img=http://www.webspherechina.net/club/attachments/month_1212/1212271808d0902323b895678b.png][/img]

没有更多推荐了,返回首页

私密
私密原因:
请选择设置私密原因
  • 广告
  • 抄袭
  • 版权
  • 政治
  • 色情
  • 无意义
  • 其他
其他原因:
120
出错啦
系统繁忙,请稍后再试