Skip navigation
Currently Being Moderated

ColdFusion 10 install on RHEL 6.1

May 16, 2012 6:44 PM

Tags: #linux #coldfusion #cf10

Hi,

 

Has anyone been able to successfully install ColdFusion 10 on Red Hat Enterprise 6.1?

 

I have been trying to get it to work, but when I try to load the CF administrator after the installation I get an apache/tomcat error.

 

http://127.0.0.1:8500/CFIDE/administrator/index.cfm

 

exception

 

javax.servlet.ServletException: java.lang.NullPointerException

          coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHe lper.java:129)

          coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59)

          org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica torBase.java:472)

          org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:98)

          org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: 928)

          org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:414)

          org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp 11Processor.java:987)

          org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process( AbstractProtocol.java:539)

          org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoin t.java:298)

          java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec utor.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(ClassloaderHe lper.java:121)

          coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59)

          org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica torBase.java:472)

          org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:98)

          org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: 928)

          org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:414)

          org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp 11Processor.java:987)

          org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process( AbstractProtocol.java:539)

          org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoin t.java:298)

          java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec utor.java:886)

          java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:908)

          java.lang.Thread.run(Thread.java:662)

 

Any suggestions?

 

Thanks,

Simon

 
Replies
  • Currently Being Moderated
    May 17, 2012 3:28 AM   in reply to raZorTTZ

    There seems to be some reason because of which the RuntimeService is not coming up which is causing all other NPEs here. Could you please delete all the log files, restart the server and provide us the errors that you see in coldfusion-out.log, coldfusion-error.log and exception.log file?

     

    You can post the exceptions here or send the log files to me at rukumar at adobe dot com.

     
    |
    Mark as:
  • Currently Being Moderated
    May 17, 2012 6:37 AM   in reply to rupesh_kumar

    Hi Simon,

    The license service makes use of InetAddress.getLocalHost() API and therefore your /etc/hosts file should have an entry for both localhost as well as for your host name.

     

    Your /etc/hosts file should look like

    # This is an example of the hosts file

    127.0.0.1  localhost

    ::1        localhost

    127.0.0.1  LMCFXD01

     

     

    Once you have the hosts file corrected, you should be all set.

    Check out http://en.wikipedia.org/wiki/Hosts_(file)

     

    Regards,

    Rupesh

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (1)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points