You can set autoCreate=false, then the file consumer will still
startup, but can't pickup files, until the mapped drive works for it.


On Thu, Sep 13, 2012 at 2:06 PM, Pontus Ullgren <ullg...@gmail.com> wrote:
> Hello,
>
> I would guess that the problem is just that. Since tomcat is running
> as the System account it does not have the same mapped driver.
>
> Have you tried to access the share not using the mount letter (h:) but
> using a UNC path instead (\\server\share\file_path) ?
>
> Also make sure that the tomcat service is running as a user that has
> permission to access the driver.
> Or you can try the camel-smb component [1] which lets you specify the
> user to use when accessing the share.
>
> [1] https://github.com/Redpill-Linpro/camel-smb
> Best regards
> Pontus Ullgren
>
>
>
> On Thu, Sep 13, 2012 at 12:40 PM, mathbarth
> <mathieu.barthel...@sls.aphp.fr> wrote:
>>
>> Camel 2.10.1 traces the following warning message when starting the route:
>>
>> "Cannot auto create starting directory h:/myRemoteFolder"
>>
>> Mount is alright and I can create folder manually.
>>
>> Camel is loaded within a Spring web application in the Apache tomcat
>> container. I guess that I mistake the permissions of the windows user
>> starting the tomcat service...
>>
>> Mathieu
>>
>>
>>
>> --
>> View this message in context: 
>> http://camel.465427.n5.nabble.com/Windows-2003-server-mount-tp5719101p5719268.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to