Open apext1431 opened 2 years ago
Привет!
https://stackoverflow.com/questions/7839907/no-more-data-to-read-from-socket-error
Thanks, Alex.
@akardapolov схожая проблема, но причины полагаю другие.
SELECT * FROM v$active_session_history WHERE SAMPLE_TIME > ? ORDER BY SAMPLE_TIME ASC 23.12.21 14:02:14.515 [pool-3-thread-1] INFO GetFromRemoteAndStore - Start loading stacked chart 23.12.21 14:02:14.577 [pool-3-thread-1] INFO GetFromRemoteAndStore - Stop loading olap 23.12.21 14:02:19.895 [pool-3-thread-1] INFO GetFromRemoteAndStore - Start loading 23.12.21 14:02:19.895 [pool-3-thread-1] INFO GetFromRemoteAndStore - Start loading olap SELECT * FROM v$active_session_history WHERE SAMPLE_TIME > ? ORDER BY SAMPLE_TIME ASC Exception in thread "AWT-EventQueue-1" java.lang.IllegalStateException: Database still has 1 open cursors while trying to close. at com.sleepycat.je.Database.closeInternal(Database.java:513) at com.sleepycat.je.Database.close(Database.java:352) at com.sleepycat.je.SecondaryDatabase.close(SecondaryDatabase.java:334) at com.sleepycat.persist.impl.Store.closeDb(Store.java:1540) at com.sleepycat.persist.impl.Store.close(Store.java:1133) at com.sleepycat.persist.EntityStore.close(EntityStore.java:660) at store.StoreManager.closeDb(StoreManager.java:75) at gui.MainWindow$1.windowClosing(MainWindow.java:85) at java.awt.Window.processWindowEvent(Unknown Source) at javax.swing.JFrame.processWindowEvent(Unknown Source) at java.awt.Window.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) 23.12.21 14:02:23.148 [pool-3-thread-1] INFO GetFromRemoteAndStore - Start loading stacked chart 23.12.21 14:02:23.148 [pool-3-thread-1] INFO GetFromRemoteAndStore - Stop loading olap Exception in thread "AWT-EventQueue-1" java.lang.IllegalStateException: Can't call Database.sync: Database was closed. at com.sleepycat.je.Database.checkOpen(Database.java:1863) at com.sleepycat.je.Database.sync(Database.java:544) at com.sleepycat.persist.impl.Store.sync(Store.java:969) at com.sleepycat.persist.EntityStore.sync(EntityStore.java:618) at store.StoreManager.syncBdb(StoreManager.java:69) at gui.MainWindow$1.windowClosing(MainWindow.java:84) at java.awt.Window.processWindowEvent(Unknown Source) at javax.swing.JFrame.processWindowEvent(Unknown Source) at java.awt.Window.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
Ashr 4 версии перестает собирать информацию от БД через некоторое время.
В логе присутствуют следующие ошибки.
Используется: ashr - 4.3.3. Oracle - 12c jdbc - 7 версии. Java - jdk1.8.0_144
На ashr 3 версии при подключении к этой-же бд с одинаковыми параметрами и jdbc драйвером такой проблемы не наблюдается.