Closed AvnerCohen closed 1 year ago
You should have a ./lib
folder where you can put the JDBC connector driver for PostgreSQL (a JAR file). Without that you won't be able to connect. After you put the JAR file in ./lib, restart Para.
Thanks. This does seem to solve it for me:
$>ls -l
./
../
data/
lib/
para-application.conf
para-dao-sql-1.45.10-shaded.jar
para-jar-1.48.2.jar
scoold/
And the lib
folder:
$> ls -a lib
postgresql-42.6.0.jar
The error when I start Para is still:
2023-06-13 06:31:54 [INFO ] --- Para.initialize() [production] ---
2023-06-13 06:31:54 [INFO ] Loaded new DAO, Search and Cache implementations - SqlDAO, LuceneSearch and CaffeineCache.
2023-06-13 06:31:54 [ERROR] Error loading SQL driver "org.postgresql.Driver", class not found.
2023-06-13 06:31:54 [ERROR] Error loading SQL driver "org.postgresql.Driver", class not found.
2023-06-13 06:31:54 [ERROR] Error loading SQL driver "org.postgresql.Driver", class not found.
2023-06-13 06:31:54 [ERROR] Error loading SQL driver "org.postgresql.Driver", class not found.
Try starting Para with the loader.path=lib
argument:
java -jar -Dconfig.file=./application.conf -Dloader.path=lib para.jar
Yep, this was totally it! thanks !
This isn't working for me
Apologies if this is too basic, I have been trying to find the solution with no success:
Trying to run para (for scoold) on a local host:
para-application.conf
Command been used to run it:
Local folder:
Happy to provide additional info if what I provided is incomplete.