Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] XMPP File transfer : Problem while running org.eclipse.ecf.tests.provider.filetransfer.xmpp test from CVS head

Hi Guillaume,

It's possible that there is some configuration on the Openfire server that allows/disallows file transfer...and that it's set to disallow? You might want to check the Openfire config.'s possible that this is a bug introduced by the use of Smack 3.0.0 (rather than 2.2.1, which we were using previously)...or some interaction between 3.0 and the Openfire 3.6.4.

Is there perhaps some output on the server log about this? If so please open bug and attach to the bug...and we'll see if we can figure this out.



Guillaume PRIN wrote:

I use Eclipse Galileo Version: 3.5.1 on an Ubuntu 9.4 box. Openfire 3.6.4 is installed and is running.
Two accounts has been created.

I got the head sources of ECF from CVS (pserver:anonymous@xxxxxxxxxxxxxxx:/cvsroot/rt). I try to execute the tests in org.eclipse.ecf.tests.provider.filetransfer.xmpp, especially the test testTwoClientsToSendAndReceive() in the class XMPPSOutgoingTest. I set the needed vm arguments ( -Dusername0=ecf.test1@XXX -Dusername1=ecf.test2@XXX -Dpassword0=pwd -Dpassword1=pwd) and create the input file (which does not exists in CVS). The test finishes, there is no error, but the file is not transfered. The test does not check if the the file is transfered. The handleFileTransferRequest(IFileTransferRequestEvent event) of IIncomingFileTransferRequestListener of the receiver is never called. So the receiver cannot accept the request.

In the console output, I have :

sender.handleTransferEvent(OutgoingFileTransferResponseEvent[requestAccepted=false]) sender.handleTransferEvent(IOutgoingFileTransferSendDoneEvent[isDone=true;bytesSent=-1;exception=java.lang.IllegalStateException: File transfer in progress or has already completed.])

Do I something wrong ?

ecf-dev mailing list

Back to the top