Botched upgrade 4.5 to 5.x on my Mac ? or something else?

Hi there, I really could use your help!

I am trying to upgrade a lucee 4.5.x to 5.x on my Mac

The error message when I go to http://localhost:8080/

HTTP Status 500 - Servlet.init() for servlet CFMLServlet threw exception

Here is what I did
I followed the instructions to upgrade from 4.5 to 5
http://docs.lucee.org/guides/lucee-5/upgrading-lucee-45.html

The tomcat folder structure

  • apache-tomcat
  • bin
    • conf
    • lib
    • logs
    • lucee

The instructions on above page read:

Add the lucee-5.x.x.xxx.jar you downloaded to the “lib” directory in your
existing Lucee install.

I think, in my case that should be tomcat/lucee/ directory, as there wasn’t
a lucee.jar in the /lib/ folder, but in the /lucee/folder

I downloaded “lucee.jar” from here
https://bitbucket.org/lucee/lucee/downloads/ (2017-02-02) -

I removed all other *.jar files as instructed.
I kept the /lucee-server/ folder

The /lucee/ folder now only has in it.
lucee.jar
/lucee-server/

Under important Information, the instructions read, that I also don’t need
the tomcat/bin/setenv.sh to call lucee-inst.jar any more, as that’s the
only thing this file did, I deleted it.

Somehow I am not quite sure if this even a lucee issue…

Any ideas?

Birgit

Here is the full error display/trace:

type Exception report

message Servlet.init() for servlet CFMLServlet threw exception

description The server encountered an internal error that prevented it
from fulfilling this request.

exception

javax.servlet.ServletException: Servlet.init() for servlet CFMLServlet
threw exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1527)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1484)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:745)

root cause

java.lang.NoClassDefFoundError: org/osgi/framework/Bundle
java.lang.Class.getDeclaredMethods0(Native Method)
java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
java.lang.Class.privateGetMethodRecursive(Class.java:3048)
java.lang.Class.getMethod0(Class.java:3018)
java.lang.Class.getMethod(Class.java:1784)
lucee.loader.engine.CFMLEngineFactory.getEngine(CFMLEngineFactory.java:749)
lucee.loader.engine.CFMLEngineFactory.initEngine(CFMLEngineFactory.java:288)
lucee.loader.engine.CFMLEngineFactory.getEngine(CFMLEngineFactory.java:228)
lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:102)
lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:155)
lucee.loader.servlet.CFMLServlet.init(CFMLServlet.java:41)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1527)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1484)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:745)

root cause

java.lang.ClassNotFoundException: org.osgi.framework.Bundle
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1313)
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1164)
lucee.loader.classloader.LuceeClassLoader.loadClass(LuceeClassLoader.java:173)
lucee.loader.classloader.LuceeClassLoader.loadClass(LuceeClassLoader.java:138)
java.lang.Class.getDeclaredMethods0(Native Method)
java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
java.lang.Class.privateGetMethodRecursive(Class.java:3048)
java.lang.Class.getMethod0(Class.java:3018)
java.lang.Class.getMethod(Class.java:1784)
lucee.loader.engine.CFMLEngineFactory.getEngine(CFMLEngineFactory.java:749)
lucee.loader.engine.CFMLEngineFactory.initEngine(CFMLEngineFactory.java:288)
lucee.loader.engine.CFMLEngineFactory.getEngine(CFMLEngineFactory.java:228)
lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:102)
lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:155)
lucee.loader.servlet.CFMLServlet.init(CFMLServlet.java:41)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1527)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1484)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:745)

Birgit, I know this doesn’t fix your issue or even attempt to address it,
but on your local development environment on your Mac, why not just use
CommandBox? That is what I do for all my Lucee development environments on
my Mac and it is by far the easiest way to do it. You can easily switch
between Lucee 4.5, 5.0, 5.1, etc… as required using the:

box start cfengine=lucee@[version_number]

command, or even drop into ACF (shudder) if required:

box start cfengine=adobe@[version_number]

run multiple at the same time, on different ports, and so on. It is
extremely flexible and so easy to use. Brad has done an excellent job.

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.orgOn 4 March 2017 at 19:03, Birgit Pauli-Haack <@Birgit_Pauli-Haack> wrote:

Hi there, I really could use your help!

I am trying to upgrade a lucee 4.5.x to 5.x on my Mac

The error message when I go to http://localhost:8080/

HTTP Status 500 - Servlet.init() for servlet CFMLServlet threw exception

Here is what I did
I followed the instructions to upgrade from 4.5 to 5
http://docs.lucee.org/guides/lucee-5/upgrading-lucee-45.html

The tomcat folder structure

  • apache-tomcat
  • bin
    • conf
    • lib
    • logs
    • lucee

The instructions on above page read:

Add the lucee-5.x.x.xxx.jar you downloaded to the “lib” directory in your
existing Lucee install.

I think, in my case that should be tomcat/lucee/ directory, as there
wasn’t a lucee.jar in the /lib/ folder, but in the /lucee/folder

I downloaded “lucee.jar” from here https://bitbucket.org/
lucee/lucee/downloads/ (2017-02-02) -

I removed all other *.jar files as instructed.
I kept the /lucee-server/ folder

The /lucee/ folder now only has in it.
lucee.jar
/lucee-server/

Under important Information, the instructions read, that I also don’t need
the tomcat/bin/setenv.sh to call lucee-inst.jar any more, as that’s the
only thing this file did, I deleted it.

Somehow I am not quite sure if this even a lucee issue…

Any ideas?

Birgit

Here is the full error display/trace:

type Exception report

message Servlet.init() for servlet CFMLServlet threw exception

description The server encountered an internal error that prevented it
from fulfilling this request.

exception

javax.servlet.ServletException: Servlet.init() for servlet CFMLServlet threw exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1527)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1484)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:745)

root cause

java.lang.NoClassDefFoundError: org/osgi/framework/Bundle
java.lang.Class.getDeclaredMethods0(Native Method)
java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
java.lang.Class.privateGetMethodRecursive(Class.java:3048)
java.lang.Class.getMethod0(Class.java:3018)
java.lang.Class.getMethod(Class.java:1784)
lucee.loader.engine.CFMLEngineFactory.getEngine(CFMLEngineFactory.java:749)
lucee.loader.engine.CFMLEngineFactory.initEngine(CFMLEngineFactory.java:288)
lucee.loader.engine.CFMLEngineFactory.getEngine(CFMLEngineFactory.java:228)
lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:102)
lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:155)
lucee.loader.servlet.CFMLServlet.init(CFMLServlet.java:41)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1527)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1484)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:745)

root cause

java.lang.ClassNotFoundException: org.osgi.framework.Bundle
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1313)
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1164)
lucee.loader.classloader.LuceeClassLoader.loadClass(LuceeClassLoader.java:173)
lucee.loader.classloader.LuceeClassLoader.loadClass(LuceeClassLoader.java:138)
java.lang.Class.getDeclaredMethods0(Native Method)
java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
java.lang.Class.privateGetMethodRecursive(Class.java:3048)
java.lang.Class.getMethod0(Class.java:3018)
java.lang.Class.getMethod(Class.java:1784)
lucee.loader.engine.CFMLEngineFactory.getEngine(CFMLEngineFactory.java:749)
lucee.loader.engine.CFMLEngineFactory.initEngine(CFMLEngineFactory.java:288)
lucee.loader.engine.CFMLEngineFactory.getEngine(CFMLEngineFactory.java:228)
lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:102)
lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:155)
lucee.loader.servlet.CFMLServlet.init(CFMLServlet.java:41)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1527)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1484)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:745)


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+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/lucee/CAA7LTqcdsreN8nnf6-VEsVoJg484%2BUvGHHgKHGzyTci%3Dv3mp5w%
40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAA7LTqcdsreN8nnf6-VEsVoJg484%2BUvGHHgKHGzyTci%3Dv3mp5w%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

Don’t know macs but I think the directory structure is should be
your-lucee-dir/lib/ext/…

that’s where you remove all the old jars, keep the lucee-server folder and
drop the lucee.jar in the lib/ext directory.

good luck.On Saturday, March 4, 2017 at 1:03:08 PM UTC-6, Birgit Pauli-Haack wrote:

Hi there, I really could use your help!

I am trying to upgrade a lucee 4.5.x to 5.x on my Mac

The error message when I go to http://localhost:8080/

HTTP Status 500 - Servlet.init() for servlet CFMLServlet threw exception

Here is what I did
I followed the instructions to upgrade from 4.5 to 5
http://docs.lucee.org/guides/lucee-5/upgrading-lucee-45.html

The tomcat folder structure

  • apache-tomcat
  • bin
    • conf
    • lib
    • logs
    • lucee

The instructions on above page read:

Add the lucee-5.x.x.xxx.jar you downloaded to the “lib” directory in your
existing Lucee install.

I think, in my case that should be tomcat/lucee/ directory, as there
wasn’t a lucee.jar in the /lib/ folder, but in the /lucee/folder

I downloaded “lucee.jar” from here
https://bitbucket.org/lucee/lucee/downloads/ (2017-02-02) -

I removed all other *.jar files as instructed.
I kept the /lucee-server/ folder

The /lucee/ folder now only has in it.
lucee.jar
/lucee-server/

Under important Information, the instructions read, that I also don’t need
the tomcat/bin/setenv.sh to call lucee-inst.jar any more, as that’s the
only thing this file did, I deleted it.

Somehow I am not quite sure if this even a lucee issue…

Any ideas?

Birgit

Here is the full error display/trace:

type Exception report

message Servlet.init() for servlet CFMLServlet threw exception

description The server encountered an internal error that prevented it
from fulfilling this request.

exception

javax.servlet.ServletException: Servlet.init() for servlet CFMLServlet threw exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1527)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1484)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:745)

root cause

java.lang.NoClassDefFoundError: org/osgi/framework/Bundle
java.lang.Class.getDeclaredMethods0(Native Method)
java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
java.lang.Class.privateGetMethodRecursive(Class.java:3048)
java.lang.Class.getMethod0(Class.java:3018)
java.lang.Class.getMethod(Class.java:1784)
lucee.loader.engine.CFMLEngineFactory.getEngine(CFMLEngineFactory.java:749)
lucee.loader.engine.CFMLEngineFactory.initEngine(CFMLEngineFactory.java:288)
lucee.loader.engine.CFMLEngineFactory.getEngine(CFMLEngineFactory.java:228)
lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:102)
lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:155)
lucee.loader.servlet.CFMLServlet.init(CFMLServlet.java:41)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1527)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1484)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:745)

root cause

java.lang.ClassNotFoundException: org.osgi.framework.Bundle
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1313)
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1164)
lucee.loader.classloader.LuceeClassLoader.loadClass(LuceeClassLoader.java:173)
lucee.loader.classloader.LuceeClassLoader.loadClass(LuceeClassLoader.java:138)
java.lang.Class.getDeclaredMethods0(Native Method)
java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
java.lang.Class.privateGetMethodRecursive(Class.java:3048)
java.lang.Class.getMethod0(Class.java:3018)
java.lang.Class.getMethod(Class.java:1784)
lucee.loader.engine.CFMLEngineFactory.getEngine(CFMLEngineFactory.java:749)
lucee.loader.engine.CFMLEngineFactory.initEngine(CFMLEngineFactory.java:288)
lucee.loader.engine.CFMLEngineFactory.getEngine(CFMLEngineFactory.java:228)
lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:102)
lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:155)
lucee.loader.servlet.CFMLServlet.init(CFMLServlet.java:41)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1527)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1484)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:745)

Hi Andrew,

I appreciate your prompting. As you said, it doesn’t fix my issue. Just
introduces, even more, unknowns to the original problem I need to solve.

That’s the reason I posted it here, so smarter people than me at Lucee can
give guidance, and we might be able to update the outdated documentation on
how to use Luces on a MAC

I just hope sooner or later someone would chime in.

Here a different variation to the problem:
HTTP Status 500 - java.lang.NoSuchMethodException:
lucee.runtime.engine.CFMLEngineImpl.getInstance(lucee.loader.engine.CFMLEngineFactory)

type Exception report

message java.lang.NoSuchMethodException:
lucee.runtime.engine.CFMLEngineImpl.getInstance(lucee.loader.engine.CFMLEngineFactory)

description The server encountered an internal error that prevented it
from fulfilling this request.

exception

javax.servlet.ServletException: java.lang.NoSuchMethodException:
lucee.runtime.engine.CFMLEngineImpl.getInstance(lucee.loader.engine.CFMLEngineFactory)
lucee.loader.engine.CFMLEngineFactory.initEngine(CFMLEngineFactory.java:305)
lucee.loader.engine.CFMLEngineFactory.getEngine(CFMLEngineFactory.java:228)
lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:102)
lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:155)
lucee.loader.servlet.CFMLServlet.init(CFMLServlet.java:41)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1527)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1484)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:745)

root cause

java.lang.NoSuchMethodException:
lucee.runtime.engine.CFMLEngineImpl.getInstance(lucee.loader.engine.CFMLEngineFactory)
java.lang.Class.getMethod(Class.java:1786)
lucee.loader.engine.CFMLEngineFactory.getEngine(CFMLEngineFactory.java:749)
lucee.loader.engine.CFMLEngineFactory.initEngine(CFMLEngineFactory.java:288)
lucee.loader.engine.CFMLEngineFactory.getEngine(CFMLEngineFactory.java:228)
lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:102)
lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:155)
lucee.loader.servlet.CFMLServlet.init(CFMLServlet.java:41)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1527)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1484)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:745)

note *The full stack trace of the root cause is available in the Apache
Tomcat/8.0.24 logs.*On Sat, Mar 4, 2017 at 3:16 PM, Andrew Dixon <@Andrew_Dixon> wrote:

Birgit, I know this doesn’t fix your issue or even attempt to address it,
but on your local development environment on your Mac, why not just use
CommandBox? That is what I do for all my Lucee development environments on
my Mac and it is by far the easiest way to do it. You can easily switch
between Lucee 4.5, 5.0, 5.1, etc… as required using the:

box start cfengine=lucee@[version_number]

command, or even drop into ACF (shudder) if required:

box start cfengine=adobe@[version_number]

run multiple at the same time, on different ports, and so on. It is
extremely flexible and so easy to use. Brad has done an excellent job.

https://www.ortussolutions.com/products/commandbox

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.org

On 4 March 2017 at 19:03, Birgit Pauli-Haack <@Birgit_Pauli-Haack> wrote:

Hi there, I really could use your help!

I am trying to upgrade a lucee 4.5.x to 5.x on my Mac

The error message when I go to http://localhost:8080/

HTTP Status 500 - Servlet.init() for servlet CFMLServlet threw exception

Here is what I did
I followed the instructions to upgrade from 4.5 to 5
http://docs.lucee.org/guides/lucee-5/upgrading-lucee-45.html

The tomcat folder structure

  • apache-tomcat
  • bin
    • conf
    • lib
    • logs
    • lucee

The instructions on above page read:

Add the lucee-5.x.x.xxx.jar you downloaded to the “lib” directory in
your existing Lucee install.

I think, in my case that should be tomcat/lucee/ directory, as there
wasn’t a lucee.jar in the /lib/ folder, but in the /lucee/folder

I downloaded “lucee.jar” from here https://bitbucket.org/luc
ee/lucee/downloads/ (2017-02-02) -

I removed all other *.jar files as instructed.
I kept the /lucee-server/ folder

The /lucee/ folder now only has in it.
lucee.jar
/lucee-server/

Under important Information, the instructions read, that I also don’t
need the tomcat/bin/setenv.sh to call lucee-inst.jar any more, as that’s
the only thing this file did, I deleted it.

Somehow I am not quite sure if this even a lucee issue…

Any ideas?

Birgit

Here is the full error display/trace:

type Exception report

message Servlet.init() for servlet CFMLServlet threw exception

description The server encountered an internal error that prevented
it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet.init() for servlet CFMLServlet threw exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1527)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1484)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:745)

root cause

java.lang.NoClassDefFoundError: org/osgi/framework/Bundle
java.lang.Class.getDeclaredMethods0(Native Method)
java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
java.lang.Class.privateGetMethodRecursive(Class.java:3048)
java.lang.Class.getMethod0(Class.java:3018)
java.lang.Class.getMethod(Class.java:1784)
lucee.loader.engine.CFMLEngineFactory.getEngine(CFMLEngineFactory.java:749)
lucee.loader.engine.CFMLEngineFactory.initEngine(CFMLEngineFactory.java:288)
lucee.loader.engine.CFMLEngineFactory.getEngine(CFMLEngineFactory.java:228)
lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:102)
lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:155)
lucee.loader.servlet.CFMLServlet.init(CFMLServlet.java:41)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1527)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1484)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:745)

root cause

java.lang.ClassNotFoundException: org.osgi.framework.Bundle
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1313)
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1164)
lucee.loader.classloader.LuceeClassLoader.loadClass(LuceeClassLoader.java:173)
lucee.loader.classloader.LuceeClassLoader.loadClass(LuceeClassLoader.java:138)
java.lang.Class.getDeclaredMethods0(Native Method)
java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
java.lang.Class.privateGetMethodRecursive(Class.java:3048)
java.lang.Class.getMethod0(Class.java:3018)
java.lang.Class.getMethod(Class.java:1784)
lucee.loader.engine.CFMLEngineFactory.getEngine(CFMLEngineFactory.java:749)
lucee.loader.engine.CFMLEngineFactory.initEngine(CFMLEngineFactory.java:288)
lucee.loader.engine.CFMLEngineFactory.getEngine(CFMLEngineFactory.java:228)
lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:102)
lucee.loader.engine.CFMLEngineFactory.getInstance(CFMLEngineFactory.java:155)
lucee.loader.servlet.CFMLServlet.init(CFMLServlet.java:41)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:617)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1527)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1484)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:745)


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+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/ms
gid/lucee/CAA7LTqcdsreN8nnf6-VEsVoJg484%2BUvGHHgKHGzyTci%
3Dv3mp5w%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAA7LTqcdsreN8nnf6-VEsVoJg484%2BUvGHHgKHGzyTci%3Dv3mp5w%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


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+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/lucee/CAG1WijUDpXdXB5yfs6LK_tSVuHP3T%2BMckkfACkv6KVmBAq29iA%40mail.
gmail.com
https://groups.google.com/d/msgid/lucee/CAG1WijUDpXdXB5yfs6LK_tSVuHP3T%2BMckkfACkv6KVmBAq29iA%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.