mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-03-04 08:52:27 -05:00
SQL error during setup new cloud beaver configuration database on oracle. #554
Labels
No labels
AS
can't reproduce
can't reproduce
deployment
development
documentation
duplicate
duplicate
ee
enhancement
external
new driver
performance
third party issue
wait for response
wait for review
wontfix
x:Oracle
x:cassandra
x:clickhouse
x:db2
x:duckdb
x:greenplum
x:h2
x:h2gis
x:hana
x:hive
x:intersystems
x:kyuubi
x:maria
x:mongo
x:mysql
x:postgresql
x:presto
x:sql server
x:sqlite
x:teradata
x:trino
xf:accessibility
xf:administration
xf:authentication
xf:aws
xf:commit-mode
xf:connection
xf:data editor
xf:datatransfer
xf:dba
xf:driver management
xf:erd
xf:filters
xf:i18n
xf:i18n
xf:installer
xf:json
xf:ldap
xf:local config
xf:log viewer
xf:metadata
xf:metadata editor
xf:navigator
xf:okta
xf:query manager
xf:resource manager
xf:scripts
xf:sql editor
xf:tasks
xf:ui/uix
xo: Firefox
xo:eclipse
xo:internet explorer
xo:macos
xp:major
xrn:internal
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudbeaver#554
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MatthiasSchnoeke on GitHub (Jul 26, 2023).
We run Cloud Beaver on Kubernetes and try to use an external configuration database on oracle. After Pod start he is creating all DB Tables in "CB" database schema, but runs after that in an error " ORA-00933: SQL command not properly ended"
cloudbeaver.conf
Pod Log
`Starting Cloudbeaver Server
WARNING: Using incubator modules: jdk.incubator.vector, jdk.incubator.foreign
26-07-2023 11:20:25.404 [main] DEBUG i.c.model.app.BaseWebApplication - Loading configuration from /opt/cloudbeaver/conf/cloudbeaver.conf
26-07-2023 11:20:25.405 [main] DEBUG io.cloudbeaver.server.CBApplication - Using configuration [/opt/cloudbeaver/conf/cloudbeaver.conf]
26-07-2023 11:20:25.406 [main] DEBUG io.cloudbeaver.server.CBApplication - Read configuration [/opt/cloudbeaver/conf/cloudbeaver.conf]
26-07-2023 11:20:25.583 [main] DEBUG io.cloudbeaver.server.CBApplication - Load product configuration from '/opt/cloudbeaver/conf/product.conf'
26-07-2023 11:20:25.590 [main] DEBUG io.cloudbeaver.server.CBApplication - CloudBeaver CE Server 23.1.3.202307241029 is starting
26-07-2023 11:20:25.590 [main] DEBUG io.cloudbeaver.server.CBApplication - OS: Linux 4.18.0-372.64.1.el8_6.x86_64 (amd64)
26-07-2023 11:20:25.590 [main] DEBUG io.cloudbeaver.server.CBApplication - Java version: 17.0.4.1 by Eclipse Adoptium (64bit)
26-07-2023 11:20:25.590 [main] DEBUG io.cloudbeaver.server.CBApplication - Install path: '/opt/cloudbeaver/server'
26-07-2023 11:20:25.590 [main] DEBUG io.cloudbeaver.server.CBApplication - Global workspace: 'file:/opt/cloudbeaver/workspace/'
26-07-2023 11:20:25.590 [main] DEBUG io.cloudbeaver.server.CBApplication - Memory available 12Mb/121Mb
26-07-2023 11:20:25.676 [main] DEBUG io.cloudbeaver.server.CBPlatform - Initializing product: CloudBeaver CE Server 23.1.3
26-07-2023 11:20:25.677 [main] DEBUG io.cloudbeaver.server.CBPlatform - Host plugin: io.cloudbeaver.product.ce 23.1.3.202307241029
26-07-2023 11:20:25.677 [main] INFO io.cloudbeaver.server.CBPlatform - Initialize web platform...
26-07-2023 11:20:26.475 [main] DEBUG o.j.d.runtime.SecurityProviderUtils - BounceCastle bundle found. Use JCE provider BC
26-07-2023 11:20:27.198 [main] DEBUG o.j.d.registry.BasePlatformImpl - Initialize base platform...
26-07-2023 11:20:28.081 [main] DEBUG o.j.d.r.DataSourceProviderRegistry - Total database drivers: 105 (105)
26-07-2023 11:20:28.089 [main] INFO io.cloudbeaver.server.CBPlatform - Available drivers: ClickHouse (Legacy),ClickHouse,Db2 for LUW,Db2 for IBM i,Firebird,Derby Server,Trino,H2 Embedded,H2 Embedded V.2,MS SQL Server / SQL Server,MySQL,MariaDB,Oracle,PostgreSQL,SQLite
26-07-2023 11:20:28.090 [main] INFO io.cloudbeaver.server.CBPlatform - Web platform initialized (2413ms)
26-07-2023 11:20:28.090 [main] DEBUG io.cloudbeaver.server.CBApplication - Content root: /opt/cloudbeaver/web
26-07-2023 11:20:28.090 [main] DEBUG io.cloudbeaver.server.CBApplication - Drivers storage: /opt/cloudbeaver/drivers
26-07-2023 11:20:28.090 [main] DEBUG io.cloudbeaver.server.CBApplication - Listen port: 8978 on all interfaces
26-07-2023 11:20:28.090 [main] DEBUG io.cloudbeaver.server.CBApplication - Base URI: /api/
26-07-2023 11:20:28.090 [main] DEBUG io.cloudbeaver.server.CBApplication - Production mode
26-07-2023 11:20:28.090 [main] DEBUG io.cloudbeaver.server.CBApplication - Server is in configuration mode!
26-07-2023 11:20:28.183 [main] DEBUG io.cloudbeaver.server.CBApplication - Local host addresses:
26-07-2023 11:20:28.183 [main] DEBUG io.cloudbeaver.server.CBApplication - 10.0.136.152 (dbeaver-6c477b88c9-2dj74)
26-07-2023 11:20:28.184 [main] DEBUG io.cloudbeaver.server.CBApplication - 0:0:0:0:0:0:0:1%lo (localhost)
26-07-2023 11:20:28.400 [main] DEBUG i.c.service.security.db.CBDatabase - Initiate management database
26-07-2023 11:20:29.093 [main] DEBUG i.c.service.security.db.CBDatabase - Initiate connection pool with management database (Oracle; jdbc:oracle:thin:@dbora002.p01.its.aareon.com:1521:wsdc1)
26-07-2023 11:20:30.604 [main] DEBUG i.c.service.security.db.CBDatabase - Connected to Oracle Oracle Database 19c Standard Edition 2 Release 19.0.0.0.0 - Production
26-07-2023 11:20:31.188 [main] DEBUG o.j.d.m.sql.schema.SQLSchemaManager - Update schema CB version from 1 to 2
26-07-2023 11:20:31.689 [main] DEBUG o.j.d.m.sql.schema.SQLSchemaManager - Process [DROP TABLE IF EXISTS CB_SERVER]
26-07-2023 11:20:31.780 [main] ERROR o.j.d.m.sql.schema.SQLSchemaManager - Error during sql migration
java.sql.SQLSyntaxErrorException: ORA-00933: SQL command not properly ended
Caused by: oracle.jdbc.OracleDatabaseException: ORA-00933: SQL command not properly ended
26-07-2023 11:20:31.780 [main] INFO o.j.d.m.sql.schema.SQLSchemaManager - Trying to apply the migration again
26-07-2023 11:20:31.783 [main] WARN o.j.d.m.sql.schema.SQLSchemaManager - Error updating CB schema version from 1 to 2`