Jetty may fail to start when Sentinel Link is enabled.

  • 7011256
  • 25-Oct-2012
  • 26-Oct-2012

Situation

Sentinel web UI (jetty) fails to load after a restart. When sentinel link is enabled.


 Message in the Server0.0 log

|WARNING|Container Startup
Thread|org.eclipse.jetty.util.component.AbstractLifeCycle.setFailed
 Error: java.io.IOException: Cannot bind to URL [rmi://localhost:1099/jmxrmi]:
javax.naming.NoInitialContextException: Cannot instantiate class:
org.apache.naming.java.javaURLContextFactory [Root exception is
java.lang.ClassNotFoundException:
org.apache.naming.java.javaURLContextFactory]; Caused by:
javax.naming.NoInitialContextException: Cannot instantiate class:
org.apache.naming.java.javaURLContextFactory [Root exception is
java.lang.ClassNotFoundException:
org.apache.naming.java.javaURLContextFactory]:FAILED


*note*
Events will continue to be processed by the system. The only affected area is the Web UI.

Resolution

Explicitly specify jetty's InitialContextFactory class in
the environment passed to jetty's JMX ConnectorService instance.

Please contact Global Technical Services for instruction's and the updated jetty.jmx.xml file.

This issue has been reported to engineering and will be addressed in the next hot fix release of Sentinel.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.