Hi all,
I'm tearing my hair out trying to figure out this error, so if anyone
can help I'd be very greatful...
SEVERE: Allocate exception for servlet CFMLServlet
javax.servlet.ServletException
at railo.runtime.config.ConfigWebImpl.<init>
(ConfigWebImpl.java:52)
at railo.runtime.config.ConfigWebFactory.newInstance
(ConfigWebFactory.java:201)
at railo.runtime.engine.CFMLEngineImpl.loadJSPFactory
(CFMLEngineImpl.java:153)
at railo.runtime.engine.CFMLEngineImpl.addServletConfig
(CFMLEngineImpl.java:122)
at railo.loader.engine.CFMLEngineFactory.getInstance
(CFMLEngineFactory.java:72)
at railo.loader.engine.CFMLEngineFactory.getInstance
(CFMLEngineFactory.java:110)
at railo.loader.servlet.CFMLServlet.init(CFMLServlet.java:26)
at org.apache.catalina.core.StandardWrapper.loadServlet
(StandardWrapper.java:1172)
at org.apache.catalina.core.StandardWrapper.allocate
(StandardWrapper.java:808)
at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:129)
at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:286)
at org.apache.jk.server.JkCoyoteHandler.invoke
(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke
(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke
(ChannelSocket.java:769)
at org.apache.jk.common.ChannelSocket.processConnection
(ChannelSocket.java:698)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt
(ChannelSocket.java:891)
at org.apache.tomcat.util.threads.ThreadPool
$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:636)
I've been following this guide:
http://jamesconstable.co.uk/web-development/installing-railo-3-on-tomcat-6-via-apache-2-on-ubuntu-804/
, with the exception that I installed Tomcat via apt, rather than from
source.
I've added the following to server.xml:
<Host name="
mydomain.com" appBase="/var/www/
mydomain.com/">
<Context path="" docBase=""/>
</Host>
(my web files are directly under /var/www/
mydomain.com/), and have
added a servlet entry to web.xml.
I appreciate it's hard to diagnose a problem without knowing all the
details, but if anyone can point me in the right direction that would
be great. At the moment I'm not even sure what the error means
(something about the Railo configuration?) to attempt to solve it.
Thanks,
Pete