Eroare ...SyntaxError: JSON.parse: unexpected character at line 2 column 1 of the JSON data
ECRServer =2024-01-22 22:44:05.687= begin open connection from 127.0.0.1
ECRServer =2024-01-22 22:44:05.688= get string message GETLOCALPR
ECRServer =2024-01-22 22:44:05.688= GETLOCALPR resp=GETLOCALPR;1;;[{"label":"OneNote for Windows 10","value":"0"},{"label":"Microsoft XPS Document Writer","value":"1"},{"label":"Microsoft Print to PDF","value":"2"},{"label":"KONICA MINOLTA bizhub C253 PCL (10.10.0.29) UPD","value":"3"},{"label":"KONICA MINOLTA bizhub C224 PCL (192.168.0.190) v4","value":"4"},{"label":"Fax","value":"5"},{"label":"ET9C934EE7C344","value":"6"},{"label":"Datecs LP-50","value":"7"},{"label":"Brother DCP-T710W Printer","value":"8"},{"label":"Brother DCP-T700W","value":"9"},{"label":"AnyDesk Printer","value":"10"}]
ECRServer =2024-01-22 22:44:05.689= connection closed
Certificat negasit
=====================================================
ECRServer =2024-01-22 22:37:00.306= begin open connection from 127.0.0.1
ECRServer =2024-01-22 22:37:00.308= get string message GETLOCALPR
ECRServer =2024-01-22 22:37:00.308= GETLOCALPR resp=GETLOCALPR;1;;[{"label":"OneNote for Windows 10","value":"0"},{"label":"Microsoft XPS Document Writer","value":"1"},{"label":"Microsoft Print to PDF","value":"2"},{"label":"KONICA MINOLTA bizhub C253 PCL (10.10.0.29) UPD","value":"3"},{"label":"KONICA MINOLTA bizhub C224 PCL (192.168.0.190) v4","value":"4"},{"label":"Fax","value":"5"},{"label":"ET9C934EE7C344","value":"6"},{"label":"Datecs LP-50","value":"7"},{"label":"Brother DCP-T710W Printer","value":"8"},{"label":"Brother DCP-T700W","value":"9"},{"label":"AnyDesk Printer","value":"10"}]
ECRServer =2024-01-22 22:37:00.309= connection closed
=====================================================
ECRServer =2024-01-22 22:37:03.854= begin open connection from 127.0.0.1
ECRServer =2024-01-22 22:37:03.856= onMessage ByteBuffer=java.nio.HeapByteBuffer[pos=0 lim=32088 cap=32088]
ECRServer =2024-01-22 22:37:03.856=begin write tmpfld:C:\Users\tehnic\webgest_local\tmp\ zipfilepath:C:\Users\tehnic\webgest_local\tmp\ziprescris.zip
delete file C:\Users\tehnic\webgest_local\tmp\meta.txt
delete file C:\Users\tehnic\webgest_local\tmp\pdf4print.pdf
delete file C:\Users\tehnic\webgest_local\tmp\ziprescris.zip
delete C:\Users\tehnic\webgest_local\tmp
ECRServer =2024-01-22 22:37:09.943= begin unzip to tmpfld
ECRServer =2024-01-22 22:37:09.949= unzipFile - destPath C:\Users\tehnic\webgest_local\tmp\pdf4print.pdf
ECRServer =2024-01-22 22:37:09.950= unzipFile - destPath C:\Users\tehnic\webgest_local\tmp\meta.txt
ECRServer =2024-01-22 22:37:09.951=end unzip zipfilepath
ECRServer =2024-01-22 22:37:09.951= begin test meta
ECRServer =2024-01-22 22:37:09.953= meta.txt :
batype=printJob
idxp=2
tipfrm=pdf
java.lang.Exception: Certificat neg?sit
at mirabit.local.ttnserver.EcrServer.onMessage(EcrServer.java:2504)
at org.java_websocket.server.WebSocketServer.onWebsocketMessage(WebSocketServer.java:679)
at org.java_websocket.drafts.Draft_6455.processFrameBinary(Draft_6455.java:862)
at org.java_websocket.drafts.Draft_6455.processFrame(Draft_6455.java:821)
at org.java_websocket.WebSocketImpl.decodeFrames(WebSocketImpl.java:379)
at org.java_websocket.WebSocketImpl.decode(WebSocketImpl.java:216)
at org.java_websocket.server.WebSocketServer$WebSocketWorker.doDecode(WebSocketServer.java:1046)
at org.java_websocket.server.WebSocketServer$WebSocketWorker.run(WebSocketServer.java:1028)
ECRServer =2024-01-22 22:37:09.953= resp=ERRGEN;;Eroare - Certificat neg?sit
ECRServer =2024-01-22 22:37:09.955= connection closed
NO_ZERO_IN_DATE,NO_ZERO_DATE
si s-a rezolvat si problema initiala!includedir /etc/mysql/conf.d
[mysqld]
sql_mode = STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
ONLY_FULL_GROUP_BY