Comments (3)
(by mbrekkevold)
Originator: YES
The stacktrace looks ugly/unreadable when displayed on sf.net using a
non-monospaced font. Re-iterating the stacktrace example in this comment:
SQLException for update statement: INSERT INTO netbox_vtpvlan
(netboxid,vtpvlan) VALUES ('379','921')
org.postgresql.util.PSQLException: This statement has been closed.
at
org.postgresql.jdbc2.AbstractJdbc2Statement.checkClosed(AbstractJdbc2Statement.java:2409)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.getUpdateCount(AbstractJdbc2Statement.java:480)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:288)
at no.ntnu.nav.Database.Database.update(Database.java:1004)
at no.ntnu.nav.Database.Database.insert(Database.java:928)
at
no.ntnu.nav.getDeviceData.dataplugins.Netbox.NetboxHandler.handleData(NetboxHandler.java:225)
at
DataContainersImpl.callDataHandlers(DataContainersImpl.java:69)
at QueryNetbox.run(QueryNetbox.java:808)
from nav.
(by mbrekkevold)
Originator: YES
getDeviceData, eventEngine and getBoksMacs are multi-threaded processes
that access the NAV database by means of a common NAV Database API
(no.ntnu.nav.Database). It is uncertain why this error seems to occur more
often while using a PostgreSQL 8.1 JDBC driver, as the JDBC API itself is
unchanged, and so is the NAV code. I cannot remember seeing the exception
while using a 7.4 driver, until the 8.1 problem became apparent and I went
back and checked old logs.
Upon closer inspection, the Database code seems to have a race condition
which should occur all the time, not just when using a 8.1 driver. I will
attempt to fix this race condition.
from nav.
(by mbrekkevold)
Originator: YES
Fixed in r4215. Will be merged with the final version of NAV 3.3.0.
from nav.
Related Issues (20)
- Fix warnings during integration tests
- Convert from using form.as_p and form.as_table to as_div
- Docs: missing link in Feide documentation HOT 1
- Document the `SearchProvider` interface to enable 3rd parties to develop searchbar plugins for NAV
- Reinstate rule that avoids posting test reports on non-PR pushes
- Let SessionMiddleware handle session saving HOT 4
- Use Webpack's watch mode or module replacement functionality
- Fix deprecated syntax/features in Sass files
- [BUG] Navclean cron error HOT 1
- [BUG] Several NAV scripts run twice on every invocation HOT 1
- [BUG] navtopology cron job does not start properly HOT 3
- [BUG] Renaming of snmptrapd.py crashes with net-snmp's snmptrapd HOT 2
- Adding multiple SNMPv3-enabled switches in NAV causes spurious timeouts and `snmpAgentDown` alerts HOT 3
- ARP records are closed in bulk, seemingly at random
- Installing NAV on Debian guide should be updated to Debian Bullseye
- Add deprecation warning for Python 3.7 to `NOTES.rst` and `CHANGELOG.md`
- Remove Python 3.7 from default test matrix
- Update required PostgreSQL version to 13
- Make a new management profile type for REST APIs HOT 1
- Make TLS certification validation configurable in the ipdevpoll Palo Alto ARP plugin
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nav.