JVM Exiting error when Dependent Module is Removed

thumbnail
Andrew Jardine, modified 6 Years ago. Liferay Legend Posts: 2416 Join Date: 12/22/10 Recent Posts

Hey guys, 

I am hoping that someone else is plagued by this and has a solution for me.I have a module-web with a dependency on sb-module-api. If I remove the sb-module-api, I get an ERROR in the log saying that the module-web can't resolve an Import-Package -- which I expect since I removed it. But, rather than simply stopping the dependent module-web so that it is no longer available, I am getting

[org_apache_felix_fileinstall:112] Exiting the JVM

.. at which point I have to go through a nightmarish process of cleaning the state and removing modules etc. so that I can actually start the server again.
I am on Linux, with the latest JDK 8_191. My friend is on a Mac with JDK 8_125 and has the same experience with the error BUT his JVM does NOT exit.

 

Any suggestions?

thumbnail
Andrew Jardine, modified 6 Years ago. Liferay Legend Posts: 2416 Join Date: 12/22/10 Recent Posts