Mura/ORM reload error after upgrade from Railo

Description

Uploaded from Railo to Lucee on my local environment according to the instructions.

Some sites work fine, as do the admin pages. But on trying to load a MuraCMS site, I get the following error. Looks like it's from one of my plugins - FW/1-based - when it calls ormReload():

java.lang.NoClassDefFoundError

at line 62:
60: 61: <cfscript> 62: ormReload(); 63: 64: var bf = new ioc('/WiltshireClubInfoManager/model/services,/ValidateThis', {

railo/loader/util/Util at railo.extension.io.log.sl4j.LoggerAdapterConsole.getStacktrace(LoggerAdapterConsole.java:119):119 at railo.extension.io.log.sl4j.LoggerAdapterConsole.log(LoggerAdapterConsole.java:64):64 at railo.extension.io.log.sl4j.LoggerAdapterConsole.error(LoggerAdapterConsole.java:54):54 at org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:222):222 at lucee.runtime.orm.hibernate.HibernateSessionFactory.schemaExport(Unknown Source):-1 at lucee.runtime.orm.hibernate.HibernateSessionFactory.createConfiguration(Unknown Source):-1 at lucee.runtime.orm.hibernate.SessionFactoryData.setConfiguration(Unknown Source):-1 at lucee.runtime.orm.hibernate.HibernateORMEngine.getSessionFactoryData(Unknown Source):-1 at lucee.runtime.orm.hibernate.HibernateORMEngine.reload(Unknown Source):-1 at lucee.runtime.config.ConfigImpl.resetORMEngine(Unknown Source):-1 at lucee.runtime.orm.ORMUtil.resetEngine(Unknown Source):-1 at lucee.runtime.functions.orm.ORMReload.call(Unknown Source):-1 at application_cfc$cf.udfCall(/git/MuraCMS/plugins/WiltshireClubInfoManager/Application.cfc:62):62 at lucee.runtime.type.UDFImpl.implementation(Unknown Source):-1 at lucee.runtime.type.UDFImpl._call(Unknown Source):-1 at lucee.runtime.type.UDFImpl.call(Unknown Source):-1 at lucee.runtime.type.scope.UndefinedImpl.call(Unknown Source):-1 at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(Unknown Source):-1 at lucee.runtime.PageContextImpl.getFunction(Unknown Source):-1 at fw1_cfc$cf.udfCalla(/git/MuraCMS/plugins/WiltshireClubInfoManager/fw1.cfc:1898):1898 at fw1_cfc$cf.udfCall(/git/MuraCMS/plugins/WiltshireClubInfoManager/fw1.cfc):-1 at lucee.runtime.type.UDFImpl.implementation(Unknown Source):-1 at lucee.runtime.type.UDFImpl._call(Unknown Source):-1 at lucee.runtime.type.UDFImpl.call(Unknown Source):-1 at lucee.runtime.type.scope.UndefinedImpl.call(Unknown Source):-1 at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(Unknown Source):-1 at lucee.runtime.PageContextImpl.getFunction(Unknown Source):-1 at fw1_cfc$cf.udfCall4(/git/MuraCMS/plugins/WiltshireClubInfoManager/fw1.cfc:565):565 at fw1_cfc$cf.udfCall(/git/MuraCMS/plugins/WiltshireClubInfoManager/fw1.cfc):-1 at lucee.runtime.type.UDFImpl.implementation(Unknown Source):-1 at lucee.runtime.type.UDFImpl._call(Unknown Source):-1 at lucee.runtime.type.UDFImpl.callWithNamedValues(Unknown Source):-1 at lucee.runtime.ComponentImpl._call(Unknown Source):-1 at lucee.runtime.ComponentImpl._call(Unknown Source):-1 at lucee.runtime.ComponentImpl.callWithNamedValues(Unknown Source):-1 at lucee.runtime.tag.Invoke.doComponent(Unknown Source):-1 at lucee.runtime.tag.Invoke.doEndTag(Unknown Source):-1 at wiltshireclubinfomanager.plugineventhandler_cfc$cf.udfCall(/git/MuraCMS/plugins/WiltshireClubInfoManager/pluginEventHandler.cfc:35):35 at lucee.runtime.type.UDFImpl.implementation(Unknown Source):-1 at lucee.runtime.type.UDFImpl._call(Unknown Source):-1 at lucee.runtime.type.UDFImpl.callWithNamedValues(Unknown Source):-1 at lucee.runtime.ComponentImpl._call(Unknown Source):-1 at lucee.runtime.ComponentImpl._call(Unknown Source):-1 at lucee.runtime.ComponentImpl.callWithNamedValues(Unknown Source):-1 at lucee.runtime.tag.Invoke.doComponent(Unknown Source):-1 at lucee.runtime.tag.Invoke.doEndTag(Unknown Source):-1 at plugin.pluginmanager_cfc$cf.udfCall3(/git/MuraCMS/requirements/mura/plugin/pluginManager.cfc:1586):1586 at plugin.pluginmanager_cfc$cf.udfCall(/git/MuraCMS/requirements/mura/plugin/pluginManager.cfc):-1 at lucee.runtime.type.UDFImpl.implementation(Unknown Source):-1 at lucee.runtime.type.UDFImpl._call(Unknown Source):-1 at lucee.runtime.type.UDFImpl.callWithNamedValues(Unknown Source):-1 at lucee.runtime.ComponentImpl._call(Unknown Source):-1 at lucee.runtime.ComponentImpl._call(Unknown Source):-1 at lucee.runtime.ComponentImpl.callWithNamedValues(Unknown Source):-1 at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(Unknown Source):-1 at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(Unknown Source):-1 at config.appcfc.onapplicationstart_include_cfm$cf.call(/git/MuraCMS/config/appcfc/onApplicationStart_include.cfm:414):414 at lucee.runtime.PageContextImpl.doInclude(Unknown Source):-1 at lucee.runtime.PageContextImpl.doInclude(Unknown Source):-1 at config.appcfc.onapplicationstart_method_cfm$cf.udfCall(/git/MuraCMS/config/appcfc/onApplicationStart_method.cfm:51):51 at lucee.runtime.type.UDFImpl.implementation(Unknown Source):-1 at lucee.runtime.type.UDFImpl._call(Unknown Source):-1 at lucee.runtime.type.UDFImpl.call(Unknown Source):-1 at lucee.runtime.ComponentImpl._call(Unknown Source):-1 at lucee.runtime.ComponentImpl._call(Unknown Source):-1 at lucee.runtime.ComponentImpl.call(Unknown Source):-1 at lucee.runtime.listener.ModernAppListener.call(Unknown Source):-1 at lucee.runtime.listener.ModernAppListener.onApplicationStart(Unknown Source):-1 at lucee.runtime.PageContextImpl.initApplicationContext(Unknown Source):-1 at lucee.runtime.listener.ModernAppListener._onRequest(Unknown Source):-1 at lucee.runtime.listener.MixedAppListener.onRequest(Unknown Source):-1 at lucee.runtime.PageContextImpl.execute(Unknown Source):-1 at lucee.runtime.PageContextImpl.execute(Unknown Source):-1 at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(Unknown Source):-1 at lucee.loader.servlet.CFMLServlet.service(Unknown Source):-1 at javax.servlet.http.HttpServlet.service(HttpServlet.java:728):728 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305):305 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210):210 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222):222 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123):123 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472):472 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171):171 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99):99 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118):118 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407):407 at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200):200 at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589):589 at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310):310 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895):895 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918):918 at java.lang.Thread.run(Thread.java:695):695

My installation folder still has the following jars in it - is that correct?

railo-inst.jar
railo-sl4j.jar

Environment

None

Attachments

1

Activity

Imported User 28 
4 February 2015 at 16:07

Thanks, all working now. One of the issues I had with the migration was that I had the following in my setenv.sh file:

JAVA_OPTS="-Xms512m -Xmx2048m -XX:MaxPermSize=512m -javaagent:/opt/railo/lib/railo-inst.jar";

...which I think was causing conflicts. I changed this to lucee-inst.jar, removed all the railo/lib jars and replaced with the lucee ones, and everything is now good.

Michael Offner 
4 February 2015 at 15:05

next release will contain this jar with the name railo-sl4j.jar, so the railo jar will be replaced.

Michael Offner 
4 February 2015 at 15:02

attached to this ticket you find a jar (lucee-sl4j.jar), replace the railo-sl4j.jar with this jar.
We are working on a solution that make this switch obsolete in the future.

Replacing the railo-inst.jar is not necessary, Lucee can deal with that jar, but of course you can, in the jars zip in the download section you can find a "lucee-inst.jar"

Fixed

Details

Assignee

Reporter

Priority

Labels

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Created 30 January 2015 at 17:06
Updated 8 May 2020 at 19:41
Resolved 4 February 2015 at 16:07