Scheduled Tasks won't work under Lucee 4.5.1.022 (final)

Hi

It might help someone down the road.

It seems that it is possible to execute the scheduled tasks on the tomcat
port (8888) bypassing the front-facing webserver (IIS) and BonCode.

I still think that Lucee and/or Tomcat 8 is broken in this regard that it’s
not possible to execute scheduled tasks on 2 SSL sites sharing 1 IP (SNI).

–DavidOn Wednesday, September 23, 2015 at 3:28:51 PM UTC+2, Nando Breiter wrote:

An ideal solution might often be the possibility to call a function from
cfschedule, rather than it being exclusively tied to an http request. I
would think that tasks are usually an internal affair - no need to call out
to another server, and no need to return a response either.

+1 for being a big deal

Yeah this is a big deal for me. I installed the certs, to me it seems like
the scheduler isn’t using the same certificate store that a standard cfhttp
call is. The cfhttp calls work fine, but the scheduler always reports the
connection was reset. : (

FYI, this is part of a script that I use in Vagrant to prep Lucee for some
scheduled tasks that will be created (which hit the host site, itself,
which runs with a self-signed cert). IIRC (though I could be wrong) the
automated cert-adder in the Lucee admin didn’t do the trick.

echo “add site’s own cert to keystore”

echo -n |
openssl s_client -connect ${site_host_name}:443
| sed -ne ‘/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p’ \

/tmp/${site_host_name}.cert

/opt/lucee/jdk/jre/bin/keytool
-import
-keystore /opt/lucee/lib/lucee-server/context/security/cacerts
-alias “${site_host_name} (self-signed)”
-storepass changeit
-file /tmp/${site_host_name}.cert
-noprompt
|| trueOn Fri, Sep 9, 2016 at 4:50 PM, Dan Baughman <@Dan_Baughman> wrote:

Yeah this is a big deal for me. I installed the certs, to me it seems like
the scheduler isn’t using the same certificate store that a standard cfhttp
call is. The cfhttp calls work fine, but the scheduler always reports the
connection was reset. : (


Get 10% off of the regular price for this years CFCamp in Munich, Germany
(Oct. 20th & 21st) with the Lucee discount code Lucee@cfcamp. 189€
instead of 210€. Visit https://ti.to/cfcamp/cfcamp-
2016/discount/Lucee@cfcamp

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/f3b93717-ade4-4385-9fe9-f5bb3bdda74c%40googlegroups.com
https://groups.google.com/d/msgid/lucee/f3b93717-ade4-4385-9fe9-f5bb3bdda74c%40googlegroups.com?utm_medium=email&utm_source=footer
.

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