Copy link to clipboard
Copied
Hi,
I'm installing CF10 on CentOS 6. The install works just fine but when I start the CF server and try to browse the ADMIN page I get this error: HTTP Status 500 - java.lang.NullPointerException. I have tried: compiling a custom Apache connector, installing the mandatory CF10 updates, installing to the latest version of CF10. However, everything I have done, I still get the same error.
In the ColdFusion out log there is this:
Apr 16, 2018 10:50:35 AM Error [pool-2-thread-1] - Unable to initialise Client Storage service: coldfusion.server.ServiceFactory$ServiceNotAvai$
Apr 16, 2018 10:50:35 AM Information [pool-2-thread-1] - Starting xmlrpc...
Apr 16, 2018 10:50:35 AM Information [pool-2-thread-1] - Starting jaxrs...
Apr 16, 2018 10:50:35 AM Information [pool-2-thread-1] - Starting graphing...
Apr 16, 2018 10:50:35 AM Error [pool-2-thread-1] - Unable to initialise Graphing service: java.lang.ExceptionInInitializerError
Apr 16, 2018 10:50:35 AM Information [pool-2-thread-1] - Starting solr...
Apr 16, 2018 10:50:35 AM Information [pool-2-thread-1] - Starting archive...
Apr 16, 2018 10:50:35 AM Error [pool-2-thread-1] - Unable to initialise Archive/Deploy service: java.lang.NoClassDefFoundError: Could not initi$
Apr 16, 2018 10:50:35 AM Information [pool-2-thread-1] - Starting document...
Apr 16, 2018 10:50:35 AM Information [pool-2-thread-1] - Starting eventgateway...
Apr 16, 2018 10:50:35 AM Error [pool-2-thread-1] - Unable to initialise Event service: coldfusion.server.ServiceException
Apr 16, 2018 10:50:35 AM Information [pool-2-thread-1] - Starting FlexAssembler...
Apr 16, 2018 10:50:35 AM Error [pool-2-thread-1] - Unable to initialise FlexAssembler service: coldfusion.server.ServiceFactory$ServiceNotAvail$
Apr 16, 2018 10:50:35 AM Information [pool-2-thread-1] - Starting .NET...
Apr 16, 2018 10:50:35 AM Error [pool-2-thread-1] - Unable to initialise .NET service: coldfusion.server.ServiceFactory$ServiceNotAvailableExcep$
Apr 16, 2018 10:50:35 AM Information [pool-2-thread-1] - Starting Monitoring...
Apr 16, 2018 10:50:35 AM Error [pool-2-thread-1] - Unable to initialise Monitoring service: java.lang.NoClassDefFoundError: Could not initializ$
Apr 16, 2018 10:50:35 AM Information [pool-2-thread-1] - Starting WebSocket...
Apr 16, 2018 10:50:36 AM Error [Thread-12] - The Runtime service is not available.
Apr 16, 2018 10:50:36 AM Information [pool-2-thread-1] - WebSocket server listens on port: 8575
Apr 16, 2018 10:50:36 AM Warning [Thread-10] - Graphing service is unavailable
Apr 16, 2018 10:50:36 AM Information [pool-2-thread-1] - ColdFusion started
Apr 16, 2018 10:50:36 AM Information [pool-2-thread-1] - ColdFusion: application services are now available
04/16 10:50:36 INFO Macromedia Flex Build: 87315.134646
Full Stack of the Error in the Browser:
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: java.lang.NullPointerException
coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:129)
coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
java.lang.Thread.run(Thread.java:662)
root cause
java.lang.NullPointerException
coldfusion.CfmServlet.init(CfmServlet.java:82)
coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:121)
coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
java.lang.Thread.run(Thread.java:662)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.23
Have something to add?