Skip to main content

configuration errors

1 reply [Last post]
shan16
Offline
Joined: 2009-01-27

I included the jxta2.3 package.... and when i execute the peer group creation coding, given in programmer's guide.. i get the following errors..

WARNING: Unhandled Element: net.jxta.impl.document.LiteXMLElement@1d2068d / isOf
f = <>

java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider
at net.jxta.impl.peergroup.ConfigDialog.saveValues(ConfigDialog.java:198
8)
at net.jxta.impl.peergroup.ConfigDialog.access$700(ConfigDialog.java:123
)
at net.jxta.impl.peergroup.ConfigDialog$3.actionPerformed(ConfigDialog.j
ava:1572)
at java.awt.Button.processActionEvent(Button.java:388)
at java.awt.Button.processEvent(Button.java:356)
at java.awt.Component.dispatchEventImpl(Component.java:3984)
at java.awt.Component.dispatchEvent(Component.java:3819)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Exception in thread "main" net.jxta.exception.JxtaError: Canceled during configu
ration
at net.jxta.impl.peergroup.ConfigDialog.untilDone(ConfigDialog.java:1632
)
at net.jxta.impl.peergroup.DefaultConfigurator.getPlatformConfig(Default
Configurator.java:222)
at net.jxta.impl.peergroup.NullConfigurator.getConfigParams(NullConfigurator.java:162)
at net.jxta.peergroup.PeerGroupFactory.newPlatform(PeerGroupFactory.java
:403)
at net.jxta.peergroup.PeerGroupFactory.getWorldPeerGroup(PeerGroupFactory.java:574)
at net.jxta.peergroup.PeerGroupFactory.newNetPeerGroup(PeerGroupFactory.java:545)
at PeerGroupCreate.startJxta(PeerGroupCreate.java:29)
at PeerGroupCreate.main(PeerGroupCreate.java:18)

Is this due to wrong package usage or wrong data given by me in the configurator window?

Can somebody help me out of this.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
iiggoorr
Offline
Joined: 2008-09-22

Hi,
First of all, why don't you use JXTA 2.5?

Regarding your problem i think that
java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider

is here because you didn't add bcprov-jdk*.jar in your library. that jar is included in JXSE package, et list in jxse 2.5 package.