Closed MengXinAlex closed 2 weeks ago
Hi @MengXinAlex. It seems like you are missing the configuration items for the database connection etc. Please check https://github.com/phax/phoss-smp/wiki/Configuration and make sure that all the required properties are set. See e.g.
[DEBUG] 2024-03-20 06:19:09.272 [jetty-server-29] SMPConfig - Failed to find Configuration key 'jdbc.debug.connections'
[DEBUG] 2024-03-20 06:19:09.272 [jetty-server-29] SMPConfig - Failed to find Configuration key 'jdbc.debug.transactions'
[DEBUG] 2024-03-20 06:19:09.273 [jetty-server-29] SMPConfig - Failed to find Configuration key 'jdbc.debug.sql'
[DEBUG] 2024-03-20 06:19:09.274 [jetty-server-29] SMPConfig - Found Configuration key 'jdbc.execution-time-warning.enabled' with value 'true' and prio 180 in RESOURCE
[DEBUG] 2024-03-20 06:19:09.274 [jetty-server-29] SMPConfig - Found Configuration key 'jdbc.execution-time-warning.ms' with value '5000' and prio 180 in RESOURCE
[DEBUG] 2024-03-20 06:19:09.277 [jetty-server-29] SMPConfig - Failed to find Configuration key 'csp.enabled'
[DEBUG] 2024-03-20 06:19:09.278 [jetty-server-29] SMPConfig - Failed to find Configuration key 'csp.reporting.only'
[DEBUG] 2024-03-20 06:19:09.278 [jetty-server-29] SMPConfig - Failed to find Configuration key 'csp.reporting.enabled'
In general it seems like the configuration file could not be found.
Please make sure to to provide the configuration file properly. See e.g. https://github.com/phax/phoss-smp/tree/master/docker#smp-file-storage for how to provide the configuration file in.
hth
Hi Philip,
a very similar problem:
SMP server version 7.1.1 with SQL backend:
On JDBC settings: amended after checking your post above - no luck:
In logs:
Database user must have full access to database schema.
All database tables were created during server startup:
@skizub I extracted this in a fresh issue. Please don't reuse issues.
@MengXinAlex were you able to resolve your issue?
Hi
I'm experiencing strange behaviour on SMP TEST. I can create and delete endpoints, but I am unable to create and delete service groups.
Environment details:
Stack Trace: