Websphere wsejbdelpoy时发生RMIC异常

Websphere wsejbdelpoy时发生RMIC异常,websphere,ejb-2.x,Websphere,Ejb 2.x,下面是我在使用带有ant脚本的wsejbdeploy时得到的堆栈跟踪。我有多个为RMIC运行的ejb模块。当这个过程在不同的项目中突然中断 EJB Deploy configuration directory: d:\applic\IBM\WebSphere\AppServer\deploytool\itp\configuration/ [wsejbdeploy] framework search path: d:\applic\IBM\WebSphere\AppServer\deployto

下面是我在使用带有ant脚本的wsejbdeploy时得到的堆栈跟踪。我有多个为RMIC运行的ejb模块。当这个过程在不同的项目中突然中断

 EJB Deploy configuration directory: d:\applic\IBM\WebSphere\AppServer\deploytool\itp\configuration/
[wsejbdeploy] framework search path: d:\applic\IBM\WebSphere\AppServer\deploytool\itp\plugins
[wsejbdeploy] build:RAD851-I20121103_1921
[wsejbdeploy] 
[wsejbdeploy]                                                                                [*Error] An unexpected exception was thrown.  Halting execution.
[wsejbdeploy] Could not set classpath for CR_forRMIC
[wsejbdeploy] >com.ibm.etools.ejbdeploy.EJBDeploymentException (Could not set classpath for CR_forRMIC)
[wsejbdeploy] >org.eclipse.jdt.core.JavaModelException (Could not save the project location for '.org.eclipse.jdt.core.external.folders'.)
[wsejbdeploy] java.io.FileNotFoundException: D:\WP\WP2\online\jar\tmp\CR._\.metadata\.plugins\org.eclipse.core.resources\.projects\.org.eclipse.jdt.core.external.folders\.location (Access is denied.)
[wsejbdeploy]   at java.io.FileOutputStream.<init>(FileOutputStream.java:232)
[wsejbdeploy]   at java.io.FileOutputStream.<init>(FileOutputStream.java:153)
[wsejbdeploy]   at org.eclipse.core.internal.localstore.SafeChunkyOutputStream.<init>(SafeChunkyOutputStream.java:43)
[wsejbdeploy]   at org.eclipse.core.internal.localstore.SafeChunkyOutputStream.<init>(SafeChunkyOutputStream.java:39)
[wsejbdeploy]   at org.eclipse.core.internal.resources.LocalMetaArea.writePrivateDescription(LocalMetaArea.java:398)
[wsejbdeploy]   at org.eclipse.core.internal.localstore.FileSystemResourceManager.internalWrite(FileSystemResourceManager.java:525)
[wsejbdeploy]   at org.eclipse.core.internal.resources.Project.writeDescription(Project.java:1334)
[wsejbdeploy]   at org.eclipse.core.internal.resources.Project.writeDescription(Project.java:1315)
[wsejbdeploy]   at org.eclipse.core.internal.resources.Resource.createLink(Resource.java:678)
[wsejbdeploy]   at org.eclipse.core.internal.resources.Resource.createLink(Resource.java:629)
[wsejbdeploy]   at org.eclipse.jdt.internal.core.ExternalFoldersManager.createLinkFolder(ExternalFoldersManager.java:153)
[wsejbdeploy]   at org.eclipse.jdt.internal.core.ExternalFoldersManager.createLinkFolder(ExternalFoldersManager.java:145)
[wsejbdeploy]   at org.eclipse.jdt.internal.core.ExternalFolderChange.updateExternalFoldersIfNecessary(ExternalFolderChange.java:48)
[wsejbdeploy]   at org.eclipse.jdt.internal.core.ChangeClasspathOperation.classpathChanged(ChangeClasspathOperation.java:62)
[wsejbdeploy]   at org.eclipse.jdt.internal.core.SetClasspathOperation.executeOperation(SetClasspathOperation.java:74)
[wsejbdeploy]   at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
[wsejbdeploy]   at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
[wsejbdeploy]   at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:793)
[wsejbdeploy]   at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3093)
[wsejbdeploy]   at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3055)
[wsejbdeploy]   at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3108)
[wsejbdeploy]   at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.setupManualJarProjectClasspath(BatchExtension.java:2649)
[wsejbdeploy]   at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.setupJarProjectClasspath(BatchExtension.java:1180)
[wsejbdeploy]   at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.runJarDeploy(BatchExtension.java:684)
[wsejbdeploy]   at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.run(BatchExtension.java:358)
[wsejbdeploy]   at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
[wsejbdeploy]   at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1957)
[wsejbdeploy]   at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.execute(BatchExtension.java:321)
[wsejbdeploy]   at com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.run(BatchExtension.java:284)
[wsejbdeploy]   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wsejbdeploy]   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
[wsejbdeploy]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
[wsejbdeploy]   at java.lang.reflect.Method.invoke(Method.java:618)
[wsejbdeploy]   at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
[wsejbdeploy]   at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
[wsejbdeploy]   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
[wsejbdeploy]   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
[wsejbdeploy]   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
[wsejbdeploy]   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wsejbdeploy]   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
[wsejbdeploy]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
[wsejbdeploy]   at java.lang.reflect.Method.invoke(Method.java:618)
[wsejbdeploy]   at com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.run(BootLoaderLoader.java:494)
[wsejbdeploy]   at com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.execute(BatchDeploy.java:114)
[wsejbdeploy]   at com.ibm.etools.ejbdeploy.EJBDeploy.execute(EJBDeploy.java:106)
[wsejbdeploy]   at com.ibm.etools.ejbdeploy.EJBDeploy.deploy(EJBDeploy.java:348)
[wsejbdeploy]   at com.ibm.etools.ejbdeploy.EJBDeploy.main(EJBDeploy.java:309)
[wsejbdeploy] EJBDeploy level: @build@
     [echo] **** Error while generating - WorkerPortal RMIC:The following error occurred while executing this line:
     [echo] D:\BuildFiles\DFRBLDD01VW_02_engine\BuildScripts\Worker_Portal_build.xml:682: Error in during Compilation of WorkerPortal RMIC:The following error occurred while executing this line:
     [echo] D:\BuildFiles\DFRBLDD01VW_02_engine\BuildScripts\Worker_Portal_build.xml:676: Java returned: 1 ****
     [echo] ***Build Failed: Error in RMIC Compilation ***
EJB部署配置目录:d:\applic\IBM\WebSphere\AppServer\deploytool\itp\configuration/
[wsejbdeploy]框架搜索路径:d:\applic\IBM\WebSphere\AppServer\deploytool\itp\plugins
[wsejbdeploy]构建:RAD851-I20121103_1921
[wsejbdeploy]
[wsejbdeploy][*错误]引发了意外异常。停止执行。
[wsejbdeploy]无法为CR_forRMIC设置类路径
[wsejbdeploy]>com.ibm.etools.ejbdeploy.EJBDeploymentException(无法为CR_forRMIC设置类路径)
[wsejbdeploy]>org.eclipse.jdt.core.JavaModelException(无法保存“.org.eclipse.jdt.core.external.folders”的项目位置。)
[wsejbdeploy]java.io.FileNotFoundException:D:\WP\WP2\online\jar\tmp\CR.\u\.metadata\.plugins\org.eclipse.core.resources\.projects\.org.eclipse.jdt.core.external.folders\.location(访问被拒绝)
[wsejbdeploy]位于java.io.FileOutputStream。(FileOutputStream.java:232)
[wsejbdeploy]位于java.io.FileOutputStream。(FileOutputStream.java:153)
[wsejbdeploy]位于org.eclipse.core.internal.localstore.SafeChunkyOutputStream.(SafeChunkyOutputStream.java:43)
[wsejbdeploy]位于org.eclipse.core.internal.localstore.SafeChunkyOutputStream.(SafeChunkyOutputStream.java:39)
[wsejbdeploy]位于org.eclipse.core.internal.resources.LocalMetaArea.writePrivateDescription(LocalMetaArea.java:398)
[wsejbdeploy]位于org.eclipse.core.internal.localstore.FileSystemResourceManager.internalWrite(FileSystemResourceManager.java:525)
[wsejbdeploy]位于org.eclipse.core.internal.resources.Project.writeDescription(Project.java:1334)
[wsejbdeploy]位于org.eclipse.core.internal.resources.Project.writeDescription(Project.java:1315)
[wsejbdeploy]位于org.eclipse.core.internal.resources.Resource.createLink(Resource.java:678)
[wsejbdeploy]位于org.eclipse.core.internal.resources.Resource.createLink(Resource.java:629)
[wsejbdeploy]位于org.eclipse.jdt.internal.core.ExternalFoldersManager.createLinkFolder(ExternalFoldersManager.java:153)
[wsejbdeploy]位于org.eclipse.jdt.internal.core.ExternalFoldersManager.createLinkFolder(ExternalFoldersManager.java:145)
[wsejbdeploy]位于org.eclipse.jdt.internal.core.ExternalFolderChange.updateExternalFoldersIfNecessary(ExternalFolderChange.java:48)
[wsejbdeploy]位于org.eclipse.jdt.internal.core.ChangeClasspathOperation.classpathChanged(ChangeClasspathOperation.java:62)
[wsejbdeploy]位于org.eclipse.jdt.internal.core.SetClasspathOperation.executeOperation(SetClasspathOperation.java:74)
[wsejbdeploy]位于org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
[wsejbdeploy]位于org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
[wsejbdeploy]位于org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:793)
[wsejbdeploy]位于org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3093)
[wsejbdeploy]位于org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3055)
[wsejbdeploy]位于org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3108)
[wsejbdeploy]位于com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.setupManualJarProjectClasspath(BatchExtension.java:2649)
[wsejbdeploy]位于com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.setupJarProjectClasspath(BatchExtension.java:1180)
[wsejbdeploy]位于com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.runJarDeploy(BatchExtension.java:684)
[wsejbdeploy]位于com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.run(BatchExtension.java:358)
[wsejbdeploy]位于org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
[wsejbdeploy]位于org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1957)
[wsejbdeploy]位于com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension$RunDeploy.execute(BatchExtension.java:321)
[wsejbdeploy]位于com.ibm.etools.ejbdeploy.batch.plugin.BatchExtension.run(BatchExtension.java:284)
[wsejbdeploy]位于sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)
[wsejbdeploy]位于sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
[wsejbdeploy]位于sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
[wsejbdeploy]位于java.lang.reflect.Method.invoke(Method.java:618)
[wsejbdeploy]位于org.eclipse.equinox.internal.app.eclipseeappcontainer.callMethodWithException(eclipseeappcontainer.java:587)
[wsejbdeploy]位于org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
[wsejbdeploy]位于org.eclipse.core.runtime.internal.adapter.eclipseeappluncher.runApplication(eclipseeappluncher.java:110)
[wsejbdeploy]位于org.eclipse.core.runtime.internal.adapter.eclipseeappluncher.start(eclipseeappluncher.java:79)
[wsejbdeploy]位于org.eclipse.core.runtime.adapter.EclipseStarter.run(EclipseStarter.java:369)
[wsejbdeploy]位于sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)
[wsejbdeploy]位于sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
[wsejbdeploy]位于sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
[wsejbdeploy]位于java.lang.reflect.Method.invoke(Method.java:618)
[wsejbdeploy]位于com.ibm.etools.ejbdeploy.batch.impl.BootLoaderLoader.run(BootLoaderLoader.java:494)
[wsejbdeploy]位于com.ibm.etools.ejbdeploy.batch.impl.BatchDeploy.execute(BatchDeploy.java:114)
[wsejbdeploy]位于com.ibm.etools.ejbdeploy.ejbdeploy.execute(ejbdeploy.java:106)
[wsejbdeploy]位于com.ibm.etools.ejbdeploy.ejbdeploy.deploy(ejbdeploy.java:348)
[wsejbdeploy]位于com.ibm.etools.ejbdeploy.ejbdeploy.main(ejbdeploy.java:309)
[wsejbdeploy]EJBDeploy级别:@build@
[回声]****错误w