Updating Tomcat

74 views
Skip to first unread message

Scott Stroz

unread,
Oct 27, 2015, 2:20:45 PM10/27/15
to Lucee
I just updated my Railo install to Lucee and now I am trying to update Tomcat from version 7.0.42 to 7.0.65 - on CentOS 5.11). When I start Tomcat, I see the following message in catalina.out.

java.lang.ClassNotFoundException: mod_cfml.core
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:144)
        at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1282)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.j$
        at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXML$
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDo$
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.$
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.ja$
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocume$
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:8$
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:7$
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:121$
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:$
        at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1555)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:615)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:677)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:456)

Oct 27, 2015 2:09:18 PM org.apache.catalina.startup.Catalina load
WARNING: Catalina.start using conf/server.xml: Error at (148, 5) : mod_cfml.core
Oct 27, 2015 2:09:18 PM org.apache.catalina.startup.Catalina start
SEVERE: Cannot start server. Server instance is not configured.

To do the update, I copied the old {railo}/tomcat/lib directory to a backup and then copied the files from the new version of Tomcat into the lib directory.

Can anyone help me get past this? Thanx!

Jordan Michaels

unread,
Oct 27, 2015, 2:32:35 PM10/27/15
to lu...@googlegroups.com
You just need to add the jar for the mod_cfml valve to your new tomcat
directory. You can grab the latest version from modcfml.org.

Warm Regards,
Jordan Michaels
> --
> See Lucee at CFCamp Oct 22 & 23 2015 @ Munich Airport, Germany - Get
> your ticket NOW - http://www.cfcamp.org/
> ---
> You received this message because you are subscribed to the Google
> Groups "Lucee" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to lucee+un...@googlegroups.com
> <mailto:lucee+un...@googlegroups.com>.
> To post to this group, send email to lu...@googlegroups.com
> <mailto:lu...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/lucee/8a2937db-c9ff-4919-b552-90fce5c17ff2%40googlegroups.com
> <https://groups.google.com/d/msgid/lucee/8a2937db-c9ff-4919-b552-90fce5c17ff2%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Jordan Michaels

unread,
Oct 27, 2015, 2:35:28 PM10/27/15
to lu...@googlegroups.com
In fact, once you get Tomcat upgraded successfully, the speed and
security improvements in the latest mod_cfml are worth the effort of
upgrading it. You will probably want to look into that next. =)

Warm Regards,
Jordan Michaels

Scott Stroz

unread,
Oct 27, 2015, 2:46:45 PM10/27/15
to Lucee
I grabbed the latest from the URL you provided, dropped the .jar file into tomcat/lib and everything is working as expected.

Than you!!!
Reply all
Reply to author
Forward
0 new messages