Debug in Eclipse Mx5.4 problems felix cache

0
At first is not possible to start the Mx 5.4 project within Eclipse. Changing to JRE to version 1.7 will make it run but will show a lot of error in the consoles: What is going on here? Thank you ERROR: Error reloading cached bundle, removing it: .\run\felixcache\bundle1 (java.io.FileNotFoundException: .\run\felixcache\bundle1\bundle.location (The system cannot find the file specified)) java.io.FileNotFoundException: .\run\felixcache\bundle1\bundle.location (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at org.apache.felix.framework.util.SecureAction$Actions.run(SecureAction.java:1565) at java.security.AccessController.doPrivileged(Native Method) at org.apache.felix.framework.util.SecureAction.getFileInputStream(SecureAction.java:439) at org.apache.felix.framework.cache.BundleArchive.readLocation(BundleArchive.java:1106) at org.apache.felix.framework.cache.BundleArchive.readBundleInfo(BundleArchive.java:973) at org.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.java:182) at org.apache.felix.framework.cache.BundleCache.getArchives(BundleCache.java:247) at org.apache.felix.framework.Felix.init(Felix.java:705) at org.apache.felix.main.Main.main(Main.java:289) ERROR: Error reloading cached bundle, removing it: .\run\felixcache\bundle10 (java.io.FileNotFoundException: .\run\felixcache\bundle10\bundle.location (The system cannot find the file specified)) java.io.FileNotFoundException: .\run\felixcache\bundle10\bundle.location (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at org.apache.felix.framework.util.SecureAction$Actions.run(SecureAction.java:1565) at java.security.AccessController.doPrivileged(Native Method) at org.apache.felix.framework.util.SecureAction.getFileInputStream(SecureAction.java:439) at org.apache.felix.framework.cache.BundleArchive.readLocation(BundleArchive.java:1106) at org.apache.felix.framework.cache.BundleArchive.readBundleInfo(BundleArchive.java:973) at org.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.java:182) at org.apache.felix.framework.cache.BundleCache.getArchives(BundleCache.java:247) at org.apache.felix.framework.Felix.init(Felix.java:705) at org.apache.felix.main.Main.main(Main.java:289)
asked
1 answers
0

This issue occurs when you run Mendix from within you Eclipse. When you are stopping your Mx app by the debug 'Terminitate' button in Eclipse. And not via the console, it will keep running in the background. This will result in the errors above when you try to start up a other instance of the Mendix server.

Prevent it: Stop the Mx server via the Mendix console Log To solve it when it occurs: check in your task manager the running javaw.exe process of the Mendix app and kill it. (don't kill Eclipse it also runs with javaw.exe)

Cheers!

answered