Skip to main content

JXTA works in which Run Time Environments?

3 replies [Last post]
jwhitmore
Offline
Joined: 2005-05-04
Points: 0

Hello all,
I'm doing a project on a gumstix and wanted to use JXTA. Now the gumstix is a bit limited in the number of JRE's that are available, as far as I know. I built JamVM and Classpath and installed both of them to try out JXTA but I got a compatibility error:

WARNING: Failure handling compatibility statement
java.lang.NullPointerException
at net.jxta.impl.peergroup.StdPeerGroup.isCompatible(StdPeerGroup.java:426)
at net.jxta.impl.peergroup.GenericPeerGroup$1.compatible(GenericPeerGroup.java:148)
at net.jxta.impl.loader.RefJxtaLoader.findClass(RefJxtaLoader.java:254)
at net.jxta.impl.loader.RefJxtaLoader.findModuleImplAdvertisement(RefJxtaLoader.java:350)
at net.jxta.impl.peergroup.StdPeerGroup.getDefaultModuleImplAdvertisement(StdPeerGroup.java:325)
at net.jxta.impl.peergroup.StdPeerGroup.(StdPeerGroup.java:143)
at net.jxta.peergroup.WorldPeerGroupFactory.getDefaultWorldPeerGroupClass(WorldPeerGroupFactory.java:237)
at net.jxta.peergroup.WorldPeerGroupFactory.(WorldPeerGroupFactory.java:178)
at net.jxta.peergroup.NetPeerGroupFactory.(NetPeerGroupFactory.java:205)
at net.jxta.platform.NetworkManager.startNetwork(NetworkManager.java:410)

Can anybody point me to the runtime environments which JXTA is know to work in.

Thanks for any help

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vonazor
Offline
Joined: 2007-09-10
Points: 0

We had an issue with IBM JMV for Mainframe and the specific test which is done on
net.jxta.impl.peergroup.CompatibilityUtils.isCompatible(Element compat) failed because
Package.getPackage("java.lang").getSpecificationVersion() returned null.

except this JXTA runs OK on mainframe on jvm 1.6 (from BM)

So maybe JamVM is compatible except this specific package information.

Hope that it helps

vonazor
Offline
Joined: 2007-09-10
Points: 0

> To: dev@jxta.dev.java.net
> Subject: Re: [jxta-dev] jxta on which JRE's
>
> I don't know if I should continue this discussion here, the forum or
> user@jxta.dev.java.net.
>
> For the moment can I ask how you managed to get the IBM JVM working
> with
> jxta? I'm not much of a Java programmer but did you have to change the
> IBM JVM to get jxta to run?
>

It was a POC - so for the sake of POC all we did is changed the implementation to check for null and in case of null answer positively - do not fail the compatibility check.

Technically I checked out the jxta code, changed the implementation, compiled, replaced the specific class in jxta.jar and put it on the problematic machine.

jwhitmore
Offline
Joined: 2005-05-04
Points: 0

Thanks for that I'll check into the error I'm getting and see if I can do the same.