Open stegal-bh opened 2 weeks ago
It looks as though no logger class files were found in your class path. (I spent a few minutes trying to add one on my machine without success). I would expect if you manually added a logger class to your command it should find it.
Not sure if you mentioned if it exits afterwards or not. If it does you might need to create the config file, this should be based on the sample config.yml in the main/resources directory (make sure to uncomment the security directory you want to use). Otherwise fixing the logging issue would give you more information.
Hi @hutcheb, I have found the problem. I added slf4j-simple as dependency
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>2.0.13</version>
</dependency>
and uncommented dir: "./security"
in yml config file and now it's working fine.
thanks
Hi @hutcheb, I have found the problem. I added slf4j-simple as dependency
<dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>2.0.13</version> </dependency>
and uncommented
dir: "./security"
in yml config file and now it's working fine.thanks
Does that mean this issue can be closed?
Well I think it hasn#t been changed in the code ... so I would say: nope.
When running the opcua-server in SNAPSHOT, I'm getting this message:
cdutz@MacBook-Pro-von-Christofer target % java -jar plc4x-opcua-server-0.13.0-SNAPSHOT.jar -c config.yml -i
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
Could someone from the OPC-UA folks please have a look at it? @hutcheb @splatch ?
Ok ... so I had a look at the OPC-UA server in it's current state and it was definitely missing some configuration to merge all driver configs. I was only able to start it with one driver available, as the shade plugin was overwriting the META-INF/services/ property files instead of merging them ... after adding that transformer, I was able to start the OPC-UA server without errors and without the logging message. I think this issue can be closed ... do you agree?
What happened?
I was running plc4x-opcua-server jar file, but I got the following error:
JDK version: "17.0.9" 2023-10-17 LTS Maven version: Apache Maven 3.9.7
My steps performed:
mvn package
commandjava -jar plc4x-opcua-server-0.12.0-uber-jar.jar -c config.yml -i
commandVersion
v.0.12.0
Programming Languages
Protocols