JMule project forum
http://forum.jmule.org/

Problem searching [solved]
http://forum.jmule.org/viewtopic.php?f=7&t=680
Page 1 of 1

Author:  fabtar [ Sat Dec 19, 2009 3:51 pm ]
Post subject:  Problem searching [solved]

I have installed jmule 0.5.0 on my opensuse 11 x64.
I have had to install an additional jvm 32bit in order to get things running, this problem is related to swt libraries and should be pointed in installation instructions.
The GUI is very nice and resemble emule's style perfectly!

The problem is that I am able to correctly connect to the server but I am not able to get a single search result from servers (or kad, I suppose your jmule executes both searches).
Jmule is currently firewalled and gets lowid but I suppose this may not be a problem.
Regards.

P.s: Your jmule project is a good idea and I have expected far more java developers to join your effort cause java is a very spread programming language.
Keep doing! and thanks for coding...

Author:  javajox [ Sun Dec 20, 2009 7:28 pm ]
Post subject:  Re: Problem searching

Hello,

Can you provide more info about the issue ? stack traces, logs...

Author:  fabtar [ Mon Dec 21, 2009 9:35 am ]
Post subject:  Re: Problem searching

This is about the jvm 64 bit issue:

Code:
java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
        at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
        at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
        at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
        at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:186)
        at org.jmule.main.Main.main(Main.java:62)

But I suppose this is a well-knonw issue, I have never heard about 32bit swt librariers..perhaps am I wrong?
I have manually installed 32 bit jvm and used this command:
Code:
~/pathToMyJvm/java -Xmx128m -cp lib/swt-linux/swt.jar:lib/swingx-0.9.3.jar:jmule.jar:. org.jmule.main.Main


About search results, I have solved today. The default server list which is provided with jmule 0.5 was the cause. Updating with last peerates list has solved the issue.
It is working fair well but there is a minor issue.
When connecting to a server, jmule always gets new server names and adresses and populates the server list.
This gives no control to the user. In fact I get 102 servers which is much more than my usual 27 servers.
I suggest to add the chance to disable serverlist updates from server. I think this is not a minor feature.
Jmule is working like a charme.
Sorry for false alarm and thanks again

Author:  javajox [ Mon Dec 21, 2009 5:27 pm ]
Post subject:  Re: Problem searching [solved]

> 64 bit SWT issue
SWT libraries do exist for many platforms as well as for 64bit machines, take a look at : http://download.eclipse.org/eclipse/dow ... ex.php#swt
but in our development lab we didn't tested it (lack of resources)

> About search results, I have solved today. The default server list which is provided with jmule 0.5 was the cause. Updating with last peerates list has solved the issue
Great !

> When connecting to a server, jmule always gets new server names and adresses and populates the server list
You can change the default behaviour there : Tools -> Options -> Update server list on connect to server

> Sorry for false alarm...
No problem, the community feedback is very worthful for us

Author:  fabtar [ Mon Dec 21, 2009 7:02 pm ]
Post subject:  Re: Problem searching [solved]

javajox wrote:
> 64 bit SWT issue
SWT libraries do exist for many platforms as well as for 64bit machines, take a look at : http://download.eclipse.org/eclipse/dow ... ex.php#swt
but in our development lab we didn't tested it (lack of resources)

It looks like a recent update, time ago I have looked for them and I have found out discussion about lacking of 64 bit swt libraries.
In this case it is better to bundle 64 bit libraries too with jmule.
Quote:
> When connecting to a server, jmule always gets new server names and adresses and populates the server list
You can change the default behaviour there : Tools -> Options -> Update server list on connect to server


Usually I'm far more autonomus, I have not seen the option :-).
Your jmule looks very usable yet. It rocks.
Regards

P.s. update serverlist from URL should be a good feature too.

Author:  javajox [ Sun Dec 27, 2009 5:51 pm ]
Post subject:  Re: Problem searching [solved]

Hi,

> In this case it is better to bundle 64 bit libraries too with jmule
Yes, probably we'll build a separate bundle of JMule containing the SWT library for 64bits machines and distribute it as a separate package

> update serverlist from URL should be a good feature too
This feature will be added in the future releases

Good points

Thank you

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/