I’m running Lucee 4.5.2.018 on AWS Elastic Beanstalk. When using the 64bit
Amazon Linux 2015.03 v2.0.1 running Tomcat 8 Java 8 environment, everything
works fine. But, when utilizing the most recent version, 64bit Amazon Linux
2015.09 v2.0.4 running Tomcat 8 Java 8 - I receive the following error:
It appears that cfhttp calls (twilio, etc.) are causing the error.
This doesn’t appear to be related to Lucee versions, per se, since it also
occurs on the previous Lucee stable version. I know there have been some
challenges with cfhttp lately, so I’m not sure if this is also related.
The solution was to replace all three http related jars with the ones I reference in the comments.> On Nov 9, 2015, at 8:17 PM, David Repas <@David_Repas> wrote:
Hello -
I’m running Lucee 4.5.2.018 on AWS Elastic Beanstalk. When using the 64bit Amazon Linux 2015.03 v2.0.1 running Tomcat 8 Java 8 environment, everything works fine. But, when utilizing the most recent version, 64bit Amazon Linux 2015.09 v2.0.4 running Tomcat 8 Java 8 - I receive the following error:
It appears that cfhttp calls (twilio, etc.) are causing the error.
This doesn’t appear to be related to Lucee versions, per se, since it also occurs on the previous Lucee stable version. I know there have been some challenges with cfhttp lately, so I’m not sure if this is also related.
Unfortunately, that didn’t seem to help. After a bunch of trial and error,
I did find something that appeared to fix the issue. There’s a related post
by Micha about possibly just removing those jars if they are already loaded
in the system.
So, I removed all 3 of them, but that didn’t work - received some sort of
mime error. Then I tried leaving “apache-commons-httpmime.jar”, but removed
the other 2.
And surprise, that works.
I’m not sure why the “Amazon Linux 2015.09 v2.0.4 running Tomcat 8 Java 8”
environment has the problem, but “Amazon Linux 2015.03 v2.0.1 running
Tomcat 8 Java 8” does not.
Anyway, hopefully this will help someone down the road.
The solution was to replace all three http related jars with the ones I
reference in the comments.
On Nov 9, 2015, at 8:17 PM, David Repas <@David_Repas> wrote:
Hello -
I’m running Lucee 4.5.2.018 on AWS Elastic Beanstalk. When using the
64bit Amazon Linux 2015.03 v2.0.1 running Tomcat 8 Java 8 environment,
everything works fine. But, when utilizing the most recent version, 64bit
Amazon Linux 2015.09 v2.0.4 running Tomcat 8 Java 8 - I receive the
following error:
It appears that cfhttp calls (twilio, etc.) are causing the error.
This doesn’t appear to be related to Lucee versions, per se, since it
also occurs on the previous Lucee stable version. I know there have been
some challenges with cfhttp lately, so I’m not sure if this is also related.