Scheduler Problem

151 views
Skip to first unread message

Michael Vornkahl

unread,
Jul 6, 2016, 5:05:03 AM7/6/16
to Lucee
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

Andrew Dixon

unread,
Jul 6, 2016, 5:10:10 AM7/6/16
to lu...@googlegroups.com
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

--
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/41c0a6d6-9778-463b-8bb2-062cd84ae0d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Andrew Dixon

unread,
Jul 6, 2016, 5:11:17 AM7/6/16
to lu...@googlegroups.com
Also, you might need to update Java from 1.7 to 1.8 to get full SSL compatiblity as Java 7 doesn't support all the types of certificates that Java 8 does.

Kind regards,

Andrew

Julian Halliwell

unread,
Jul 6, 2016, 5:13:59 AM7/6/16
to lu...@googlegroups.com
Is your site using SNI for SSL? If so it's probably due to this bug:

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.v...@gmail.com> wrote:

Michael Vornkahl

unread,
Jul 6, 2016, 9:29:11 AM7/6/16
to Lucee
Thanks everybody,
I changed the tasks to http. Now it works .

Michael
Reply all
Reply to author
Forward
0 new messages