Hey,
thanks for the fast answer! This helps a lot. But I still have a lot of hassle with installing and running.
I needed to install Rio on an other Machine. For me, it did not work with idk 9 because it has a problem with lower source and target configurations than 1.5. I added:
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
But in the end it did not work anyway. So I downgraded to idk 8, which works now. Does anyone had the same issue?
No I can install, deploy and see the ui without errors. But I am not able to run mvn test -Dtest=ITCalculatorClientTest. I tried with rio-5.0 and rio-5.6.
So, when I run mvn test -Dtest=ITCalculatorClientTest from the calculation-service directory I get the Error message:
java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
at java.security.AccessController.checkPermission(AccessController.java:884)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.SecurityManager.checkSetFactory(SecurityManager.java:1664)
at java.net.URL.setURLStreamHandlerFactory(URL.java:1116)
at org.rioproject.test.RioTestRunner.<clinit>(RioTestRunner.java:72)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[..]
I looked into RioTestRunner, but I have no clue how to fix or search for other solutions.
When I run the following command: "sudo -E mvn -Dtest=ITCalculatorClientTest test". It this outputs the same error.
When I run: "mvn test" from the calculator-service directory, it does not produce any error.
When I run: "mvn install" from the calculator-service directory, it seems to actually does some calculations. See the output here:
https://pastebin.com/BmumsNPb
When trying to fix it, I have the problems to run into big javastack traces which relate to maven files I have no clue about.
I am pretty sure that the cybernode etc. does run properly since in the ui everything is green and fine.
(can't I test the client in the ui? It would be perfect to just click on the calc service and say add(5,3).)
So yes, hopefully you have enough information to help me. Or post a setup where this works. Right now I am using the following:
Linux ubuntu 4.10.0-35-generic #39~16.04.1-Ubuntu SMP Wed Sep 13 09:02:42 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-2ubuntu1.16.04.3-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
Apache Maven 3.3.9
Maven home: /usr/share/maven
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.10.0-35-generic", arch: "amd64", family: "unix"
Rio 5.0 / Rio 5.6