-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connect Atoti with MongoDB #729
Comments
The |
Hi! We have reviewed what you have told us. We have everything configured correctly as you say: https://pypi.org/project/jdk4py We have done everything you have indicated, the same error continues to appear |
Hi, import os
import atoti
print(os.environ["ATOTI_JAVA_HOME"])
print(atoti._get_java_executable_path.get_java_executable_path()) If these show the expected values, can you please upload the latest server logs with the issue now that the relevant JDK has been set? |
Hi! Yes, the values are as expected. I attach the logs with updated JDK, the same issue still appears: server.log Thank you very much for your time! |
The custom JDK made the first error ( I've added this issue to our backlog but I can't tell when we'll have time to work on it. In the meantime, can you try backing your user content storage with another DB? |
Hi @tibdex , there was a misunderstanding here with the developers at NTT Data: for the user_content_storage, they are going to use an Oracle database so it should be ok. |
Hi! We are trying to connect a MongoDB database with Atoti but it doesn't work
We have carried out tests based on MongoDB and from other environments if we can connect (MongoDBCompass, DBeaver, Python locally, Python in Jupyter Lab...). But from Atoti we can't. We are using version 6.0.3 of MongoDB.
The imported drivers have also been checked and are correct. We have obtained them from the following page: https://unityjdbc.com/mongojdbc/mongo_jdbc_free.php
A MongoDB database has been created on another machine but it replicates the same error.
And finally, it has also been tested to make connections with Oracle and MySQL that have been successful.
Steps to reproduce
Actual Result
This is the error:
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.qfs.content.service.IContentService]: Factory method 'contentService' threw exception; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
I attach logs in case they help.
server.log
Expected Result
With this code snippet, we hope to be able to connect to the MongoDB database and extract data to feed the Atoti cube.
Environment
Logs (if relevant)
The text was updated successfully, but these errors were encountered: