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: 346
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: 1919

Currently Online:
16 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Heikki Tahvanainen: 402

hbrackel: 144

rocket science: 88

pramanj: 86

Francesco Zambon: 83

Ibrahim: 78

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

Member Stats:

Guest Posters: 0

Members: 735

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1523

Posts: 6449

Newest Members:

rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger, howardkennerley, Thomassnism, biancacraft16

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0

Administrators: admin: 1