Comments (2)
Notes from Steve:
I have not seen this error message before. However, a web search indicates that its likely that bouncy castle class files are being loaded from different jars - that are not compatible with each other. I inspected a couple of jars in the lib directory and found that ...
i2p-0.8.5-0.jar contains org.bouncycastle.crypto.Digest.class
bcprov-jdk16-136.jar contains org.bouncycastle.crypto.Digest.class
I attempted to confirm the cause by executing Java with the -verbose option to record the jars from which the org.bouncycastle.crypto classes are loaded. I found that they are all loaded from bcprov-jdk16-136.jar. I tried removing bcprov-jdk16-136.jar from the lib directory, and the application fails to launch because it cannot find org.bouncycastle.jce.provider.BouncyCastleProvider.
I tried upgrading bcprov-jdk16-136.jar to bcprov-jdk16-140.jar and same problem.
I explicitly set the class path jar file order to ...cp=lib/clj-record-1.0.1.jar
cp=$cp:lib/clojure-1.2.1.jar
cp=$cp:lib/clojure-contrib-1.2.0.jar
cp=$cp:lib/clojure-tools-1.0.0.jar
cp=$cp:lib/commons-codec-1.5.jar
cp=$cp:lib/commons-lang-2.5.jar
cp=$cp:lib/darkexchange-1.0.0-BETA.jar
cp=$cp:lib/drift-1.2.1.jar
cp=$cp:lib/h2-1.2.137.jar
cp=$cp:lib/i2p-0.8.5-0.jar
cp=$cp:lib/log4j-1.2.16.jar
cp=$cp:lib/miglayout-3.7.4.jar
cp=$cp:lib/mstreaming-0.8.5-0.jar
cp=$cp:lib/seesaw-1.0.6.jar
cp=$cp:lib/streaming-0.8.5-0.jar
cp=$cp:lib/bcprov-jdk16-140.jar
cp=$cp:resources
But the same problem occurred.
Then I removed the org.bouncycastle package from i2p-0.8.5-0.jar with the Ubuntu File Roller graphical utility, and the problem went away. The search feature returns no results for the couple of choices that I tried, but there was no security exception.
Here is the relevant part of the log ...
INFO [config.db-config]: Environment: :production
DEBUG [darkexchange.database.h2]: Executing query: ["SELECT * FROM schema_info LIMIT 1"]
INFO [darkexchange.database.migrate]: schema_info exists
DEBUG [darkexchange.database.h2]: Executing query: ["SELECT * FROM schema_info LIMIT 1"]
INFO [drift.runner]: Current database version: 7
INFO [drift.runner]: Updating to version: 7
INFO [drift.runner]: No changes were made to the database.
INFO [darkexchange.model.server]: Initializing server.
INFO [darkexchange.model.listeners.listener-init]: Adding listeners.
INFO [darkexchange.model.actions.action-init]: Adding actions.
Hope this is helpful.
-Steve
from dark-exchange.
I've created a new I2P jar without the reference to bouncy castle and uploaded it to my clojars account. I haven't heard of any issues since.
from dark-exchange.
Related Issues (20)
- Show only online identities checkbox. HOT 1
- Default focus for the password field on the login window. HOT 1
- Add timestamp to logs HOT 1
- Exception when logging in.
- Choose multiple transfer methods when creating an offer
- Choose multiple transfer methods when searching
- Add Liberty Reserve as a payment type. HOT 1
- Add Paxum as a payment type. HOT 1
- Add Paypal as a payment type. HOT 1
- Add Pecunix as payment type. HOT 1
- Add Namecoin as a currency.
- Remove identities not seen on the network for a month.
- Remove peers not seen on the network for a month.
- startup instructions HOT 1
- Exception when creating a new user HOT 2
- Cannot open <#<Timestamp>> as an InputStreamException when viewing an open order HOT 5
- Display a warning message when I2P cannot be found.
- Running multiple searches at the same time.
- Add an in person transfer option.
- I've got this error, need help please
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dark-exchange.