I often get a failure SQL lock , i made all the server handlers single thread (true)
In my websocket connections i only read from the database.
I can not see exactly when this happens because the error shows up after 60 seconds with the error waiting on
Error
is there a way to trace back where the error occurs?
In my websocket connections i only read from the database.
I can not see exactly when this happens because the error shows up after 60 seconds with the error waiting on
Error
B4X:
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:1329)
at anywheresoftware.b4j.objects.SQL.startLock(SQL.java:164)
at anywheresoftware.b4j.objects.SQL.BeginTransaction(SQL.java:405)
at cunacc.server.chatshared._writestatus(chatshared.java:454)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:93)
at anywheresoftware.b4a.keywords.Common.CallSub4(Common.java:447)
at anywheresoftware.b4a.keywords.Common.CallSubNew2(Common.java:417)
at cunacc.server.webalarms._previewbtn_click(webalarms.java:385)
at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:93)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:84)
at anywheresoftware.b4j.object.WebSocketModule$Adapter$1.run(WebSocketModule.java:126)
at anywheresoftware.b4a.keywords.SimpleMessageLoop.runMessageLoop(SimpleMessageLoop.java:30)
at anywheresoftware.b4a.StandardBA.startMessageLoop(StandardBA.java:26)
at anywheresoftware.b4j.object.WebSocketModule$Adapter$ThreadHandler.run(WebSocketModule.java:195)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
is there a way to trace back where the error occurs?