I have followed almost all of the most common tutorials on installing
Railo on Tomcat using the jar file installation approach...from Jamie
Krug, Sean Corfield and others...
http://www.lynchconsulting.com.au/blog/index.cfm/2010/3/12/Railo-on-Tomcat-revisited--modproxy
http://jamiekrug.com/blog/index.cfm/2009/4/1/railo-jars-on-jboss-or-tomcat-tips-and-tricks
http://corfield.org/blog/post.cfm/Railo_on_Tomcat__multiweb
AND I always get the exact same errors. i can't figure out what i am
doing wrong.
(note: the one difference is that i install Tomcat6 from the Ubuntu
repository (om 10.04) instead of downloading the tar file as the
instructions in these blog say to do... does that matter? )
can someone help?
when going to
http://127.0.0.1:8080/railo-context/admin/server.c...
i get:
-----------------------------
javax.servlet.ServletException
railo.runtime.config.ConfigWebImpl.<init>(ConfigWebImpl.java:58)
railo.runtime.config.ConfigWebFactory.newInstance(ConfigWebFactory.java:
208)
railo.runtime.engine.CFMLEngineImpl.loadJSPFactory(CFMLEngineImpl.java:
154)
railo.runtime.engine.CFMLEngineImpl.addServletConfig(CFMLEngineImpl.java:
123)
railo.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:
73)
railo.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:
111)
railo.loader.servlet.CFMLServlet.init(CFMLServlet.java:26)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
298)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
852)
org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:588)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:
489)
java.lang.Thread.run(Thread.java:619)
.....
the catalina.out log file shows this error:
-----------------------------------------------------------
==========================
SERVER CONTEXT
-----------------------------------------------------
- config:/opt/railo/railo-server/context
===========================
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:883)
at
railo.commons.io.res.type.file.FileResource.createFile(FileResource.java:
243)
at
railo.runtime.config.ConfigServerFactory.newInstance(ConfigServerFactory.java:
54)
at
railo.runtime.engine.CFMLEngineImpl.getConfigServerImpl(CFMLEngineImpl.java:
135)
at railo.runtime.engine.CFMLEngineImpl.<init>(CFMLEngineImpl.java:87)
at
railo.runtime.engine.CFMLEngineImpl.getInstance(CFMLEngineImpl.java:
102)
......
and this one:
----------------------------------
Wed Jul 07 00:05:25 CDT 2010-875 using JRE Date Library
java.io.FileNotFoundException: /opt/railo/railo-server/patches/
3.1.2.001.rc (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
......
and a whole lot of these:
----------------------------------------
Jul 7, 2010 12:05:25 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1440 ms
.....
java.lang.NullPointerException
at
railo.runtime.type.scope.ScopeContext.getClusterScope(ScopeContext.java:
101)
at railo.runtime.engine.Controler.run(Controler.java:80)
at railo.runtime.op.Caster.toPageException(Caster.java:2951)
at
railo.runtime.type.scope.ScopeContext.getClusterScope(ScopeContext.java:
119)
at railo.runtime.engine.Controler.run(Controler.java:80)