问题描述
Hi,我遇到了下面的问题,虽然提示说filenameistoolong,但其实这个长度并没有超出windows的限制(人手可以在create相应的file,只是RAD不行);另外,在wstemp下并没有生成log里显示的11205134a81文件夹。哪位大侠有解决方案呢?谢谢!------------------------------------------------------HiAll,I'musingRADandWebSphereApplicationServerv6.0(6.0.2.17)installedinmylocalenvironment.I'amdevelopingawebapplicationandIwouldliketorunitinmylocalenvironment.WhenIpublishmyapplication,Igettheexceptionbelow.Withoutpublishing,whenImodifythecodeIhavetoexporttheEARanddeployitusingtheadministrativeconsole.Thesedeploymentoperationsstronglyincreasethetestingtime.So,hasanyoneanideaaboutwhathappenedhere?hadanyoneelsetofacethisproblem?Ifsomeonesolvedthiskindofproblemthenpleaseletmeknowwhatisthesolution?18/04/0716.23.10:269CEST]00000031SystemErrRWrappedexception[18/04/0716.23.10:301CEST]00000031SystemErrRjava.io.IOException:Thesystemcannotfindthespecifiedfile,eitherthefilenameistoolongonWindowssystemorrunoutoffiledescriptoronUNIXplatform.java.io.FileNotFoundException:D:IBMRADruntimesbase_v6profilesdefaultwstemp11205134a81workspacecellsBRUSCHIERI-XPNode01CellapplicationsAnagrafiche.eardeploymentsAnagrafichedeployment.xml(Impossibiletrovareilfilespecificato)atcom.ibm.wsspi.configarchive.DefaultFileAccessor.load(DefaultFileAccessor.java:100)atcom.ibm.ws.sm.workspace.impl.FileAccessorUtil.getInputStream(FileAccessorUtil.java:213)atcom.ibm.ws.sm.workspace.migration.WSURIConverter.createInputStream(WSURIConverter.java:74)atorg.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:738)atcom.ibm.wtp.emf.resource.CompatibilityXMIResourceImpl.load(CompatibilityXMIResourceImpl.java:76)atcom.ibm.websphere.resource.WASResourceImpl.load(WASResourceImpl.java:60)atorg.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java(InlinedCompiledCode))atcom.ibm.websphere.resource.WASResourceSetImpl.getExistingResource(WASResourceSetImpl.java(CompiledCode))atcom.ibm.websphere.resource.WASResourceSetImpl.createResource(WASResourceSetImpl.java:73)atcom.ibm.ws.management.application.task.ConfigRepoHelper.getAppDeploymentResource(ConfigRepoHelper.java:255)atcom.ibm.ws.management.application.task.ConfigRepoHelper.getAppDeploymentForApp(ConfigRepoHelper.java:264)atcom.ibm.ws.management.application.task.DeleteSIEntryTask.performTask(DeleteSIEntryTask.java:83)atcom.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:253)atjava.lang.Thread.run(Thread.java:568)
解决方案
解决方案二:
deployment.xml(Impossibiletrovareilfilespecificato)怎么中间有个空格呢?查查先。
解决方案三:
deployment.xml--这个空格应该是copy的时候人为出错的,跟它本身的问题无关。
解决方案四:
D:IBMRADruntimesbase_v6profilesdefaultwstemp11205134a81workspacecells这里面也有空格符号,肯定不对。如果你是从RAD的console中直接copy/paste出来的,应该不会有空格的
解决方案五:
Anagrafiche.ear,这个是你要deploy的EAR吗?试试看把现在Server上的EAR都去掉,然后再Deploy你自己的EAR。(不要在AdminConsole中删除,直接用RAD里面的addandremoveprojects把其他无关的EAR去掉)如果Anagrafiche.ear不是你正在deploy的EAR,那么一个可能是,你的其他worksapce也引用了同一个profile(RAD默认,所有worksapce都会使用defaultprofile除非你在Serverdefinition中手工指定)
解决方案六:
输入你log里的路径:D:IBMRADruntimesbase_v6profilesdefaultwstemp11205134a81workspacecellsBRUSCHIERI-XPNode01CellapplicationsAnagrafiche.eardeploymentsAnagrafichedeployment.xml如果你都不能访问到这个文件,说明你的路径出问题了。