Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
I am getting error while trying to connect opc simulation error with java client
October 12, 2021
16:29, EEST
Avatar
murugan1991info
Member
Members
Forum Posts: 7
Member Since:
October 1, 2021
sp_UserOfflineSmall Offline

Getting Below error while trying to connect simulation server with java client

* Running in EVALUATION mode
* Connections will close after 119 minutes

log4j:WARN No appenders could be found for logger (com.prosysopc.ua.UaApplication).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4…..l#noconfig for more info.
Exception in thread “main” java.lang.NoClassDefFoundError: org/bouncycastle/operator/OperatorCreationException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.prosysopc.ua.stack.utils.CertificateUtils.getCertificateProvider(SourceFile:510)
at com.prosysopc.ua.stack.utils.CertificateUtils.decodeX509Certificate(SourceFile:440)
at com.prosysopc.ua.stack.transport.security.Cert.(SourceFile:85)
at com.prosysopc.ua.client.UaClient.at(SourceFile:6246)
at com.prosysopc.ua.client.UaClient.connect(SourceFile:1006)
at com.prosysopc.ua.samples.client.SimpleClient.main(SimpleClient.java:33)
Caused by: java.lang.ClassNotFoundException: org.bouncycastle.operator.OperatorCreationException
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
… 8 more

October 13, 2021
8:11, EEST
Avatar
Matti Siponen
Moderator
Members

Moderators
Forum Posts: 151
Member Since:
February 11, 2020
sp_UserOfflineSmall Offline

Hello,

This error means that the Bouncy Castle library can’t be found. See the Starting Guide in tutorial folder of the SDK distribution for more information on importing the libraries required by the SDK.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 267

Currently Online:
12 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 111

pramanj: 86

ibrahim: 74

kapsl: 57

gjevremovic: 49

TimK: 41

fred: 41

Xavier: 40

Fransua33: 39

rocket science: 36

Member Stats:

Guest Posters: 0

Members: 1458

Moderators: 17

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1178

Posts: 4983

Newest Members:

ThomasM, louiecrews, wyattcutler005, kristin3354, augustawalpole3, everettpulver, arron51869, roseannagoldschm, moosm, islamaddox

Moderators: Jouni Aro: 906, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 684, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 24, Teppo Uimonen: 21, Markus Johansson: 36, Niklas Nurminen: 0, Matti Siponen: 151, Lusetti: 0

Administrators: admin: 1