Railo 4.2 to Lucee issues

Hello, I am running into some issue and am hoping that someone can point
me in the right direction.

I followed all the instructions to migrate one of my Railo 4.2 instances to
Lucee 4.5. Parts of it are a success but getting all my sites to start is
my biggest issue.

The really wierd thing is some sites start and others over and over throw
this error in the Catalina logs.

May 07, 2015 11:29:03 AM org.apache.coyote.ajp.AjpProcessor process
SEVERE: Error processing request
java.lang.IllegalArgumentException: Host name is required
at org.apache.catalina.core.StandardHost.setName(StandardHost.java:488)
at mod_cfml.core.invoke(core.java:366)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

After hitting a site about 5 or 6 times it sometimes will come up finally
some sites just never resolve.

A few things about our environment.

Windows 2008 R2 64 bit
32 GB Ram
IIS 7.5
This instance of Lucee has the following Java options
-Dcatalina.base=C:\railo02\tomcat
-Dcatalina.home=C:\railo02\tomcat
-Djava.endorsed.dirs=C:\railo02\tomcat\endorsed
-Djava.io.tmpdir=C:\railo02\tomcat\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=C:\railo02\tomcat\conf\logging.properties
-XX:PermSize=256m
-XX:MaxPermSize=512m
-javaagent:C:\railo02\lib\lucee-inst.jar

Initial memory pool 256
Max memory 2048

This is a production server set in a load balance set up that we are hoping
to convert to the Lucee engine. I am able to turn sites off in iis so the
fail over to the other server so there is no real downtime for our clients
while we do the migration. However, having said that as i turn on each
site individually it takes a long time to get the site to hook into Lucee.
In the Lucee admin (which by the way always starts nicely) for each site I
like to set the label so it is easier to identify the site. However, upon
restart of Lucee even if a site was previously set and was working it takes
multiple attempts to get the site to respond again if ever. I had some
issue like this with Railo but never to such degrees as i am having with
Lucee. Right now i am only attempting to start dev sites that do not have
much traffic but would really like to get this resolved to move forward
with the live sites and then eventually get my other instances migrated.
Any help would be so much appreciated.

Thank you
Barbara

Hi Barbara,

If you’re running IIS you’ll want to update the BonCode Connector as well. The error appears to be from mod_cfml, which is complaining about the lack of a “Host” header in the http request. The thing is, a “Host” header should always be present in a standard HTTP request from a web browser (it’s part of what’s in the address bar), so the problem is likely in the connector and how it’s handing off the request to Tomcat.

Kind regards,
Jordan Michaels----- Original Message -----
From: “Barbara ONeal” <@Barbara_ONeal>
To: lucee@googlegroups.com
Sent: Thursday, May 7, 2015 10:26:45 AM
Subject: [Lucee] Railo 4.2 to Lucee issues

Hello, I am running into some issue and am hoping that someone can point
me in the right direction.

I followed all the instructions to migrate one of my Railo 4.2 instances to
Lucee 4.5. Parts of it are a success but getting all my sites to start is
my biggest issue.

The really wierd thing is some sites start and others over and over throw
this error in the Catalina logs.

May 07, 2015 11:29:03 AM org.apache.coyote.ajp.AjpProcessor process
SEVERE: Error processing request
java.lang.IllegalArgumentException: Host name is required
at org.apache.catalina.core.StandardHost.setName(StandardHost.java:488)
at mod_cfml.core.invoke(core.java:366)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

After hitting a site about 5 or 6 times it sometimes will come up finally
some sites just never resolve.

A few things about our environment.

Windows 2008 R2 64 bit
32 GB Ram
IIS 7.5
This instance of Lucee has the following Java options
-Dcatalina.base=C:\railo02\tomcat
-Dcatalina.home=C:\railo02\tomcat
-Djava.endorsed.dirs=C:\railo02\tomcat\endorsed
-Djava.io.tmpdir=C:\railo02\tomcat\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=C:\railo02\tomcat\conf\logging.properties
-XX:PermSize=256m
-XX:MaxPermSize=512m
-javaagent:C:\railo02\lib\lucee-inst.jar

Initial memory pool 256
Max memory 2048

This is a production server set in a load balance set up that we are hoping
to convert to the Lucee engine. I am able to turn sites off in iis so the
fail over to the other server so there is no real downtime for our clients
while we do the migration. However, having said that as i turn on each
site individually it takes a long time to get the site to hook into Lucee.
In the Lucee admin (which by the way always starts nicely) for each site I
like to set the label so it is easier to identify the site. However, upon
restart of Lucee even if a site was previously set and was working it takes
multiple attempts to get the site to respond again if ever. I had some
issue like this with Railo but never to such degrees as i am having with
Lucee. Right now i am only attempting to start dev sites that do not have
much traffic but would really like to get this resolved to move forward
with the live sites and then eventually get my other instances migrated.
Any help would be so much appreciated.

Thank you
Barbara


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/35809e2f-34df-43fd-8315-7813a7161514%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

James, this was actually a combination of two issues. I did update the
Bon code connector on all sites but the other thing i had to do was in the
LoadBalancer I had to make sure that the sites were set to htttp 1.1 and
set the host. I am not sure what LB you are using but check the real
server settings.

Hi

Did you find a resolution to this issue?
We’re having the same problem, again through behind a load balancer but
we’re running Apache on CentOS.

Thanks

JamesOn Friday, May 8, 2015 at 12:53:21 AM UTC+1, Barbara ONeal wrote:

sounds good look forward to hearing from you.

On Thursday, May 7, 2015 at 6:00:08 PM UTC-5, Jordan Michaels wrote:

Barbara,

I’ll communicate directly with you about this. Don’t want to be
disrespectful of people’s in-boxes and give them more diagnostic info
they may not be interested in. :wink:

Warm Regards,
Jordan Michaels

On 05/07/2015 03:36 PM, Barbara ONeal wrote:

ok so i followed your instructions and put the new file in the
directory
I did reaname the old one … not remove and restarted lucee then tried
dev.karilyndesigns.com again

[mod_cfml] Decoded Requst URI => /lb/default.cfm
[mod_cfml] QueryString => null
[mod_cfml] DocRoot Value => E:\Websites\dev.karilyndesigns.com\www\
[mod_cfml] Host Value => dev.karilyndesigns.com
[mod_cfml] tcHost contains ‘:’ ? => false
[mod_cfml] lastContext = 1431029625199
[mod_cfml] throttleDate = 127
[mod_cfml] throttleValue = 7
[mod_cfml] Removing old config directory:
C:\railo02\tomcat\conf\Catalina\dev.karilyndesigns.com
[mod_cfml] Creating new config directory:
C:\railo02\tomcat\conf\Catalina\dev.karilyndesigns.com
[mod_cfml] Removing old work directory:
C:\railo02\tomcat\work\Catalina\dev.karilyndesigns.com
[mod_cfml] Creating context file:
C:\railo02\tomcat\conf\Catalina\dev.karilyndesigns.com/ROOT.xml
[mod_cfml] Wait for context? => true
[mod_cfml] Verifying context files…
[mod_cfml] Waiting for context files: [0]
[mod_cfml] Waiting for context files: [1]
[mod_cfml] Waiting for context files: [2]
[mod_cfml] Waiting for context files: [3]
[mod_cfml] Waiting for context files: [4]
[mod_cfml] Waiting for context files: [5]
[mod_cfml] Waiting for context files: [6]
[mod_cfml] Waiting for context files: [7]
[mod_cfml] Waiting for context files: [8]
[mod_cfml] Waiting for context files: [9]
[mod_cfml] FATAL: Invalid host: Null or zero-length.
[mod_cfml] Wait loop ended. Context files found? [true]
[mod_cfml] Creating New Host…
[mod_cfml] setName Value => null
[mod_cfml] FATAL: Invalid host: Null or zero-length.
[mod_cfml] FATAL: Invalid host: Null or zero-length.
[mod_cfml] Decoded Requst URI => /lb/default.cfm
[mod_cfml] QueryString => null
[mod_cfml] DocRoot Value => E:\Websites\dev.karilyndesigns.com\www\
[mod_cfml] Host Value => dev.karilyndesigns.com
[mod_cfml] tcHost contains ‘:’ ? => false
[mod_cfml] lastContext = 1431029625199
[mod_cfml] throttleDate = 127
[mod_cfml] throttleValue = 7
[mod_cfml] Removing old config directory:
C:\railo02\tomcat\conf\Catalina\dev.karilyndesigns.com
[mod_cfml] Creating new config directory:
C:\railo02\tomcat\conf\Catalina\dev.karilyndesigns.com
[mod_cfml] Removing old work directory:
C:\railo02\tomcat\work\Catalina\dev.karilyndesigns.com
[mod_cfml] Creating context file:
C:\railo02\tomcat\conf\Catalina\dev.karilyndesigns.com/ROOT.xml
[mod_cfml] Wait for context? => true
[mod_cfml] Verifying context files…
[mod_cfml] Waiting for context files: [0]
[mod_cfml] Waiting for context files: [1]
[mod_cfml] Waiting for context files: [2]
[mod_cfml] FATAL: Invalid host: Null or zero-length.
[mod_cfml] Waiting for context files: [3]
[mod_cfml] Waiting for context files: [4]
[mod_cfml] Waiting for context files: [5]
[mod_cfml] Waiting for context files: [6]
[mod_cfml] Waiting for context files: [7]
[mod_cfml] Waiting for context files: [8]
[mod_cfml] Waiting for context files: [9]
[mod_cfml] Wait loop ended. Context files found? [true]
[mod_cfml] Creating New Host…
[mod_cfml] setName Value => null
[mod_cfml] FATAL: Invalid host: Null or zero-length.
[mod_cfml] FATAL: Invalid host: Null or zero-length.


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

https://groups.google.com/d/msgid/lucee/07163fb3-c0b4-451f-bc3f-b4206ba8fa7e%40googlegroups.com

<
https://groups.google.com/d/msgid/lucee/07163fb3-c0b4-451f-bc3f-b4206ba8fa7e%40googlegroups.com?utm_medium=email&utm_source=footer>.

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