Article - CS90304

How to redirect the directory for temporary files of the Integrity Server

Modified: 21-Jun-2018   


Applies To

  • PTC RV&S (formerly Integrity Lifecycle Manager) 2009 to 12.1

Description

  • How to redirect the directory we are storing our temporary files on the Integrity Server?
  • Where are temporary files stored for the Integrity Server?
  • Can I change the temp directory?
  • During server start up there is following error message in the server.log:
ERROR [org.apache.catalina.startup.Embedded] Cannot find specified temporary folder at C:\Windows\system32\config\systemprofile\AppData\Local\Temp\
  • Integrity server fails to start
  • Errors in server.log:
    • Unable to start the service - The system cannot find the file specified. (0x2)
    • Unable to create temporary file in directory C:\Windows\system32\config\systemprofile\AppData\Local\Temp\. An exception occurred: The system cannot find the path specified. Ensure that the directory exists and that the Integrity Server has permission to write to it.Service Configuration not started due to errors: Service mks:name=SysConfig not started due to errors: Unable to create temporary file in directory C:\Windows\system32\config\systemprofile\AppData\Local\Temp\. An exception occurred: The system cannot find the path specified. Ensure that the directory exists and that the Integrity Server has permission to write to it.
    • mks.frame.app.commands.CommandFailedException: The system cannot find the path specified
      at mks.ic.common.commands.AbstractDiagCommand.execute(AbstractDiagCommand.java:277)
      at mks.ic.common.commands.SadCommand.doCommandActions(SadCommand.java:144)
      at mks.frame.app.commands.Command.internalInvoke(Command.java:643)
      at mks.frame.app.commands.Command.invokeSubcommand(Command.java:420)
      at mks.frame.app.commands.Command.invokeSubcommand(Command.java:504)
      at mks.frame.app.commands.Command.invokeSubcommand(Command.java:471)
      at mks.frame.app.commands.Command.invokeSubcommand(Command.java:528)
      at mks.ic.common.commands.AbstractSupportPackageCommand.execute(AbstractSupportPackageCommand.java:106)
      at mks.ic.common.commands.SadCommand.doCommandActions(SadCommand.java:144)
      at mks.frame.app.commands.Command.internalInvoke(Command.java:643)
      at mks.frame.app.commands.Command.invoke(Command.java:277)
      at mks.frame.app.ui.Interactor.invokeCommandWithException(Interactor.java:77)
      at mks.ic.common.ui.swing.ServerDiagnosticsPanel$RunCommandAction.doModelAction(ServerDiagnosticsPanel.java:1902)
      at mks.frame.app.ui.swing.ActionProcessor.perform(ActionProcessor.java:425)
      at mks.frame.app.ui.swing.ActionProcessor$Dequeuer$1.run(ActionProcessor.java:694)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: java.io.IOException: The system cannot find the path specified
      at org.sapia.ubik.rmi.server.RemoteRefEx.invoke(RemoteRefEx.java:106)
      at mks.util.MKSProxy.invokeDelegate(MKSProxy.java:291)
      at mks.util.MKSProxy.invokeInternal(MKSProxy.java:266)
      at mks.util.MKSProxy.invokeInternal(MKSProxy.java:230)
      at mks.frame.rmi.NetCommonServices$ProxyRmi.invoke(NetCommonServices.java:385)
      at mks.util.MKSProxy.invokeDelegate(MKSProxy.java:291)
      at mks.util.MKSProxy.invokeInternal(MKSProxy.java:266)
      at mks.util.MKSProxy.invokeInternal(MKSProxy.java:230)
      at mks.rmi.RmiStubHandler.access$000(RmiStubHandler.java:28)
      at mks.rmi.RmiStubHandler$1.call(RmiStubHandler.java:72)
      at mks.ubik.transport.beep.RmiInvocationAction.call(RmiInvocationAction.java:152)
      at mks.ubik.transport.beep.RemoteConnections.doAsOutgoingInternal(RemoteConnections.java:110)
      at mks.ubik.transport.beep.BeepConnections.invoke(BeepConnections.java:209)
      at mks.rmi.MksRmiConnection.invoke(MksRmiConnection.java:490)
      at mks.rmi.RmiStubHandler.invoke(RmiStubHandler.java:83)
      at $Proxy14.adminAction(Unknown Source)
      at mks.frame.rmi.NetServerInfoManager.adminAction(NetServerInfoManager.java:231)
      at mks.ic.common.commands.DiagCommand.performAdminAction(DiagCommand.java:53)
      at mks.ic.common.commands.AbstractDiagCommand.execute(AbstractDiagCommand.java:259)
      ... 17 more
This is a printer-friendly version of Article 90304 and may be out of date. For the latest version click CS90304