Restarting lucee 5 resets password and all settings

Hi,

I updated from lucee 5 from 4.5.
When I restart lucee I lose the password (I need to enter a new password)
and datasources settings (all are gone).

Also when adding a new datasource I get the following error on the
datasource page:
Cannot open server “TRANSIP-VPS” requested by the login. The login failed.

Has this something to do with authentication?
Does anybody know what could be causing this?

Regards,
Nordin

Hi Nordin,

I’m experiencing this as well. I’m working on a Jetty configuration with
lucee 5 and it appears to only happen when using the administrator UI to
restart (clicking the restart button). If I stop the server process and
restart, it comes up fine. Does that sound similar to your situation?

When I tail the log file, I see the following exceptions upon clicking the
“Restart” button in the admin :

java.lang.NullPointerException
at
lucee.runtime.osgi.OSGiUtil.loadBundleFromLocal(OSGiUtil.java:583)
at lucee.runtime.osgi.OSGiUtil.installBundle(OSGiUtil.java:91)
at lucee.runtime.osgi.OSGiUtil.installBundle(OSGiUtil.java:143)
at
lucee.runtime.util.ClassUtilImpl.addBundle(ClassUtilImpl.java:382)
at lucee.loader.osgi.BundleUtil.addBundle(BundleUtil.java:72)
at lucee.loader.osgi.BundleUtil.addBundle(BundleUtil.java:49)
at lucee.loader.osgi.BundleLoader.loadBundles(BundleLoader.java:153)
at
lucee.loader.engine.CFMLEngineFactory.initEngine(CFMLEngineFactory.java:352)
at
lucee.loader.engine.CFMLEngineFactory._restart(CFMLEngineFactory.java:592)
at
lucee.loader.engine.CFMLEngineFactory.restart(CFMLEngineFactory.java:559)
at
lucee.runtime.config.XMLConfigAdmin.restart(XMLConfigAdmin.java:3757)
at lucee.runtime.tag.Admin.doRestart(Admin.java:867)
at lucee.runtime.tag.Admin._doStartTag(Admin.java:804)
at lucee.runtime.tag.Admin.doStartTag(Admin.java:336)
at
restart_cfm$cf.call(/Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/restart.cfm:7)
at
lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:893)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:808)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:803)
at
lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:226)
at
lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:43)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2250)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2242)
at
lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2210)
at
lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:848)
at
lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:103)
at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:837)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174)
at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
at
org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:459)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
at org.eclipse.jetty.server.Server.handle(Server.java:524)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319)
at
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253)
at
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at
org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
at
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
at
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
at
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
at java.lang.Thread.run(Thread.java:745)
java.lang.NullPointerException
at
org.apache.felix.framework.BundleWiringImpl.diagnoseClassLoadError(BundleWiringImpl.java:2732)
at
org.apache.felix.framework.BundleWiringImpl.access$600(BundleWiringImpl.java:79)
at
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2010)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at lucee.runtime.exp.ExceptionHandler.log(ExceptionHandler.java:43)
at
lucee.runtime.PageContextImpl.handlePageException(PageContextImpl.java:1835)
at
lucee.runtime.PageContextImpl.handlePageException(PageContextImpl.java:1805)
at
lucee.runtime.listener.ModernAppListener.onError(ModernAppListener.java:416)
at
lucee.runtime.listener.MixedAppListener.onError(MixedAppListener.java:131)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2261)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2242)
at
lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2210)
at
lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:848)
at
lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:103)
at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:837)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174)
at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
at
org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:459)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
at org.eclipse.jetty.server.Server.handle(Server.java:524)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319)
at
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253)
at
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at
org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
at
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
at
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
at
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
at java.lang.Thread.run(Thread.java:745)
java.lang.NullPointerException
at
org.apache.felix.framework.BundleWiringImpl.diagnoseClassLoadError(BundleWiringImpl.java:2732)
at
org.apache.felix.framework.BundleWiringImpl.access$600(BundleWiringImpl.java:79)
at
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2010)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at lucee.runtime.exp.ExceptionHandler.log(ExceptionHandler.java:43)
at
lucee.runtime.PageContextImpl.handlePageException(PageContextImpl.java:1835)
at
lucee.runtime.PageContextImpl.handlePageException(PageContextImpl.java:1805)
at
lucee.runtime.listener.ModernAppListener.onError(ModernAppListener.java:416)
at
lucee.runtime.listener.MixedAppListener.onError(MixedAppListener.java:131)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2261)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2242)
at
lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2210)
at
lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:848)
at
lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:103)
at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:837)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174)
at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
at
org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:459)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
at org.eclipse.jetty.server.Server.handle(Server.java:524)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319)
at
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253)
at
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at
org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
at
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
at
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
at
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
at java.lang.Thread.run(Thread.java:745)

I’m happy to help find any other information that may help debug as I’m
rather new to the OSGI stuff.

Regards,
Mike.On Wednesday, June 15, 2016 at 8:13:41 AM UTC-5, Nordin Slimati wrote:

Hi,

I updated from lucee 5 from 4.5.
When I restart lucee I lose the password (I need to enter a new password)
and datasources settings (all are gone).

Also when adding a new datasource I get the following error on the
datasource page:
Cannot open server “TRANSIP-VPS” requested by the login. The login failed.

Has this something to do with authentication?
Does anybody know what could be causing this?

Regards,
Nordin

Hi Mike,

It seems the same problem. I tried a clean install of Lucee 5 and the same
problem persisted.
I will look into the logs and post these here.

After a while I am able to add the datasources again… strange …but only
after I update the MSSQL component.
The update of the component is also rolled back after restart.

Regards,
NordinOp vrijdag 17 juni 2016 16:57:46 UTC+2 schreef mike...@gmail.com:

Hi Nordin,

I’m experiencing this as well. I’m working on a Jetty configuration with
lucee 5 and it appears to only happen when using the administrator UI to
restart (clicking the restart button). If I stop the server process and
restart, it comes up fine. Does that sound similar to your situation?

When I tail the log file, I see the following exceptions upon clicking the
“Restart” button in the admin :

java.lang.NullPointerException
at
lucee.runtime.osgi.OSGiUtil.loadBundleFromLocal(OSGiUtil.java:583)
at lucee.runtime.osgi.OSGiUtil.installBundle(OSGiUtil.java:91)
at lucee.runtime.osgi.OSGiUtil.installBundle(OSGiUtil.java:143)
at
lucee.runtime.util.ClassUtilImpl.addBundle(ClassUtilImpl.java:382)
at lucee.loader.osgi.BundleUtil.addBundle(BundleUtil.java:72)
at lucee.loader.osgi.BundleUtil.addBundle(BundleUtil.java:49)
at
lucee.loader.osgi.BundleLoader.loadBundles(BundleLoader.java:153)
at
lucee.loader.engine.CFMLEngineFactory.initEngine(CFMLEngineFactory.java:352)
at
lucee.loader.engine.CFMLEngineFactory._restart(CFMLEngineFactory.java:592)
at
lucee.loader.engine.CFMLEngineFactory.restart(CFMLEngineFactory.java:559)
at
lucee.runtime.config.XMLConfigAdmin.restart(XMLConfigAdmin.java:3757)
at lucee.runtime.tag.Admin.doRestart(Admin.java:867)
at lucee.runtime.tag.Admin._doStartTag(Admin.java:804)
at lucee.runtime.tag.Admin.doStartTag(Admin.java:336)
at
restart_cfm$cf.call(/Users/mic/Projects/Lucee/Lucee5/core/src/main/cfml/context/admin/restart.cfm:7)
at
lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:893)
at
lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:808)
at
lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:803)
at
lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:226)
at
lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:43)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2250)
at
lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2242)
at
lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2210)
at
lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:848)
at
lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:103)
at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:837)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174)
at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
at
org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:459)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
at org.eclipse.jetty.server.Server.handle(Server.java:524)
at
org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319)
at
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253)
at
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at
org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
at
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
at
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
at
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
at java.lang.Thread.run(Thread.java:745)
java.lang.NullPointerException
at
org.apache.felix.framework.BundleWiringImpl.diagnoseClassLoadError(BundleWiringImpl.java:2732)
at
org.apache.felix.framework.BundleWiringImpl.access$600(BundleWiringImpl.java:79)
at
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2010)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at lucee.runtime.exp.ExceptionHandler.log(ExceptionHandler.java:43)
at
lucee.runtime.PageContextImpl.handlePageException(PageContextImpl.java:1835)
at
lucee.runtime.PageContextImpl.handlePageException(PageContextImpl.java:1805)
at
lucee.runtime.listener.ModernAppListener.onError(ModernAppListener.java:416)
at
lucee.runtime.listener.MixedAppListener.onError(MixedAppListener.java:131)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2261)
at
lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2242)
at
lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2210)
at
lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:848)
at
lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:103)
at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:837)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174)
at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
at
org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:459)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
at org.eclipse.jetty.server.Server.handle(Server.java:524)
at
org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319)
at
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253)
at
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at
org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
at
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
at
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
at
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
at java.lang.Thread.run(Thread.java:745)
java.lang.NullPointerException
at
org.apache.felix.framework.BundleWiringImpl.diagnoseClassLoadError(BundleWiringImpl.java:2732)
at
org.apache.felix.framework.BundleWiringImpl.access$600(BundleWiringImpl.java:79)
at
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2010)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at lucee.runtime.exp.ExceptionHandler.log(ExceptionHandler.java:43)
at
lucee.runtime.PageContextImpl.handlePageException(PageContextImpl.java:1835)
at
lucee.runtime.PageContextImpl.handlePageException(PageContextImpl.java:1805)
at
lucee.runtime.listener.ModernAppListener.onError(ModernAppListener.java:416)
at
lucee.runtime.listener.MixedAppListener.onError(MixedAppListener.java:131)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2261)
at
lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2242)
at
lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2210)
at
lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:848)
at
lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:103)
at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:837)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1174)
at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1106)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
at
org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:459)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
at org.eclipse.jetty.server.Server.handle(Server.java:524)
at
org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:319)
at
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:253)
at
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at
org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
at
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
at
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
at
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
at java.lang.Thread.run(Thread.java:745)

I’m happy to help find any other information that may help debug as I’m
rather new to the OSGI stuff.

Regards,
Mike.

On Wednesday, June 15, 2016 at 8:13:41 AM UTC-5, Nordin Slimati wrote:

Hi,

I updated from lucee 5 from 4.5.
When I restart lucee I lose the password (I need to enter a new password)
and datasources settings (all are gone).

Also when adding a new datasource I get the following error on the
datasource page:
Cannot open server “TRANSIP-VPS” requested by the login. The login failed.

Has this something to do with authentication?
Does anybody know what could be causing this?

Regards,
Nordin

Looks like release 5.0.0.252 fixes the issue with admin restart fails and
destroys configs
http://preview.lucee.org/download/?type=snapshots

has this been resolved? It is also happening to me: It deletes the server
config from lucee-server/context and fails to finish with error:

lucee.commons.lang.ClassUtil.loadClassByBundle(ClassUtil.java:130)
at
lucee.transformer.library.ClassDefinitionImpl.getClazz(ClassDefinitionImpl.java:73)
at lucee.runtime.config.ConfigImpl.addResourceProvider(ConfigImpl.java:2141)
at
lucee.runtime.config.XMLConfigWebFactory.loadResourceProvider(XMLConfigWebFactory.java:507)
at
lucee.runtime.config.XMLConfigWebFactory.load(XMLConfigWebFactory.java:397)
at
lucee.runtime.config.XMLConfigServerFactory.load(XMLConfigServerFactory.java:168)
at
lucee.runtime.config.XMLConfigServerFactory.newInstance(XMLConfigServerFactory.java:124)
at
lucee.runtime.engine.CFMLEngineImpl.getConfigServerImpl(CFMLEngineImpl.java:561)
at lucee.runtime.engine.CFMLEngineImpl.(CFMLEngineImpl.java:236)
at lucee.runtime.engine.CFMLEngineImpl.getInstance(CFMLEngineImpl.java:514)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
lucee.loader.engine.CFMLEngineFactory.getEngine(CFMLEngineFactory.java:1498)
at
lucee.loader.engine.CFMLEngineFactory.initEngine(CFMLEngineFactory.java:359)
at
lucee.loader.engine.CFMLEngineFactory.initEngineIfNecessary(CFMLEngineFactory.java:264)
at
lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:160)
at
lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:198)
at lucee.loader.servlet.CFMLServlet.init(CFMLServlet.java:44)
at
org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1238)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1151)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1038)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4998)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1407)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1397)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

This may be something else but I also see the following in tomcat9-stderr

log4j:WARN No appenders could be found for logger
(org.apache.http.client.protocol.RequestAddCookies).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
more info.