我在App中有一个XML,它正在获取收件箱、处理和错误文件夹的路径,该文件夹在E:\的同一App中也存在。
<channel name="FundSERV XML File Load for Sales Commission" instance="default" user-id="UVSRTP" password="rtp@uvs" class="com.univeris.rtp.channel.MultiThreadedChannel">
<task-executor priority="LOW" threads="1" />
<process-trigger sleep-interval="60000" busy-retry="500" />
<heartbeat interval="60000" />
<stalled-check interval="30000" stall-duration="600000" enable="false" />
- <channel-schedules>
<channel-schedule class="com.univeris.rtp.schedules.ChannelScheduleDisabled" />
</channel-schedules>
- <task-manager class="com.univeris.rtpm.esgffs.task.EsgXmlFileLoadTaskManager" product-code="EWMS" entity-code="default">
- <file-types>
<file-type file-name-descr="WS[PT][a-zA-Z0-9]{7}\.(0[1-9]|1[012])(0[1-9]|[12]\d|3[01])\d\d[a-zA-Z0-9]{4}\.[AZ](0[1-9]|[1-9]\d)" loader-class="com.univeris.rtpm.esgffs.loaders.v23.SalesCommissionsLoader" xml-parent-node="SalesComms" esg-version="23" fas-type="COM" load-complete-sets-only="true" />
</file-types>
- <file-load-paths>
<inbox-path>E:\fundserv-data\esg\SalesComms\inbox</inbox-path>
<processed-path>E:\fundserv-data\esg\SalesComms\processed</processed-path>
<error-path>E:\fundserv-data\esg\SalesComms\error</error-path>
</file-load-paths>
</task-manager>
</channel>现在我想要更改这些路径如下:收件箱:\\SV64050\DLRDEV1-Fundserv-data\esg\SalesComms\inbox processed : \\SV64050\DLRDEV1-Fundserv-data\esg\SalesComms\processed error : \\SV64050\DLRDEV1-Fundserv-data\esg\SalesComms\error
我已经修改了下面所示的XML,但是文件不再从收件箱文件夹中移动,代码或其他问题的有什么问题吗?
<inbox-path>\\SV64050\DLRDEV1-Fundserv-data\esg\SalesComms\inbox</inbox-path>
<processed-path>\\SV64050\DLRDEV1-Fundserv-data\esg\SalesComms\processed</processed-path>
<error-path>\\SV64050\DLRDEV1-Fundserv-data\esg\SalesComms\error</error-path> 发布于 2015-02-11 13:08:39
如果权限和位置都正常,那么问题是来自应用程序,有些应用程序不能接受\ .你应该给它一个驱动器,例如X:\abc.因此,您可以制作一个映射驱动器,并将它们提供给您可以使用的xml:
net use t: \\SV64050\DLRDEV1-Fundserv-data\esg然后像这样修改xml:
<inbox-path>t:\SalesComms\inbox</inbox-path>
<processed-path>t:\SalesComms\processed</processed-path>
<error-path>t:\SalesComms\error</error-path>https://stackoverflow.com/questions/25287236
复制相似问题