Multiple hosts with Lucee 5 express not working

I am unable to get multiple hosts working with Tomcat in the Lucee 5
express install on Mac. This seems to have changed between 4.5 and 5

Adding a new host entry into server.conf such as

  <Host name="mysite.local" appBase="webapps">

        <Context name="" docBase="/Users/sites/mysite">
          <JarScanner scanClassPath="false"/>
        </Context>

  </Host>

results in the stacktrace below as Tomcat is trying to start the new Host.
Without the JarScanner line, Tomcat fails even earlier.

Any hints for getting multiple virtual hosts running under the Lucee 5
express install?

Thanks
Phil

31-May-2016 08:49:59.664 SEVERE [main]
org.apache.catalina.startup.Catalina.start The required Server component
failed to start so Tomcat is unable to start.

org.apache.catalina.LifecycleException: Failed to start component
[StandardServer[8005]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

at org.apache.catalina.startup.Catalina.start(Catalina.java:625)

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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)

Caused by: org.apache.catalina.LifecycleException: Failed to start
component [StandardService[Catalina]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

at
org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:760)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

… 7 more

Caused by: org.apache.catalina.LifecycleException: Failed to start
component [org.apache.catalina.mapper.MapperListener@78c03f1f]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

at
org.apache.catalina.core.StandardService.startInternal(StandardService.java:450)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

… 9 more

Caused by: java.lang.NullPointerException

at org.apache.catalina.mapper.Mapper.slashCount(Mapper.java:1465)

at org.apache.catalina.mapper.Mapper.addContextVersion(Mapper.java:277)

at
org.apache.catalina.mapper.MapperListener.registerContext(MapperListener.java:380)

at
org.apache.catalina.mapper.MapperListener.registerHost(MapperListener.java:302)

at
org.apache.catalina.mapper.MapperListener.startInternal(MapperListener.java:110)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

… 11 more

Seems unreladed to Lucee, most likely a typo somewhere in the
configuration, it is complaining about slashes…
Express itself has not changed between 4.5 and 5.

MichaAm 31.05.2016 10:29 vorm. schrieb “Phil Haeusler” <@Phil_Haeusler>:

I am unable to get multiple hosts working with Tomcat in the Lucee 5
express install on Mac. This seems to have changed between 4.5 and 5

Adding a new host entry into server.conf such as

  <Host name="mysite.local" appBase="webapps">

        <Context name="" docBase="/Users/sites/mysite">
          <JarScanner scanClassPath="false"/>
        </Context>

  </Host>

results in the stacktrace below as Tomcat is trying to start the new
Host. Without the JarScanner line, Tomcat fails even earlier.

Any hints for getting multiple virtual hosts running under the Lucee 5
express install?

Thanks
Phil

31-May-2016 08:49:59.664 SEVERE [main]
org.apache.catalina.startup.Catalina.start The required Server component
failed to start so Tomcat is unable to start.

org.apache.catalina.LifecycleException: Failed to start component
[StandardServer[8005]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

at org.apache.catalina.startup.Catalina.start(Catalina.java:625)

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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)

Caused by: org.apache.catalina.LifecycleException: Failed to start
component [StandardService[Catalina]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

at
org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:760)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

… 7 more

Caused by: org.apache.catalina.LifecycleException: Failed to start
component [org.apache.catalina.mapper.MapperListener@78c03f1f]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

at
org.apache.catalina.core.StandardService.startInternal(StandardService.java:450)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

… 9 more

Caused by: java.lang.NullPointerException

at org.apache.catalina.mapper.Mapper.slashCount(Mapper.java:1465)

at org.apache.catalina.mapper.Mapper.addContextVersion(Mapper.java:277)

at
org.apache.catalina.mapper.MapperListener.registerContext(MapperListener.java:380)

at
org.apache.catalina.mapper.MapperListener.registerHost(MapperListener.java:302)

at
org.apache.catalina.mapper.MapperListener.startInternal(MapperListener.java:110)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

… 11 more


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/9e77e778-a02f-45f4-a73c-112269c9abf7%40googlegroups.com
https://groups.google.com/d/msgid/lucee/9e77e778-a02f-45f4-a73c-112269c9abf7%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

Hi

In my tests, adding the

as a child of gets past the

Caused by: java.lang.IllegalArgumentException: URI scheme is not “file”

exception. But that leads to the null pointer exception i posted
originally.

Be great to find a solution
PhilOn Thursday, June 2, 2016 at 6:05:56 PM UTC+10, Geoff Parkhurst wrote:

Me too. Same error when adding a 2nd (5.0.0.252 on a mac)

Here’s the Host entry:

And here’s the error on startup:

02-Jun-2016 08:55:42.259 SEVERE [Catalina-startStop-1]
org.apache.catalina.core.ContainerBase.startInternal A child container
failed during start

java.util.concurrent.ExecutionException:
org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[mysite.localhost].StandardContext[]]

at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:917)

at
org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:868)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)

at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.catalina.LifecycleException: Failed to start
component
[StandardEngine[Catalina].StandardHost[mysite.localhost].StandardContext[]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
… 6 more
Caused by: java.lang.IllegalArgumentException: URI scheme is not “file”
at java.io.File.(File.java:421)
at
org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:318)

at
org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:244)

at
org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1855)

at
org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1119)

at
org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:771)

at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:305)

at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)

at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)

at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5095)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
… 6 more

On 1 June 2016 at 06:30, Michael Offner <mic...@lucee.org <javascript:>> wrote:

Seems unreladed to Lucee, most likely a typo somewhere in the
configuration,
it is complaining about slashes…
Express itself has not changed between 4.5 and 5.

Micha

Am 31.05.2016 10:29 vorm. schrieb “Phil Haeusler” <philha...@gmail.com
<javascript:>>:

I am unable to get multiple hosts working with Tomcat in the Lucee 5
express install on Mac. This seems to have changed between 4.5 and 5

Adding a new host entry into server.conf such as

  <Host name="mysite.local" appBase="webapps"> 

        <Context name="" docBase="/Users/sites/mysite"> 
          <JarScanner scanClassPath="false"/> 
        </Context> 

  </Host> 

results in the stacktrace below as Tomcat is trying to start the new
Host.
Without the JarScanner line, Tomcat fails even earlier.

Any hints for getting multiple virtual hosts running under the Lucee 5
express install?

Thanks
Phil

31-May-2016 08:49:59.664 SEVERE [main]
org.apache.catalina.startup.Catalina.start The required Server
component
failed to start so Tomcat is unable to start.

org.apache.catalina.LifecycleException: Failed to start component
[StandardServer[8005]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

at org.apache.catalina.startup.Catalina.start(Catalina.java:625)

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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)

Caused by: org.apache.catalina.LifecycleException: Failed to start
component [StandardService[Catalina]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

at

org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:760)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

… 7 more

Caused by: org.apache.catalina.LifecycleException: Failed to start
component [org.apache.catalina.mapper.MapperListener@78c03f1f]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

at

org.apache.catalina.core.StandardService.startInternal(StandardService.java:450)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

… 9 more

Caused by: java.lang.NullPointerException

at org.apache.catalina.mapper.Mapper.slashCount(Mapper.java:1465)

at org.apache.catalina.mapper.Mapper.addContextVersion(Mapper.java:277)

at

org.apache.catalina.mapper.MapperListener.registerContext(MapperListener.java:380)

at

org.apache.catalina.mapper.MapperListener.registerHost(MapperListener.java:302)

at

org.apache.catalina.mapper.MapperListener.startInternal(MapperListener.java:110)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

… 11 more


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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 <javascript:>.
To post to this group, send email to lu...@googlegroups.com
<javascript:>.
To view this discussion on the web visit

https://groups.google.com/d/msgid/lucee/9e77e778-a02f-45f4-a73c-112269c9abf7%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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 <javascript:>.
To post to this group, send email to lu...@googlegroups.com
<javascript:>.
To view this discussion on the web visit

https://groups.google.com/d/msgid/lucee/CAG%2BEEBxz_SmO7PvZSME2Pr_DdSTeZ1NnxY7PLLuNt-mCtc0kbw%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

Me too. Same error when adding a 2nd (5.0.0.252 on a mac)

Here’s the Host entry:

And here’s the error on startup:

02-Jun-2016 08:55:42.259 SEVERE [Catalina-startStop-1]
org.apache.catalina.core.ContainerBase.startInternal A child container
failed during start

java.util.concurrent.ExecutionException:
org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[mysite.localhost].StandardContext[]]
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:917)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:868)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.catalina.LifecycleException: Failed to start
component [StandardEngine[Catalina].StandardHost[mysite.localhost].StandardContext[]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
… 6 more
Caused by: java.lang.IllegalArgumentException: URI scheme is not “file”
at java.io.File.(File.java:421)
at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:318)
at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:244)
at org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1855)
at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1119)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:771)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:305)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5095)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
… 6 moreOn 1 June 2016 at 06:30, Michael Offner <@Michael_Offner> wrote:

Seems unreladed to Lucee, most likely a typo somewhere in the configuration,
it is complaining about slashes…
Express itself has not changed between 4.5 and 5.

Micha

Am 31.05.2016 10:29 vorm. schrieb “Phil Haeusler” <@Phil_Haeusler>:

I am unable to get multiple hosts working with Tomcat in the Lucee 5
express install on Mac. This seems to have changed between 4.5 and 5

Adding a new host entry into server.conf such as

  <Host name="mysite.local" appBase="webapps">

        <Context name="" docBase="/Users/sites/mysite">
          <JarScanner scanClassPath="false"/>
        </Context>

  </Host>

results in the stacktrace below as Tomcat is trying to start the new Host.
Without the JarScanner line, Tomcat fails even earlier.

Any hints for getting multiple virtual hosts running under the Lucee 5
express install?

Thanks
Phil

31-May-2016 08:49:59.664 SEVERE [main]
org.apache.catalina.startup.Catalina.start The required Server component
failed to start so Tomcat is unable to start.

org.apache.catalina.LifecycleException: Failed to start component
[StandardServer[8005]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

at org.apache.catalina.startup.Catalina.start(Catalina.java:625)

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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)

Caused by: org.apache.catalina.LifecycleException: Failed to start
component [StandardService[Catalina]]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

at
org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:760)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

… 7 more

Caused by: org.apache.catalina.LifecycleException: Failed to start
component [org.apache.catalina.mapper.MapperListener@78c03f1f]

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

at
org.apache.catalina.core.StandardService.startInternal(StandardService.java:450)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

… 9 more

Caused by: java.lang.NullPointerException

at org.apache.catalina.mapper.Mapper.slashCount(Mapper.java:1465)

at org.apache.catalina.mapper.Mapper.addContextVersion(Mapper.java:277)

at
org.apache.catalina.mapper.MapperListener.registerContext(MapperListener.java:380)

at
org.apache.catalina.mapper.MapperListener.registerHost(MapperListener.java:302)

at
org.apache.catalina.mapper.MapperListener.startInternal(MapperListener.java:110)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

… 11 more


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/9e77e778-a02f-45f4-a73c-112269c9abf7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/CAG%2BEEBxz_SmO7PvZSME2Pr_DdSTeZ1NnxY7PLLuNt-mCtc0kbw%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

Phil/Geoff

Did you find a solution to this?

I am getting the exact same issue on a clean 5.0.0.252 install.

ThanksOn Friday, 3 June 2016 08:45:07 UTC+10, Phil Haeusler wrote:

Hi

In my tests, adding the

as a child of gets past the

Caused by: java.lang.IllegalArgumentException: URI scheme is not “file”

exception. But that leads to the null pointer exception i posted
originally.

Be great to find a solution
Phil

On Thursday, June 2, 2016 at 6:05:56 PM UTC+10, Geoff Parkhurst wrote:

Me too. Same error when adding a 2nd (5.0.0.252 on a mac)

Here’s the Host entry:

And here’s the error on startup:

02-Jun-2016 08:55:42.259 SEVERE [Catalina-startStop-1]
org.apache.catalina.core.ContainerBase.startInternal A child container
failed during start

java.util.concurrent.ExecutionException:
org.apache.catalina.LifecycleException: Failed to start component
[StandardEngine[Catalina].StandardHost[mysite.localhost].StandardContext[]]

at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:917)

at
org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:868)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)

at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.catalina.LifecycleException: Failed to start
component
[StandardEngine[Catalina].StandardHost[mysite.localhost].StandardContext[]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
… 6 more
Caused by: java.lang.IllegalArgumentException: URI scheme is not “file”
at java.io.File.(File.java:421)
at
org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:318)

at
org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:244)

at
org.apache.catalina.startup.ContextConfig.processJarsForWebFragments(ContextConfig.java:1855)

at
org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1119)

at
org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:771)

at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:305)

at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)

at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)

at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5095)

at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
… 6 more

On 1 June 2016 at 06:30, Michael Offner mic...@lucee.org wrote:

Seems unreladed to Lucee, most likely a typo somewhere in the
configuration,
it is complaining about slashes…
Express itself has not changed between 4.5 and 5.

Micha

Am 31.05.2016 10:29 vorm. schrieb “Phil Haeusler” philha...@gmail.com:

I am unable to get multiple hosts working with Tomcat in the Lucee 5
express install on Mac. This seems to have changed between 4.5 and 5

Adding a new host entry into server.conf such as

  <Host name="mysite.local" appBase="webapps"> 

        <Context name="" docBase="/Users/sites/mysite"> 
          <JarScanner scanClassPath="false"/> 
        </Context> 

  </Host> 

results in the stacktrace below as Tomcat is trying to start the new
Host.
Without the JarScanner line, Tomcat fails even earlier.

Any hints for getting multiple virtual hosts running under the Lucee 5
express install?

Thanks
Phil

31-May-2016 08:49:59.664 SEVERE [main]
org.apache.catalina.startup.Catalina.start The required Server
component
failed to start so Tomcat is unable to start.

org.apache.catalina.LifecycleException: Failed to start component
[StandardServer[8005]]

at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

at org.apache.catalina.startup.Catalina.start(Catalina.java:625)

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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)

Caused by: org.apache.catalina.LifecycleException: Failed to start
component [StandardService[Catalina]]

at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

at

org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:760)

at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

… 7 more

Caused by: org.apache.catalina.LifecycleException: Failed to start
component [org.apache.catalina.mapper.MapperListener@78c03f1f]

at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)

at

org.apache.catalina.core.StandardService.startInternal(StandardService.java:450)

at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

… 9 more

Caused by: java.lang.NullPointerException

at org.apache.catalina.mapper.Mapper.slashCount(Mapper.java:1465)

at
org.apache.catalina.mapper.Mapper.addContextVersion(Mapper.java:277)

at

org.apache.catalina.mapper.MapperListener.registerContext(MapperListener.java:380)

at

org.apache.catalina.mapper.MapperListener.registerHost(MapperListener.java:302)

at

org.apache.catalina.mapper.MapperListener.startInternal(MapperListener.java:110)

at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

… 11 more


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/9e77e778-a02f-45f4-a73c-112269c9abf7%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/CAG%2BEEBxz_SmO7PvZSME2Pr_DdSTeZ1NnxY7PLLuNt-mCtc0kbw%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.