Discussion:
File ".profile" does not exist or cannot be read
herbison
2013-08-13 11:44:29 UTC
Permalink
Can someone tell me why that when i place this in my mule 3 config file:

...
<file:connector name="fileConnector" pollingFrequency="10000"
streaming="true" autoDelete="false">
<service-overrides
messageFactory="org.mule.transport.file.FileMuleMessageFactory"

inboundTransformer="com.l1id.opennetwork.transport.mule.FileToMessageTransformer"

outboundTransformer="org.mule.transport.file.transformers.FileToByteArray"
/>
</file:connector>

<flow name="inboundFlow">
<composite-source>
<file:inbound-endpoint connector-ref="fileConnector"
path="${mule.in.dir}" moveToDirectory="${mule.out.dir}">
</file:inbound-endpoint>
...

I get this error:

2013-08-08 13:05:45.752 [ERROR]
[[DataSecurityService].fileConnector.receiver.01]
org.mule.exception.DefaultSystemExceptionStrategy:312 -
********************************************************************************
Message : File ".profile" does not exist or cannot be read
Type : org.mule.api.DefaultMuleException
Code : MULE_ERROR-6
JavaDoc : http://www.mulesoft.org/docs/site/cur...
********************************************************************************
Exception stack is:
1. File ".profile" does not exist or cannot be read
(org.mule.api.DefaultMuleException)
org.mule.transport.file.FileMessageReceiver:608
(http://www.mulesoft.org/docs/site/cur...)
********************************************************************************
Root Exception stack trace:
org.mule.api.DefaultMuleException: File ".profile" does not exist or cannot
be read
at
org.mule.transport.file.FileMessageReceiver.attemptFileLock(FileMessageReceiver.java:608)
at
org.mule.transport.file.FileMessageReceiver.processFile(FileMessageReceiver.java:290)
at
org.mule.transport.file.FileMessageReceiver.poll(FileMessageReceiver.java:238)
at
org.mule.transport.AbstractPollingMessageReceiver.performPoll(AbstractPollingMessageReceiver.java:219)
at
org.mule.transport.PollingReceiverWorker.poll(PollingReceiverWorker.java:84)
at
org.mule.transport.PollingReceiverWorker.run(PollingReceiverWorker.java:53)
at org.mule.work.WorkerContext.run(WorkerContext.java:311)
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)



--
View this message in context: http://mule.1045714.n5.nabble.com/File-profile-does-not-exist-or-cannot-be-read-tp5718541.html
Sent from the Mule - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Loading...