It's all about the answers!

Ask a question

Deploy Predefined Templates: IOException thrown


Lin Ye (30632611) | asked Feb 24 '10, 1:39 p.m.
Hi,

I got a strange problem with RTC standard 2.0.0.2 on a 64-bit Windows Server 2008.

I installed the RTC server and configured it running on top of a SQL Server 2008 database server. When I click the "Deploy Predefined Templates" button from the web UI, I got the error message: "Error deploying predefined process templates to the repository. The system cannot find the file specified."

I tried to deploy predefined templates from Eclipse IDE. The error was caught with the following details

com.ibm.team.repository.common.TeamRepositoryException: The system cannot find the file specified.
at com.ibm.team.repository.service.internal.ContentService$4.run(ContentService.java:702)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:320)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:244)
at com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:79)
at sun.reflect.GeneratedMethodAccessor108.invoke(null)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy43.runInTransaction(null)
at com.ibm.team.repository.service.internal.ContentService.doPut(ContentService.java:707)
at com.ibm.team.repository.service.internal.ContentService.doStoreContent(ContentService.java:555)
at com.ibm.team.repository.service.internal.ContentService.access$7(ContentService.java:542)
at com.ibm.team.repository.service.internal.ContentService$3.run(ContentService.java:535)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(RepositoryDatabase.java:466)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$1.run(RepositoryDatabase.java:292)
at com.ibm.team.repository.service.internal.rdb.ConnectionPoolService.withCurrentConnection(ConnectionPoolService.java:331)
at sun.reflect.GeneratedMethodAccessor95.invoke(null)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy21.withCurrentConnection(null)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:288)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:244)
at com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:79)
at sun.reflect.GeneratedMethodAccessor108.invoke(null)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy43.runInTransaction(null)
at com.ibm.team.repository.service.internal.ContentService.storeContent3(ContentService.java:529)
at sun.reflect.GeneratedMethodAccessor158.invoke(null)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy67.storeContent3(null)
at com.ibm.team.process.service.AbstractProcessDefinitionCreator.createContentFromFile(AbstractProcessDefinitionCreator.java:269)
at com.ibm.team.process.service.AbstractProcessDefinitionCreator.createXMLContentFromFile(AbstractProcessDefinitionCreator.java:234)
at com.ibm.team.process.internal.definitions.server.ProcessDefinitionCreator_OpenUp.getProcessSpecification(ProcessDefinitionCreator_OpenUp.java:41)
at com.ibm.team.process.service.AbstractProcessDefinitionCreator.create(AbstractProcessDefinitionCreator.java:167)
at com.ibm.team.process.internal.service.ProcessService$10.run(ProcessService.java:3544)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at com.ibm.team.process.internal.service.ProcessService.deployPredefinedProcessDefinitions(ProcessService.java:3541)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy157.deployPredefinedProcessDefinitions(null)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleMethod(AbstractTeamServerServlet.java:1170)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.executeMethod(AbstractTeamServerServlet.java:926)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doPost(AbstractTeamServerServlet.java:728)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:1754)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:1623)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1536)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:121)
at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:54)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:811)
at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeExceptions(MarshallerUtil.java:326)
at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeExceptions(MarshallerUtil.java:296)
at com.ibm.team.repository.common.internal.marshal.util.MarshallerUtil.decodeFault(MarshallerUtil.java:261)
at com.ibm.team.repository.transport.client.RemoteTeamService.constructExceptionFromFault(RemoteTeamService.java:613)
at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:483)
at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:201)
at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)
at $Proxy19.deployPredefinedProcessDefinitions(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:149)
at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:84)
at $Proxy19.deployPredefinedProcessDefinitions(Unknown Source)
at com.ibm.team.process.internal.client.ProcessClientService$29.run(ProcessClientService.java:1248)
at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1169)
at com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:79)
at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1162)
at com.ibm.team.process.internal.client.ProcessClientService.deployPredefinedProcessDefinitions(ProcessClientService.java:1246)
at com.ibm.team.process.internal.definitions.ide.ui.DeployProcessDefinitions$1.run(DeployProcessDefinitions.java:83)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.io.IOException: The system cannot find the file specified.
at java.io.File.checkAndCreate(File.java:1379)
at java.io.File.createTempFile(File.java:1467)
at com.ibm.team.repository.service.internal.ContentService.createTempContentFile(ContentService.java:953)
at com.ibm.team.repository.service.internal.ContentService.internalStoreContentFileBuffer(ContentService.java:989)
at com.ibm.team.repository.service.internal.ContentService.internalStoreContent(ContentService.java:819)
at com.ibm.team.repository.service.internal.ContentService.access$9(ContentService.java:717)
at com.ibm.team.repository.service.internal.ContentService$4.run(ContentService.java:688)
... 114 more

Anybody got the problem? Thanks

3 answers



permanent link
Lin Ye (30632611) | answered Feb 24 '10, 1:55 p.m.
Anybody knows which file is not found in this case

permanent link
Qiong Feng Huang (76911610) | answered Feb 26 '10, 8:13 p.m.
JAZZ DEVELOPER
In RTC200x, the predefined tempateds are located in the bundle
/com.ibm.team.process.definitions.server/data. You can check it by opening
"/update-site/plugins/com.ibm.team.process.definitions.server_.jar"
and see whether there is a "data" folder inside the jar file and there are
four sub-folder (openup, sample, scrump, simple) under the "data" folder.

You can re-install your RTC. If the problem is still there, I would
suggest you to file a bug.

permanent link
Lin Ye (30632611) | answered Mar 01 '10, 1:41 p.m.
Hi,

Thank you very much for your reply. I got it working later on. It seems that during the deployment process, jazz created temporary files and stored them in some temporary directory on the hard drive. Those temporary files are necessary for the further procedures. While I am working on a remote desktop where I don't have the full permission under the root. Thus the temporary files were not generated and the whole process failed.

This is my guessing because I got a temp file like '\Temp\Temporary 1 for 36.zip\processContent\ScrumProcessTemplate.htm' when I ran it on a local machine with full permission successfully. Anyway it works now.

cheers
Lin

In RTC200x, the predefined tempateds are located in the bundle
/com.ibm.team.process.definitions.server/data. You can check it by opening
"/update-site/plugins/com.ibm.team.process.definitions.server_.jar"
and see whether there is a "data" folder inside the jar file and there are
four sub-folder (openup, sample, scrump, simple) under the "data" folder.

You can re-install your RTC. If the problem is still there, I would
suggest you to file a bug.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.