[
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 Scott,
My Openfire allows file transfer. For example, with pidgin, I can
transfer files with the same accounts. There is no logs in the Openfire
server about the file transfer.
I use the bundles from the CVS, so the version of Smack is 3.1.0. Do you
use different versions of ECF, Smack or Openfire for the tests ?
I went through some files and added traces in the transferThread of the
method startSend() of the class XMPPOutgoingFileTransfer. After calling
the method sendFile() of the OutgoingFileTransfer outgoingFileTransfer,
the status is checked after a 300 ms delay. The status is 'Error' and
there is an exception associated with this outgoingFileTransfer accessed
via the getException() method, here is the stack trace of this exception :
service-unavailable(503)
at
org.jivesoftware.smackx.filetransfer.FileTransferNegotiator.negotiateOutgoingTransfer(FileTransferNegotiator.java:407)
at
org.jivesoftware.smackx.filetransfer.OutgoingFileTransfer.negotiateStream(OutgoingFileTransfer.java:359)
at
org.jivesoftware.smackx.filetransfer.OutgoingFileTransfer.access$0(OutgoingFileTransfer.java:352)
at
org.jivesoftware.smackx.filetransfer.OutgoingFileTransfer$2.run(OutgoingFileTransfer.java:214)
at java.lang.Thread.run(Thread.java:619)
Hope this helps.
Thank you
Guillaume
Scott Lewis wrote:
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.
Also...it'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.
Thanks,
Scott
Guillaume PRIN wrote:
Hi,
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 ?
Thanks,
Guillaume
_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev
_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev