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: 518
Currently Online:
20 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
hbrackel: 135
pramanj: 86
Francesco Zambon: 81
rocket science: 77
Ibrahim: 76
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
fred: 41
Member Stats:
Guest Posters: 0
Members: 682
Moderators: 16
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1467
Posts: 6261
Newest Members:
karrimacvitie5, graciela2073, sagarchau, elviralangwell4, Donnavek, Eddiefauth, DonaldPooma, fidelduke938316, Jan-Pfizer, DavidROuncModerators: Jouni Aro: 1010, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 983, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 321, Lusetti: 0, Ari-Pekka Soikkeli: 5
Administrators: admin: 1