skip to Main Content

EclipseLink configuration for MongoDB

I am getting following exception: java.lang.ClassCastException: class org.eclipse.persistence.sessions.DatabaseRecord cannot be cast to class org.eclipse.persistence.oxm.record.XMLRecord (org.eclipse.persistence.sessions.DatabaseRecord and org.eclipse.persistence.oxm.record.XMLRecord are in unnamed module of loader 'app') Cause: class org.eclipse.persistence.sessions.DatabaseRecord cannot be cast to class org.eclipse.persistence.oxm.record.XMLRecord (org.eclipse.persistence.sessions.DatabaseRecord and org.eclipse.persistence.oxm.record.XMLRecord are in unnamed module…

VIEW QUESTION

Nginx – Compass and MongoDB VPS instance won't establish TLS connection

Compass won't establish connection to VPS MongoDB instance. Here is the log: {"t":{"$date":"2024-12-05T20:38:26.097+00:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"185.121.228.66:51324","uuid":{"uuid":{"$uuid":"5f86b525-d80e-45ea-b05d-ca1e33028b58"}},"connectionId":52,"connectionCount":1}} {"t":{"$date":"2024-12-05T20:38:26.111+00:00"},"s":"I", "c":"NETWORK", "id":6723804, "ctx":"conn52","msg":"Ingress TLS handshake complete","attr":{"durationMillis":13}} {"t":{"$date":"2024-12-05T20:38:26.112+00:00"},"s":"E", "c":"NETWORK", "id":23256, "ctx":"conn52","msg":"SSL peer certificate validation failed","attr":{"error":"SSL peer certificate validation failed: unable to get issuer…

VIEW QUESTION

Mongodb – Mongo query to ignore non English characters

I have a mongo collection that stores city/country data in multiple languages. For example, the following query: db.cities_database.find({ "name.pl.country": "WÄ™gry" }).pretty().limit(10); Returns data in the following format: [ { _id: ObjectId('67331d2a9566994a18c505aa'), geoname_id_city: 714073, latitude: 46.91667, longitude: 21.26667, geohash: 'u2r4guvvmm4m', country_code:…

VIEW QUESTION
Back To Top
Search