We're using OSGI and want to write a JUnit Systemtest. We have one component, that interacts with the database using the Java Persistence API (JPA). When we're launching the test, we get an error message, that the database component couldn't be activated.
We think, that this error occurs, because jpa doesn't find the persistence.xml. But we tried copying the file on quite every possible location we could think of. Everytime the same error occured. Does anybody know a solution?
osgi> 10:03:49.461 [Component Resolve Thread] DEBUG f.d.s.system.test.SystemTest - started ERROR 22 [SCR] Cannot activate instance ...