I tried switching my development system over to Lucee 5 and things did not
go well. I am using Jetty 9.2.9 as my servlet engine. One web context
comes up fine but the other contexts fail to start see the log file /stack
trace below. This setup was working under Lucee 4.5 with this version of
Jetty. I can provide any of the configuration files that are needed for
review.
I also noticed that Lucee puts its files in Jetty.home and not Jetty.Base
location. I setup the files in Jetty.Base but Lucee installed itself in
the Jetty.home/lucee-server. This will make it hard to upgrade jetty in
the future as custom configuration goes in Jetty.base. I believe this is a
jetty specific issue.
I am not sure how to proceed as I am not sure what is broken.
Andrew Penhorwood
=== WebAppContext=============================================================
<?xml version="1.0" encoding="ISO-8859-1"?> / D:\$rootBoaz\coldbits /etc/webdefault.xml coldbits.local=== LOG FILE
2015-04-25 21:44:37.395:INFO:oejs.Server:main: jetty-9.2.9.v20150224
2015-04-25 21:44:37.405:INFO:oejdp.ScanningAppProvider:main: Deployment
monitor [file:/C:/Servers/JettyBase/webapps/] at interval 0
2015-04-25 21:44:37.667:WARN:oeja.AnnotationConfiguration:main:
ServletContainerInitializers: detected. Class hierarchy: empty
classicRoot:C:\Servers\JettyBase\lib\ext
SERVER CONTEXT
- config:C:\Servers\jetty-9.2.9\lucee-server\context
- loader-version:4.3
===================================================================
Sat Apr 25 21:44:39 EDT 2015-888 Start CFML Controller
WEB CONTEXT (563e1d3bae4a912e49e8c885e3abb3a6)
- config:D:\siteBench\WEB-INF\lucee (custom setting)
- webroot:D:\siteBench
- hash:563e1d3bae4a912e49e8c885e3abb3a6
- label:563e1d3bae4a912e49e8c885e3abb3a6
===================================================================
2015-04-25 21:44:40.267:INFO:oejsh.ContextHandler:main: Started
o.e.j.w.WebAppContext@46d56d67{/,file:/D:/siteBench/,AVAILABLE,bench.local}
2015-04-25 21:44:40.287:WARN:oejw.WebAppContext:main: Failed startup of
context
o.e.j.w.WebAppContext@3ef41c66{/,file:/D:/$rootBoaz/coldbits/,null,coldbits.local}
java.lang.IllegalArgumentException: name
at sun.misc.URLClassPath$Loader.findResource(URLClassPath.java:658)
at sun.misc.URLClassPath.findResource(URLClassPath.java:188)
at java.net.URLClassLoader$2.run(URLClassLoader.java:569)
at java.net.URLClassLoader$2.run(URLClassLoader.java:567)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findResource(URLClassLoader.java:566)
at java.lang.ClassLoader.getResource(ClassLoader.java:1093)
at
org.eclipse.jetty.util.resource.Resource.newSystemResource(Resource.java:240)
at
org.eclipse.jetty.webapp.WebXmlConfiguration.preConfigure(WebXmlConfiguration.java:50)
at
org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:468)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:504)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at
org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:41)
at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:186)
at
org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:498)
at
org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:146)
at
org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:180)
at
org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:461)
at
org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:64)
at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:609)
at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:528)
at org.eclipse.jetty.util.Scanner.scan(Scanner.java:391)
at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at
org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:150)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at
org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:560)
at
org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:235)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.server.Server.start(Server.java:387)
at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:354)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1255)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1174)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.eclipse.jetty.start.Main.invokeMain(Main.java:321)
at org.eclipse.jetty.start.Main.start(Main.java:817)
at org.eclipse.jetty.start.Main.main(Main.java:112)