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:
18 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: 729
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
toneylapham544, rondawolinski7, Marypof5711, roycedelargie91, kourtneyquisenbe, ellis87832073466, zkxwilliemae, gabriellabachus, Deakin, KTP25ZofModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1