

18:01, EEST

August 20, 2014

Hi,
i wrote an OPC UA Client Application with the prosys SDK. If i run the application from my ide “Netbeans” it runs without problems. But if i create a jar-with-dependencies and run it in another folder i get the error: localApplicationInstanceCertificate is null.
It creates all the folders under PKI and also the .der file is created correctly. The .pem file is created but has a size of 0 KB. What could be the reason for this?
Thanks
Regards
Ibrahim
18:38, EEST

April 3, 2012

Hi,
I assume that is some kind of “uber-jar” option, which creates only one jar with all dependencies extracted to that (I have not used Netbeans in a while).
Anyway, please use another option that is similar to “Copy required libraries into a sub-folder next to the generated JAR” (that is from Eclipse, but I would assume Netbeans has a similar option). The bouncy castle libraries do not work if the their jars are changed as they do some kind of signature check. I would assume this causes the problem, however if it still happens even with that option that keeps the jars separate, then will have to do more investigation.
– Bjarne
Most Users Ever Online: 1919
Currently Online:
23 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 90
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 742
Moderators: 8
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1544
Posts: 6513
Newest Members:
SamuelGed, Joseph, GregoryLet, CharlesDum, cbd gummies, Keithwearp, Williamcor, jodiexae492966, fayetozer72, anglea06o05589Moderators: Jouni Aro: 1029, Pyry: 1, Petri: 0, Bjarne Boström: 1044, Jimmy Ni: 26, Matti Siponen: 353, Lusetti: 0, Elias: 0
Administrators: admin: 1