Hi Prabath,

It seems like the test case is unable to write to the given folder.
Therefore it fails at the locking stage itself.

Check for the folder permissions? Do you only get this with 1.8?


On Mon, Mar 30, 2015 at 6:48 PM, Prabath Ariyarathna <[email protected]>
wrote:

> Hi All.
>
> I ran VFS tests on the java8 as a part of the java8 migration and got
> following exception.
>
> Running org.apache.synapse.transport.vfs.VFSTransportTest
>
> [IsolatedClassLoader@3abfe836] weaveinfo Join point 'method-call(void
> org.apache.axis2.transport.MessageFormatter.writeTo(org.apache.axis2.context.MessageContext,
> org.apache.axiom.om.OMOutputFormat, java.io.OutputStream, boolean))' in
> Type 'org.apache.synapse.transport.vfs.VFSTransportSender'
> (VFSTransportSender.java:265) advised by around advice from
> 'org.apache.axis2.transport.testkit.axis2.LogAspect' (LogAspect.java)
>
> [IsolatedClassLoader@3abfe836] weaveinfo Join point
> 'method-call(org.apache.axiom.om.OMElement
> org.apache.axis2.builder.Builder.processDocument(java.io.InputStream,
> java.lang.String, org.apache.axis2.context.MessageContext))' in Type
> 'org.apache.synapse.transport.vfs.VFSTransportListener'
> (VFSTransportListener.java:637) advised by around advice from
> 'org.apache.axis2.transport.testkit.axis2.LogAspect' (LogAspect.java)
>
> ERROR [main] VFSTransportSender Couldn't send the message to file :
> file:///Users/prabath/projects/esb/jdk_1.8_migration/last/wso2-synapse/modules/transports/core/vfs/target/vfs3/req/in,
> unable to acquire the lock even after 4 retries
>
> ERROR [main] VFSTransportSender Couldn't send the message to file :
> file:///Users/prabath/projects/esb/jdk_1.8_migration/last/wso2-synapse/modules/transports/core/vfs/target/vfs3/req/in,
> unable to acquire the lock even after 4 retries
> Any help is appreciated to solve this.
>
> Thanks
> --
>
> *Prabath Ariyarathna*
>
> *Associate Technical Lead*
>
> *WSO2, Inc. *
>
> *lean . enterprise . middleware *
>
>
> *Email: [email protected] <[email protected]>*
>
> *Blog: http://prabu-lk.blogspot.com <http://prabu-lk.blogspot.com>*
>
> *Flicker : https://www.flickr.com/photos/47759189@N08
> <https://www.flickr.com/photos/47759189@N08>*
>
> *Mobile: +94 77 699 4730 *
>
>
>
>
>
>


-- 

Best Regards,

Malaka Silva
Senior Tech Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/
<http://wso2.com/about/team/malaka-silva/>

Save a tree -Conserve nature & Save the world for your future. Print this
email only if it is absolutely necessary.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to