Migration Issue

183 views
Skip to first unread message

Terry Bankert

unread,
Feb 3, 2015, 11:47:45 AM2/3/15
to lu...@googlegroups.com
Getting this error I'm assuming it has to do with the Railo video extension, I had only installed it at one juncture to play around this is my dev server, but how can I manually remove the extension thanks

javax.servlet.ServletException: java.lang.NoClassDefFoundError: railo/runtime/video/VideoExecuter
	lucee.loader.engine.CFMLEngineFactory.initEngine(Unknown Source)
	lucee.loader.engine.CFMLEngineFactory.getEngine(Unknown Source)
	lucee.loader.engine.CFMLEngineFactory.getInstance(Unknown Source)
	lucee.loader.servlet.CFMLServlet.init(Unknown Source)
	org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
	org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
	org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
	org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
	org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
	java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	java.lang.Thread.run(Unknown Source)

root cause

java.lang.NoClassDefFoundError: railo/runtime/video/VideoExecuter
	java.lang.ClassLoader.defineClass1(Native Method)
	java.lang.ClassLoader.defineClass(Unknown Source)
	java.security.SecureClassLoader.defineClass(Unknown Source)
	java.net.URLClassLoader.defineClass(Unknown Source)
	java.net.URLClassLoader.access$100(Unknown Source)
	java.net.URLClassLoader$1.run(Unknown Source)
	java.net.URLClassLoader$1.run(Unknown Source)
	java.security.AccessController.doPrivileged(Native Method)
	java.net.URLClassLoader.findClass(Unknown Source)
	java.lang.ClassLoader.loadClass(Unknown Source)
	java.lang.ClassLoader.loadClass(Unknown Source)
	lucee.commons.lang.ClassUtil.loadClass(Unknown Source)
	lucee.commons.lang.ClassUtil.loadClass(Unknown Source)
	lucee.runtime.config.ConfigWebFactory.loadVideo(Unknown Source)
	lucee.runtime.config.ConfigWebFactory.load(Unknown Source)
	lucee.runtime.config.ConfigServerFactory.load(Unknown Source)
	lucee.runtime.config.ConfigServerFactory.newInstance(Unknown Source)
	lucee.runtime.engine.CFMLEngineImpl.getConfigServerImpl(Unknown Source)
	lucee.runtime.engine.CFMLEngineImpl.<init>(Unknown Source)
	lucee.runtime.engine.CFMLEngineImpl.getInstance(Unknown Source)
	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	java.lang.reflect.Method.invoke(Unknown Source)
	lucee.loader.engine.CFMLEngineFactory.getEngine(Unknown Source)
	lucee.loader.engine.CFMLEngineFactory.initEngine(Unknown Source)
	lucee.loader.engine.CFMLEngineFactory.getEngine(Unknown Source)
	lucee.loader.engine.CFMLEngineFactory.getInstance(Unknown Source)
	lucee.loader.servlet.CFMLServlet.init(Unknown Source)
	org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
	org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
	org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
	org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
	org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
	java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	java.lang.Thread.run(Unknown Source)

Julian Halliwell

unread,
Feb 3, 2015, 11:53:36 AM2/3/15
to lu...@googlegroups.com

Dave Merrill

unread,
Feb 3, 2015, 12:20:15 PM2/3/15
to lu...@googlegroups.com
Does that info belong in the migration docs? Is is this just a transient phase until that gets fixed in the available downloads?

Dave

Terry Bankert

unread,
Feb 3, 2015, 12:32:10 PM2/3/15
to lu...@googlegroups.com
I was able to figure out where it was pulling it from, I just didn't to go about deleting things without some kind of guidance. Anyway I found the file at issue located in
Railo Root/lib/lucee-server\context\lib\railo-videoconverter.jar  I believe that was the file stopped lucee removed the jar and things fired up just fine.

Julian Halliwell

unread,
Feb 3, 2015, 1:05:51 PM2/3/15
to lu...@googlegroups.com
Micha, could you just clarify the steps and I'll happily update the
migration wiki page?

You need to edit
[railo-install]/lib/lucee-server/context/lucee-server.xml and change

railo.runtime.video.VideoExecuter

to

lucee.runtime.video.VideoExecuter

Is that right?

Sorry but I didn't have that extension in my previous Railo setup.

David

unread,
Feb 4, 2015, 4:00:10 AM2/4/15
to lu...@googlegroups.com
Julian, exact those steps solved it for me.
After this change tomcat started up without issues.

--David

Julian Halliwell

unread,
Feb 4, 2015, 4:14:23 AM2/4/15
to lu...@googlegroups.com
Thanks for confirming, David. I've updated the wiki:

https://bitbucket.org/lucee/lucee/wiki/Migrate%20from%20Railo

Michael Offner

unread,
Feb 4, 2015, 5:23:25 AM2/4/15
to lucee
i did some digging and to be honest my previous mail was/is not really a solution to the Problem.
This just has made that Lucee fails to load the extension entirely.

Before this "fix", Lucee was able to load the class "railo.extension.video.ffmpeg.VideoExecuterImpl", but then java failed to load the interface "railo.runtime.video.VideoExecuter" what is implemented in that case, this failure was not captured, so Lucee failed to start (i just changed that fact for the next release).

So this was not a fix at all!

Problem is, this Extension is not under active development for a long time and it never was released from Railo under an open source license, even I have written the extension, i'm not allowed to change it for Lucee and release is as open source extension?!

So the only way to fix this is to use the existing extension together with the jar attached to this mail.

So the steps to fix the issue are:

1. when you alreay have changed "railo.extension.video.ffmpeg.VideoExecuterImpl" to "lucee.extension.video.ffmpeg.VideoExecuterImpl", change it back to "railo.extension.video.ffmpeg.VideoExecuterImpl"
2. copy the attached jar next to "railo-extension-video.jar"
3. restart Lucee
done

i will publish this info in the wiki

Micha






--
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.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/CAC_5Vor99jJiKnB%3DyjVb6Y2BFkxGfgqQoQBrkAJw1husMj73ZQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

railo-video-extension-adapter-for-lucee.jar

denstar

unread,
Feb 6, 2015, 2:09:27 PM2/6/15
to lucee
I haven't tested it in a while, but there's this tool too, which does some of the same stuff I think, FWIW:


Reply all
Reply to author
Forward
0 new messages