# Scheduler Problem

**URL:** <https://dev.lucee.org/t/scheduler-problem/1360>\
**Category:** google-group-archive\
**Created:** [July 6, 2016, 9:05am UTC](https://dev.lucee.org/t/scheduler-problem/1360 "2016-07-06T09:05:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Vornkahl](https://dev.lucee.org/letter_avatar_proxy/v4/letter/m/7feea3/32.png) [@Michael\_Vornkahl](https://dev.lucee.org/u/Michael_Vornkahl)\
**Post date:** [July 6, 2016, 9:05am UTC](https://dev.lucee.org/t/scheduler-problem/1360/1 "2016-07-06T09:05:02Z")

</div>

Hi everybody,  
I have a problem with the scheduler. One task doesn’t run. I start a  
cfm-file on my server per scheduler and nothing happens.  
If i start the same file via browser it runs and produces no errors.

The following scheduler.log entry exist:

“ERROR”,“Thread-375”,“07/06/2016”,“10:59:54”,“”,"schedule  
task:Anfrage-Erinnerungen;Connection reset;java.net.SocketException:  
Connection reset  
at java.net.SocketInputStream.read(SocketInputStream.java:196)  
at java.net.SocketInputStream.read(SocketInputStream.java:122)  
at sun.security.ssl.InputRecord.readFully(InputRecord.java:442)  
at sun.security.ssl.InputRecord.read(InputRecord.java:480)  
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:934)  
at  
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)  
at  
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)  
at  
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)  
at  
org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:543)  
at  
org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:409)  
at  
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)  
at  
org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)  
at  
org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)  
at  
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)  
at  
org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882)  
at  
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at  
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)  
at  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.lang.reflect.Method.invoke(Method.java:606)  
at  
lucee.commons.net.http.httpclient4.HTTPEngine4Impl.execute(HTTPEngine4Impl.java:423)  
at  
lucee.commons.net.http.httpclient4.HTTPEngine4Impl.\_invoke(HTTPEngine4Impl.java:253)  
at  
lucee.commons.net.http.httpclient4.HTTPEngine4Impl.get(HTTPEngine4Impl.java:113)  
at lucee.commons.net.http.HTTPEngine.get(HTTPEngine.java:86)  
at  
lucee.runtime.schedule.ExecutionThread.execute(ExecutionThread.java:108)  
at lucee.runtime.schedule.ExecutionThread.run(ExecutionThread.java:58)  
"

Other tasks on the server are running without problems.

Lucee 4.5.3.018 final  
Windows Server 2012 (6.2) 64bit  
Apache Tomcat/7.0.59  
Java 1.7.0\_76 (Oracle Corporation) 64bit

Can anybody give me a tipp, where to search?

Thank you

Michael

---

<div class="post-metadata">

**Author:** ![andrew](https://dev.lucee.org/user_avatar/dev.lucee.org/andrew/32/11_2.png) [@andrew](https://dev.lucee.org/u/andrew)\
**Post date:** [July 6, 2016, 9:10am UTC](https://dev.lucee.org/t/scheduler-problem/1360/2 "2016-07-06T09:10:08Z")

</div>

Check the “port” setting and make sure it is set to the right port number.  
I had this previously where I moved tasks from http to https but didn’t  
notice the port setting was set to port 80, so Lucee was attempting to call  
https on port 80.

Kind regards,

Andrew  
[about.me](http://about.me) [http://about.me/andrew\_dixon](http://about.me/andrew_dixon) - mso [http://www.mso.net](http://www.mso.net) - Lucee  
Association Member [http://lucee.org](http://lucee.org)On 6 July 2016 at 10:05, Michael Vornkahl \<@Michael\_Vornkahl\> wrote:

> Hi everybody,  
> I have a problem with the scheduler. One task doesn’t run. I start a  
> cfm-file on my server per scheduler and nothing happens.  
> If i start the same file via browser it runs and produces no errors.
> 
> The following scheduler.log entry exist:
> 
> “ERROR”,“Thread-375”,“07/06/2016”,“10:59:54”,“”,"schedule  
> task:Anfrage-Erinnerungen;Connection reset;java.net.SocketException:  
> Connection reset  
> at java.net.SocketInputStream.read(SocketInputStream.java:196)  
> at java.net.SocketInputStream.read(SocketInputStream.java:122)  
> at sun.security.ssl.InputRecord.readFully(InputRecord.java:442)  
> at sun.security.ssl.InputRecord.read(InputRecord.java:480)  
> at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:934)  
> at  
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)  
> at  
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)  
> at  
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)  
> at  
> org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:543)  
> at  
> org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:409)  
> at  
> org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)  
> at  
> org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)  
> at  
> org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)  
> at  
> org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)  
> at  
> org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882)  
> at  
> org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)  
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
> at  
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)  
> at  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
> at java.lang.reflect.Method.invoke(Method.java:606)  
> at  
> lucee.commons.net.http.httpclient4.HTTPEngine4Impl.execute(HTTPEngine4Impl.java:423)  
> at  
> lucee.commons.net.http.httpclient4.HTTPEngine4Impl.\_invoke(HTTPEngine4Impl.java:253)  
> at  
> lucee.commons.net.http.httpclient4.HTTPEngine4Impl.get(HTTPEngine4Impl.java:113)  
> at lucee.commons.net.http.HTTPEngine.get(HTTPEngine.java:86)  
> at  
> lucee.runtime.schedule.ExecutionThread.execute(ExecutionThread.java:108)  
> at lucee.runtime.schedule.ExecutionThread.run(ExecutionThread.java:58)  
> "
> 
> Other tasks on the server are running without problems.
> 
> Lucee 4.5.3.018 final  
> Windows Server 2012 (6.2) 64bit  
> Apache Tomcat/7.0.59  
> Java 1.7.0\_76 (Oracle Corporation) 64bit
> 
> Can anybody give me a tipp, where to search?
> 
> Thank you
> 
> Michael
> 
> ## – Win a ticket to dev.objective from Lucee via Twitter, see [http://bit.ly/1UbTMWj](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](mailto:lucee+unsubscribe@googlegroups.com).  
> To post to this group, send email to [lucee@googlegroups.com](mailto:lucee@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/lucee/41c0a6d6-9778-463b-8bb2-062cd84ae0d4%40googlegroups.com](https://groups.google.com/d/msgid/lucee/41c0a6d6-9778-463b-8bb2-062cd84ae0d4%40googlegroups.com)  
> [https://groups.google.com/d/msgid/lucee/41c0a6d6-9778-463b-8bb2-062cd84ae0d4%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/lucee/41c0a6d6-9778-463b-8bb2-062cd84ae0d4%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Julian\_Halliwell](https://dev.lucee.org/letter_avatar_proxy/v4/letter/j/2acd7d/32.png) [@Julian\_Halliwell](https://dev.lucee.org/u/Julian_Halliwell)\
**Post date:** [July 6, 2016, 9:13am UTC](https://dev.lucee.org/t/scheduler-problem/1360/3 "2016-07-06T09:13:28Z")

</div>

Is your site using SNI for SSL? If so it’s probably due to this bug:

[https://luceeserver.atlassian.net/browse/LDEV-649](https://luceeserver.atlassian.net/browse/LDEV-649)

If so you may be able to work around it by calling the page directly  
via Tomcat using http on port 8888 rather than https. See the comments  
on that ticket for more details.On 6 July 2016 at 10:05, Michael Vornkahl \<@Michael\_Vornkahl\> wrote:

> I have a problem with the scheduler. One task doesn’t run. I start a  
> cfm-file on my server per scheduler and nothing happens.  
> If i start the same file via browser it runs and produces no errors.
> 
> The following scheduler.log entry exist:
> 
> “ERROR”,“Thread-375”,“07/06/2016”,“10:59:54”,“”,"schedule  
> task:Anfrage-Erinnerungen;Connection reset;java.net.SocketException:  
> Connection reset

---

<div class="post-metadata">

**Author:** ![Michael\_Vornkahl](https://dev.lucee.org/letter_avatar_proxy/v4/letter/m/7feea3/32.png) [@Michael\_Vornkahl](https://dev.lucee.org/u/Michael_Vornkahl)\
**Post date:** [July 6, 2016, 1:29pm UTC](https://dev.lucee.org/t/scheduler-problem/1360/4 "2016-07-06T13:29:11Z")

</div>

Thanks everybody,  
I changed the tasks to http. Now it works .

MichaelAm Mittwoch, 6. Juli 2016 11:05:03 UTC+2 schrieb Michael Vornkahl:

> Hi everybody,  
> I have a problem with the scheduler. One task doesn’t run. I start a  
> cfm-file on my server per scheduler and nothing happens.  
> If i start the same file via browser it runs and produces no errors.
> 
> The following scheduler.log entry exist:
> 
> “ERROR”,“Thread-375”,“07/06/2016”,“10:59:54”,“”,"schedule  
> task:Anfrage-Erinnerungen;Connection reset;java.net.SocketException:  
> Connection reset  
> at java.net.SocketInputStream.read(SocketInputStream.java:196)  
> at java.net.SocketInputStream.read(SocketInputStream.java:122)  
> at sun.security.ssl.InputRecord.readFully(InputRecord.java:442)  
> at sun.security.ssl.InputRecord.read(InputRecord.java:480)  
> at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:934)  
> at  
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)  
> at  
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)  
> at  
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)  
> at  
> org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:543)  
> at  
> org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:409)  
> at  
> org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)  
> at  
> org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)  
> at  
> org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)  
> at  
> org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)  
> at  
> org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882)  
> at  
> org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)  
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
> at  
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)  
> at  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
> at java.lang.reflect.Method.invoke(Method.java:606)  
> at  
> lucee.commons.net.http.httpclient4.HTTPEngine4Impl.execute(HTTPEngine4Impl.java:423)  
> at  
> lucee.commons.net.http.httpclient4.HTTPEngine4Impl.\_invoke(HTTPEngine4Impl.java:253)  
> at  
> lucee.commons.net.http.httpclient4.HTTPEngine4Impl.get(HTTPEngine4Impl.java:113)  
> at lucee.commons.net.http.HTTPEngine.get(HTTPEngine.java:86)  
> at  
> lucee.runtime.schedule.ExecutionThread.execute(ExecutionThread.java:108)  
> at lucee.runtime.schedule.ExecutionThread.run(ExecutionThread.java:58)  
> "
> 
> Other tasks on the server are running without problems.
> 
> Lucee 4.5.3.018 final  
> Windows Server 2012 (6.2) 64bit  
> Apache Tomcat/7.0.59  
> Java 1.7.0\_76 (Oracle Corporation) 64bit
> 
> Can anybody give me a tipp, where to search?
> 
> Thank you
> 
> Michael
