Desktop for Eclipse - early start failure
Please see Desktop for Eclipse does not start / VoiceObjects plugin in Eclipse does not start for the main knowledgebase article on startup issues!
Symptoms
The VoiceObjects plugin for eclipse is crashing and is not opening at all. We tried to start it using "eclipse -clean" It did not work. We tried to completely uninstall the Desktop for Eclipse and reinstall it, but it does not work either.
The console log shows only:
[FATAL ERROR] Failed to initialize component 'CommandProcessor' (com.voiceobjects.factory.container.CommandProcessor). Reason:
Could not return a reference to the Component (Key='com.voiceobjects.database.EmbeddedDatabase')
Details:
java.lang.NullPointerException: null.
Detailed Description
Looking deeper in the logs in \plugins\com.voiceobjects.eclipseDesktop_<version>\log\Eclipse_log\System\ one can see that there is an issue with starting the embedded H2 database (SRV_ObjectServer.log):
ERROR [...] Failed to initialize the internal H2 database, sql errors.
org.h2.jdbc.JdbcSQLException: Exception opening port H2 TCP Server (tcp://127.0.0.1:9092) (port may be in use), cause: timeout [90061-115]
Environment
VoiceObjects Desktop for Eclipse 9
VoiceObjects Developer Edition 9
Cause
This behavior can have two causes:
- There is a "zombie" process of Eclipse still running, occupying the port 9092.
- The exact second cause for this behavior is still unknown to Voxeo. While we have seen this behavior in conjunction with security applications we can also not exclude general port conflicts (port 9092) as a possible cause.
Resolution
As we have two possible causese, please check the following two solutions:
- First check if there is a running eclipse process in the process viewer which might still use port 9092.
- As the second cause is so far not 100% clear, the only advice can be to assure that the port 9092 is not already in use by any other application.
Additionally DfE needs to be able to allocate this port (as well as port 8070) and connect to it.