Open ops4j-issues opened 11 years ago
Harald Wellmann commented
Can't reproduce on 3.0.x branch, see new test
itest/osgi/src/it/regression-multi/src/test/java/org/ops4j/pax/exam/regression/multi/depend/MissingServiceInvokerTest.java
Rescheduled to 3.1.0, needs to be tested on master.
G commented
Cristoph,
I am curious - Are you using Equinox? I ask because I am seeing "no security manager: RMI class loader disabled" errors with Equinox that I don't see with Felix. I am seeing them in a different product though (activemq web console).
Christoph Läubrich commented
Yes, I'm using equinox (3.7) and running the test directly from within eclipse without using maven.
G commented
How are you testing in Eclipse (PDE or Bndtools)? Can you drop back to equinox 3.6 (I didn't have a problem with Equinox 3.6) or try Felix instead? If you have the same experience as me, then it is some change in Equinox 3.7 and onwards causing the problem.
If it is an equinox problem I am surprised that I haven't seen more people reporting the same issue.
Christoph Läubrich commented
I'm using PDE, I might try this next time the error occurs.
> if it is an equinox problem I am surprised that I haven't
> seen more people reporting the same issue
it might because
I know another (not exam related) project also has issues when it comes to RMI and they are using a special policy file to circuvent this together with eclipse. I personally try to avoid the RMI stuff whenever possible :smile:
Raman Gupta commented
> Can you drop back to equinox 3.6 (I didn't have a problem with Equinox 3.6) or try Felix instead?
I had the same issue on Equinox 3.6 (using the Karaf Pax Exam container).
Harald Wellmann commented
Moving to "unscheduled" - don't see how to progress unless someone comes up with a minimal self-contained test to reproduce the problem.
Christoph Läubrich created PAXEXAM-493
Consider the following test case:
This fails with a "service not found in time" in the native container (as intended here) but fails with
in the forked container (if the service is present it runs fine).
When searching for this the policy file is mentioned, but it does not seem to help tp specify one. I have tested this on a 3.1.0 but maybe other versions are affected as well.
Affects: 3.1.0 Fixed in: unscheduled Votes: 0, Watches: 3