Absolutely no terminal will open in PhpStorm terminal shell - phpstorm

I have run into a problem where PhpStorm has basically stopped opening any terminals...
When I installed it everything was fine, when I changed the terminal path to bash it stopped working and will not recover now even if i will set it back to default or reinstall.
I have also tried installing an older version of PhpStorm, which is on my other computer where everything is fine, still no luck.
idea.log shows some errors (i am terribly sorry for formatting but i have no idea how should i post it)
2018-07-02 10:56:17,607 [ 9411] ERROR - plication.impl.ApplicationImpl - PhpStorm 2018.1.6 Build #PS-181.5281.35
2018-07-02 10:56:17,607 [ 9411] ERROR - plication.impl.ApplicationImpl - JDK: 1.8.0_152-release
2018-07-02 10:56:17,607 [ 9411] ERROR - plication.impl.ApplicationImpl - VM: OpenJDK 64-Bit Server VM
2018-07-02 10:56:17,607 [ 9411] ERROR - plication.impl.ApplicationImpl - Vendor: JetBrains s.r.o
2018-07-02 10:56:17,607 [ 9411] ERROR - plication.impl.ApplicationImpl - OS: Windows 10
2018-07-02 10:56:17,607 [ 9411] ERROR - plication.impl.ApplicationImpl - Last Action:
2018-07-02 10:56:17,653 [ 9457] INFO - cloudConfig.CloudConfigManager - === StatusBar.update create ===
2018-07-02 10:56:17,654 [ 9458] INFO - cloudConfig.CloudConfigManager - === doConnect ===
2018-07-02 10:56:17,654 [ 9458] INFO - cloudConfig.CloudConfigManager - === getConnectionState ===
2018-07-02 10:56:17,775 [ 9579] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 42ms; general responsiveness: ok; EDT responsiveness: ok
2018-07-02 10:56:17,816 [ 9620] INFO - .cloudConfig.CloudConfigClient - === Get cloud config URL: https://cloudconfig.jetbrains.com/cloudconfig/files ===
2018-07-02 10:56:18,003 [ 9807] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 227ms; general responsiveness: ok; EDT responsiveness: 0/1 sluggish, 1/1 very slow
2018-07-02 10:56:18,172 [ 9976] INFO - j.ide.ui.OptionsTopHitProvider - 321 ms spent to cache options in application
2018-07-02 10:56:18,188 [ 9992] INFO - tartup.impl.StartupManagerImpl - C:/Users/Ri?adas Pukelis/PhpstormProjects/untitled/.idea case-sensitivity: expected=false actual=false
2018-07-02 10:56:18,189 [ 9993] INFO - Json.PackageJsonUpdateNotifier - processPackageJsonFiles []
2018-07-02 10:56:18,210 [ 10014] INFO - pl.projectlevelman.NewMappings - VCS Root: [] - []
2018-07-02 10:56:18,401 [ 10205] INFO - tor.impl.FileEditorManagerImpl - Project opening took 4187 ms
2018-07-02 10:56:18,441 [ 10245] INFO - cloudConfig.CloudConfigManager - === StatusBar.start another widget: com.intellij.cloudConfig.StatusBarInfoManager$InfoComponent#52fb6fd3 ===
2018-07-02 10:56:18,452 [ 10256] INFO - j.ide.plugins.RepositoryHelper - using cached plugin list (updated at 7/2/18 10:56 AM)
2018-07-02 10:56:18,644 [ 10448] INFO - j.ide.ui.OptionsTopHitProvider - 118 ms spent to cache options in project
2018-07-02 10:56:18,703 [ 10507] INFO - j.ide.plugins.RepositoryHelper - using cached plugin list (updated at 7/2/18 10:56 AM)
2018-07-02 10:56:18,770 [ 10574] INFO - cloudConfig.CloudConfigManager - === End.connect ===
2018-07-02 10:56:29,322 [ 21126] INFO - .script.IdeScriptEngineManager - javax.script.ScriptEngineManager initialized in 44 ms
2018-07-02 10:57:05,039 [ 56843] INFO - ide.actions.ShowFilePathAction -
Exit code 1

Related

Just installed PhpStorm 2021.3.2 crashes on startup

I've fully deleted PhpStorm 2019, all plugins and cache, downloaded and installed PhpStorm 2021.3.2 and it crashes on startup. Reinstallation with cleaning-up doesn't help.
idea.log (I had to cut out some of the logs because StackOverflow wouldn't let me publish the question)
2022-02-15 20:59:56,892 [ 263] INFO - #com.intellij.idea.Main - CPU cores: 8; ForkJoinPool.commonPool: java.util.concurrent.ForkJoinPool#9a2e852[Running, parallelism = 7, size = 6, active = 3, running = 3, steals = 3, tasks = 0, submissions = 0]; factory: com.intellij.concurrency.IdeaForkJoinWorkerThreadFactory#bd6cba9
2022-02-15 20:59:57,533 [ 904] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 641 ms
2022-02-15 20:59:57,772 [ 1143] INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
2022-02-15 20:59:58,137 [ 1508] INFO - .intellij.util.io.HttpRequests - Application is not initialized yet; Using default SSL configuration to connect to https://www.jetbrains.com/config/IdeaCloudConfig.xml
2022-02-15 20:59:58,818 [ 2189] INFO - nfig.ETagCloudConfigFileClient - === Get cloud config URL: https://cloudconfig.jetbrains.com/cloudconfig/files ===
2022-02-15 20:59:59,331 [ 2702] ERROR - Config.CloudConfigProviderImpl - Invalid credentials
com.jetbrains.cloudconfig.exception.UnauthorizedException: Invalid credentials
at com.jetbrains.cloudconfig.AbstractHttpClient.download(AbstractHttpClient.java:95)
at com.jetbrains.cloudconfig.CloudConfigFileClient.list(CloudConfigFileClient.java:192)
at com.intellij.idea.cloudConfig.ETagCloudConfigFileClient.list(ETagCloudConfigFileClient.java:36)
at com.intellij.idea.cloudConfig.CloudConfigProviderImpl.<init>(CloudConfigProviderImpl.java:46)
at com.intellij.idea.MainImpl.beforeImportConfigs(MainImpl.java:47)
at com.intellij.idea.StartupUtil.importConfig(StartupUtil.java:404)
at com.intellij.idea.StartupUtil.lambda$start$16(StartupUtil.java:280)
at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1072)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1705)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1692)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: https://cloudconfig.jetbrains.com/cloudconfig/files/PhpStorm/
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1924)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:250)
at com.jetbrains.cloudconfig.AbstractHttpClient.download(AbstractHttpClient.java:92)
... 15 more
2022-02-15 20:59:59,336 [ 2707] ERROR - Config.CloudConfigProviderImpl - PhpStorm 2021.3.2 Build #PS-213.6777.58
2022-02-15 20:59:59,340 [ 2711] ERROR - Config.CloudConfigProviderImpl - JDK: 11.0.13; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2022-02-15 20:59:59,340 [ 2711] ERROR - Config.CloudConfigProviderImpl - OS: Windows 10
2022-02-15 20:59:59,345 [ 2716] INFO - #com.intellij.idea.Main - Importing configs to C:\Users\Semyon\AppData\Roaming\JetBrains\PhpStorm2021.3
2022-02-15 20:59:59,364 [ 2735] INFO - #com.intellij.idea.Main - Importing configs: oldConfigDir=[C:\Users\Semyon\.PhpStorm2021.3.2\config], newConfigDir=[C:\Users\Semyon\AppData\Roaming\JetBrains\PhpStorm2021.3], oldIdeHome=[null], oldPluginsDir=[C:\Users\Semyon\.PhpStorm2021.3.2\config\plugins], newPluginsDir=[C:\Users\Semyon\AppData\Roaming\JetBrains\PhpStorm2021.3\plugins]
2022-02-15 21:00:00,178 [ 3549] INFO - llij.ide.plugins.PluginManager - Plugin PluginDescriptor(name=PHP, id=com.jetbrains.php, descriptorPath=plugin.xml, path=C:\Program Files\JetBrains\PhpStorm 2021.3.2\plugins\php, version=213.6777.58, package=null, isBundled=true) misses optional descriptor php-shared-indexes.xml
2022-02-15 21:00:00,964 [ 4335] INFO - #com.intellij.idea.Main - Migrating plugin io.pmmp.phpstorm.stub version 3.11.5
2022-02-15 21:00:00,996 [ 4367] INFO - #com.intellij.idea.Main - The vmoptions file has changed, restarting...
2022-02-15 21:00:01,013 [ 4384] INFO - #com.intellij.util.Restarter - run restarter: [C:\Program Files\JetBrains\PhpStorm 2021.3.2\bin\restarter.exe, 14340, 1, C:\Program Files\JetBrains\PhpStorm 2021.3.2\bin\phpstorm64.exe]
2022-02-15 21:00:01,589 [ 4960] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE SHUTDOWN ------------------------------------------------------
2022-02-15 21:00:01,594 [ 4965] INFO - org.jetbrains.io.BuiltInServer - web server stopped

Possible to set multiple slow log and error log on mysql module filebeat?

I have one development server and already installed
elasticsearch
kibana
filebeat
docker
on docker already running 2 container mariadb database.
I already set filebeat for 1 mariadb database.
with config on /etc/filebeat/modules.d/mysql.yml like this
- module: mysql
# Error logs
error:
enabled: true
var.paths: ["/media/dbdev1/data/mysql_error.log"]
# Slow logs
slowlog:
enabled: true
var.paths: ["/media/dbdev1/data/mysql_slow.log"]
if I need more error log and slow log from other container mariadb database is just change /etc/filebeat/modules.d/mysql.yml like this
- module: mysql
# Error logs
error:
enabled: true
var.paths: ["/media/dbdev1/data/mysql_error.log","/media/dbdev2/data/mysql_error.log"]
# Slow logs
slowlog:
enabled: true
var.paths: ["/media/dbdev1/data/mysql_slow.log","/media/dbdev2/data/mysql_slow.log"]
my expectation filebeat can pull mysql_error.log from 2 different mariadb container with different path also
some filebeat setup log
2021-10-25T10:43:25.616+0700 INFO instance/beat.go:665 Home path: [/usr/share/filebeat] Config path: [/etc/filebeat] Data path: [/var/lib/filebeat] Logs path: [/var/log/filebeat]
2021-10-25T10:43:25.619+0700 INFO instance/beat.go:673 Beat ID: cb340c7a-15b4-44f7-8a66-06f6850c1c0f
2021-10-25T10:43:26.499+0700 INFO [beat] instance/beat.go:1014 Beat info {"system_info": {"beat": {"path": {"config": "/etc/filebeat", "data": "/var/lib/filebeat", "home": "/usr/share/filebeat", "logs": "/var/log/filebeat"}, "type": "filebeat", "uuid": "cb340c7a-15b4-44f7-8a66-06f6850c1c0f"}}}
2021-10-25T10:43:26.501+0700 INFO [beat] instance/beat.go:1023 Build info {"system_info": {"build": {"commit": "5ae799cb1c3c490c9a27b14cb463dc23696bc7d3", "libbeat": "7.15.1", "time": "2021-10-07T22:06:49.000Z", "version": "7.15.1"}}}
2021-10-25T10:43:26.501+0700 INFO [beat] instance/beat.go:1026 Go runtime info {"system_info": {"go": {"os":"linux","arch":"amd64","max_procs":2,"version":"go1.16.6"}}}
2021-10-25T10:43:26.503+0700 INFO [beat] instance/beat.go:1030 Host info {"system_info": {"host": {"architecture":"x86_64","boot_time":"2021-10-25T09:45:23+07:00","containerized":false,"name":"localhost.localdomain","ip":["127.0.0.1/8","::1/128","10.0.2.20/24","fe80::a00:27ff:fe8c:82d0/64","192.168.131.5/24","fe80::a00:27ff:fedd:bb9e/64","172.17.0.1/16","172.18.0.1/16","fe80::42:89ff:fe04:e2cb/64","fe80::2c35:92ff:fe88:4daf/64","fe80::38b2:66ff:fe52:b1ec/64"],"kernel_version":"4.18.0-305.19.1.el8_4.x86_64","mac":["08:00:27:8c:82:d0","08:00:27:dd:bb:9e","02:42:ad:3d:07:6b","02:42:89:04:e2:cb","2e:35:92:88:4d:af","3a:b2:66:52:b1:ec"],"os":{"type":"linux","family":"redhat","platform":"centos","name":"CentOS Linux","version":"8","major":8,"minor":4,"patch":2105},"timezone":"WIB","timezone_offset_sec":25200,"id":"b14f68ad4b8c4732a4cfe379692179ec"}}}
2021-10-25T10:43:26.503+0700 INFO [beat] instance/beat.go:1059 Process info {"system_info": {"process": {"capabilities": {"inheritable":null,"permitted":["chown","dac_override","dac_read_search","fowner","fsetid","kill","setgid","setuid","setpcap","linux_immutable","net_bind_service","net_broadcast","net_admin","net_raw","ipc_lock","ipc_owner","sys_module","sys_rawio","sys_chroot","sys_ptrace","sys_pacct","sys_admin","sys_boot","sys_nice","sys_resource","sys_time","sys_tty_config","mknod","lease","audit_write","audit_control","setfcap","mac_override","mac_admin","syslog","wake_alarm","block_suspend","audit_read","38","39"],"effective":["chown","dac_override","dac_read_search","fowner","fsetid","kill","setgid","setuid","setpcap","linux_immutable","net_bind_service","net_broadcast","net_admin","net_raw","ipc_lock","ipc_owner","sys_module","sys_rawio","sys_chroot","sys_ptrace","sys_pacct","sys_admin","sys_boot","sys_nice","sys_resource","sys_time","sys_tty_config","mknod","lease","audit_write","audit_control","setfcap","mac_override","mac_admin","syslog","wake_alarm","block_suspend","audit_read","38","39"],"bounding":["chown","dac_override","dac_read_search","fowner","fsetid","kill","setgid","setuid","setpcap","linux_immutable","net_bind_service","net_broadcast","net_admin","net_raw","ipc_lock","ipc_owner","sys_module","sys_rawio","sys_chroot","sys_ptrace","sys_pacct","sys_admin","sys_boot","sys_nice","sys_resource","sys_time","sys_tty_config","mknod","lease","audit_write","audit_control","setfcap","mac_override","mac_admin","syslog","wake_alarm","block_suspend","audit_read","38","39"],"ambient":null}, "cwd": "/media/dbdev1", "exe": "/usr/share/filebeat/bin/filebeat", "name": "filebeat", "pid": 3503, "ppid": 1941, "seccomp": {"mode":"disabled","no_new_privs":false}, "start_time": "2021-10-25T10:43:23.920+0700"}}}
2021-10-25T10:43:26.503+0700 INFO instance/beat.go:309 Setup Beat: filebeat; Version: 7.15.1
2021-10-25T10:43:26.504+0700 INFO [index-management] idxmgmt/std.go:184 Set output.elasticsearch.index to 'filebeat-7.15.1' as ILM is enabled.
2021-10-25T10:43:26.517+0700 INFO [esclientleg] eslegclient/connection.go:100 elasticsearch url: http://localhost:9200
2021-10-25T10:43:26.521+0700 INFO [publisher] pipeline/module.go:113 Beat name: localhost.localdomain
2021-10-25T10:43:26.585+0700 INFO [esclientleg] eslegclient/connection.go:100 elasticsearch url: http://localhost:9200
2021-10-25T10:43:26.820+0700 INFO [esclientleg] eslegclient/connection.go:273 Attempting to connect to Elasticsearch version 7.15.0
2021-10-25T10:43:26.895+0700 INFO [index-management] idxmgmt/std.go:261 Auto ILM enable success.
2021-10-25T10:43:26.929+0700 INFO [index-management.ilm] ilm/std.go:170 ILM policy filebeat exists already.
2021-10-25T10:43:26.929+0700 INFO [index-management] idxmgmt/std.go:401 Set setup.template.name to '{filebeat-7.15.1 {now/d}-000001}' as ILM is enabled.
2021-10-25T10:43:26.929+0700 INFO [index-management] idxmgmt/std.go:406 Set setup.template.pattern to 'filebeat-7.15.1-*' as ILM is enabled.
2021-10-25T10:43:26.929+0700 INFO [index-management] idxmgmt/std.go:440 Set settings.index.lifecycle.rollover_alias in template to {filebeat-7.15.1 {now/d}-000001} as ILM is enabled.
2021-10-25T10:43:26.929+0700 INFO [index-management] idxmgmt/std.go:444 Set settings.index.lifecycle.name in template to {filebeat {"policy":{"phases":{"hot":{"actions":{"rollover":{"max_age":"30d","max_size":"50gb"}}}}}}} as ILM is enabled.
2021-10-25T10:43:26.974+0700 INFO template/load.go:229 Existing template will be overwritten, as overwrite is enabled.
2021-10-25T10:43:28.637+0700 INFO [add_cloud_metadata] add_cloud_metadata/add_cloud_metadata.go:101 add_cloud_metadata: hosting provider type not detected.
2021-10-25T10:43:31.539+0700 INFO template/load.go:132 Try loading template filebeat-7.15.1 to Elasticsearch
2021-10-25T10:43:32.442+0700 INFO template/load.go:124 Template with name "filebeat-7.15.1" loaded.
2021-10-25T10:43:32.442+0700 INFO [index-management] idxmgmt/std.go:297 Loaded index template.
2021-10-25T10:43:32.475+0700 INFO [index-management.ilm] ilm/std.go:126 Index Alias filebeat-7.15.1 exists already.
2021-10-25T10:43:32.476+0700 INFO kibana/client.go:167 Kibana url: http://localhost:5601
2021-10-25T10:43:38.391+0700 INFO kibana/client.go:167 Kibana url: http://localhost:5601
2021-10-25T10:44:58.953+0700 INFO instance/beat.go:848 Kibana dashboards successfully loaded.
2021-10-25T10:44:58.976+0700 WARN [cfgwarn] instance/beat.go:574 DEPRECATED: Setting up ML using Filebeat is going to be removed. Please use the ML app to setup jobs. Will be removed in version: 8.0.0
2021-10-25T10:44:58.993+0700 INFO [esclientleg] eslegclient/connection.go:100 elasticsearch url: http://localhost:9200
2021-10-25T10:44:59.006+0700 INFO [esclientleg] eslegclient/connection.go:273 Attempting to connect to Elasticsearch version 7.15.0
2021-10-25T10:44:59.006+0700 INFO kibana/client.go:167 Kibana url: http://localhost:5601
2021-10-25T10:44:59.098+0700 WARN fileset/modules.go:425 X-Pack Machine Learning is not enabled
2021-10-25T10:44:59.207+0700 WARN fileset/modules.go:425 X-Pack Machine Learning is not enabled
2021-10-25T10:44:59.207+0700 INFO [esclientleg] eslegclient/connection.go:100 elasticsearch url: http://localhost:9200
2021-10-25T10:44:59.212+0700 INFO [esclientleg] eslegclient/connection.go:273 Attempting to connect to Elasticsearch version 7.15.0
2021-10-25T10:44:59.214+0700 INFO [esclientleg] eslegclient/connection.go:100 elasticsearch url: http://localhost:9200
2021-10-25T10:44:59.219+0700 INFO [esclientleg] eslegclient/connection.go:273 Attempting to connect to Elasticsearch version 7.15.0
2021-10-25T10:44:59.351+0700 INFO [modules] fileset/pipelines.go:133 Elasticsearch pipeline loaded. {"pipeline": "filebeat-7.15.1-mysql-error-pipeline"}
2021-10-25T10:44:59.480+0700 INFO [modules] fileset/pipelines.go:133 Elasticsearch pipeline loaded. {"pipeline": "filebeat-7.15.1-mysql-slowlog-pipeline"}
2021-10-25T10:44:59.480+0700 INFO cfgfile/reload.go:262 Loading of config files completed.
2021-10-25T10:44:59.481+0700 INFO [load] cfgfile/list.go:129 Stopping 1 runners ...

MySQL changes to Kafka Using Debezium - Capturing only DDL stmts

Configured MySQL-Debezium for CDC. It was capturing DDL changes like create/Drop table, but not capturing DML events.
Using MySQL 8.0.11 and Embedded debezium version 0.8.3.Final.
No additional configurations were done in MySQL server while creating table.
Configuration bean is created with below code
#Bean
public io.debezium.config.Configuration customerConnector() {
return io.debezium.config.Configuration.create()
.with(EmbeddedEngine.CONNECTOR_CLASS, "io.debezium.connector.mysql.MySqlConnector")
.with(EmbeddedEngine.OFFSET_STORAGE, "org.apache.kafka.connect.storage.FileOffsetBackingStore")
.with(EmbeddedEngine.OFFSET_STORAGE_FILE_FILENAME, "path-to-file")
.with("offset.flush.interval.ms", 60000)
.with(EmbeddedEngine.ENGINE_NAME, "customer-mysql-connector")
.with(MySqlConnectorConfig.SERVER_NAME, databaseServer)
.with(MySqlConnectorConfig.HOSTNAME, databaseServer)
.with(MySqlConnectorConfig.PORT, databasePort)
.with(MySqlConnectorConfig.USER, databaseUser)
.with(MySqlConnectorConfig.PASSWORD, databasePassword)
.with(MySqlConnectorConfig.DATABASE_WHITELIST, databaseSchemaName)
.with(MySqlConnectorConfig.TABLE_WHITELIST, databaseTable)
.with(MySqlConnectorConfig.DATABASE_HISTORY,
MemoryDatabaseHistory.class.getName()).build();
}
Below is the log when starting it as Springboot application
2020-05-29 21:24:28.028 INFO 5576 --- [pool-1-thread-1] i.d.connector.mysql.MySqlConnectorTask : MySQL has the binlog file 'binlog.000009' required by the connector
2020-05-29 21:24:28.072 INFO 5576 --- [pool-1-thread-1] io.debezium.util.Threads : Requested thread factory for connector MySqlConnector, id = localhost named = binlog-client
2020-05-29 21:24:28.074 INFO 5576 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2020-05-29 21:24:28.074 INFO 5576 --- [pool-1-thread-1] io.debezium.util.Threads : Creating thread debezium-mysqlconnector-localhost-binlog-client
2020-05-29 21:24:28.090 INFO 5576 --- [-localhost:3306] io.debezium.util.Threads : Creating thread debezium-mysqlconnector-localhost-binlog-client
2020-05-29 21:24:28.121 INFO 5576 --- [-localhost:3306] c.g.shyiko.mysql.binlog.BinaryLogClient : Connected to localhost:3306 at binlog.000009/3786 (sid:6293, cid:36)
2020-05-29 21:24:28.121 INFO 5576 --- [-localhost:3306] i.debezium.connector.mysql.BinlogReader : Connected to MySQL binlog at localhost:3306, starting at binlog file 'binlog.000009', pos=3786, skipping 8 events plus 0 rows
2020-05-29 21:24:28.121 INFO 5576 --- [-localhost:3306] io.debezium.util.Threads : Creating thread debezium-mysqlconnector-localhost-binlog-client
2020-05-29 21:24:28.183 INFO 5576 --- [ main] d.s.w.p.DocumentationPluginsBootstrapper : Context refreshed
2020-05-29 21:24:28.199 INFO 5576 --- [ main] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s)
2020-05-29 21:24:28.199 INFO 5576 --- [ main] s.d.s.w.s.ApiListingReferenceScanner : Scanning for api listing references
Any Clue?
Thanks!
table.whitelist should be set to to <schema>.<table> so in your case source.customer

spring mvc + mybatis + mysql5.7 save less time for 8 hours

spring mvc + mybatis + mysql 5.7 + jdk8
I use mysql 5.7 for save json data.
I use jdk8 time API LocalDateTime now = LocalDateTime.now(); to get datetime and save to database.
But I fund the result of database are less time for about 8 hours.
My treatment process
1、Code problems, debug it, and I find the time in the object is right before it save to the database.
2、System time zone problem, the investigation of the local computer system, server system, database system and other computer systems, time zones are all East eight district no problem. (I am Chinese)
3、View console print SQL
DEBUG [ 2017-08-23 12:42:35 970 ]: org.apache.ibatis.logging.jdbc.BaseJdbcLogger.debug(BaseJdbcLogger.java:145) - ==> Preparing: insert into log_user_operation (pk_id, user_code, user_name, login_ip, url, operation_type, operation_content, remark, create_time) values (?, ?, ?, ?, ?, ?, ?, ?, ?)
DEBUG [ 2017-08-23 12:42:36 005 ]: org.apache.ibatis.logging.jdbc.BaseJdbcLogger.debug(BaseJdbcLogger.java:145) - ==> Parameters: null, admin(String), Admin(String), 127.0.0.1(String), http://localhost:8080/bi/login-check(String), SELECT(String), 用户登录(String), (String), 2017-08-23 12:42:32.9(Timestamp)
DEBUG [ 2017-08-23 12:42:36 016 ]: org.apache.ibatis.logging.jdbc.BaseJdbcLogger.debug(BaseJdbcLogger.java:145) - <== Updates: 1
DEBUG [ 2017-08-23 12:42:36 020 ]: org.apache.ibatis.logging.jdbc.BaseJdbcLogger.debug(BaseJdbcLogger.java:145) - ==> Preparing: SELECT LAST_INSERT_ID()
DEBUG [ 2017-08-23 12:42:36 021 ]: org.apache.ibatis.logging.jdbc.BaseJdbcLogger.debug(BaseJdbcLogger.java:145) - ==> Parameters:
TRACE [ 2017-08-23 12:42:36 039 ]: org.apache.ibatis.logging.jdbc.BaseJdbcLogger.trace(BaseJdbcLogger.java:151) - <== Columns: LAST_INSERT_ID()
TRACE [ 2017-08-23 12:42:36 039 ]: org.apache.ibatis.logging.jdbc.BaseJdbcLogger.trace(BaseJdbcLogger.java:151) - <== Row: 47
DEBUG [ 2017-08-23 12:42:36 042 ]: org.apache.ibatis.logging.jdbc.BaseJdbcLogger.debug(BaseJdbcLogger.java:145) - <== Total: 1
DEBUG [ 2017-08-23 12:42:36 047 ]: org.mybatis.spring.SqlSessionUtils.closeSqlSession(SqlSessionUtils.java:193) - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession#516c8654]
DEBUG [ 2017-08-23 12:42:36 048 ]: org.springframework.jdbc.datasource.DataSourceUtils.doReleaseConnection(DataSourceUtils.java:332) - Returning JDBC Connection to DataSource
I feel that everything is OK, but the database save is wrong.
the test result of right now
The problem that has been bothering for two days is finally settled this evening.
This is due to the URL specification of the new MySQL drive package:
jdbc:mysql://localhost:3306/ss?characterEncoding=utf8&useSSL=true&serverTimezone=UTC&nullNamePatternMatchesAll=true
Modify serverTimezone=UTC to serverTimezone=Hongkong can solve the problem successfully。

Pull replication(or sync) fails with remote sync gateway

I am currently working on a PoC to understand the CouchBase lite sync functionality(with Java application). The pull and push replication worked absolutely fine when the sync-gateway was running locally on my machine.
Now when I move my sync-gateway to a Remote machine, the pull replicator doesn't work. But the push works fine. From the following logs on the client seems like there has been some error with pull replicator.
JavaSQLiteStorageEngine
PULL replication event. Source: com.couchbase.lite.replicator.Replication#29fc9a67 Transition: INITIAL -> RUNNING Total changes: 0 Completed changes: 0
Mar 25, 2016 6:04:53 PM com.couchbase.lite.util.SystemLogger e
SEVERE: ChangeTracker: com.couchbase.lite.replicator.ChangeTracker#2ca40c2c: Change tracker got error 404
Mar 25, 2016 6:04:53 PM com.couchbase.lite.util.SystemLogger e
SEVERE: Sync: Change tracker stopped during continuous replication
PULL replication event. Source: com.couchbase.lite.replicator.Replication#29fc9a67 Transition: RUNNING -> IDLE Total changes: 0 Completed changes: 0
Mar 25, 2016 6:05:04 PM com.couchbase.lite.util.SystemLogger e
SEVERE: ChangeTracker: com.couchbase.lite.replicator.ChangeTracker#1b3ae860: Change tracker got error 404
Mar 25, 2016 6:05:04 PM com.couchbase.lite.util.SystemLogger e
SEVERE: Sync: Change tracker stopped during continuous replication
Following is my sync-gateway logs
2016-03-25T18:19:03.210Z HTTP: #267: GET /test/_local/fc25dac22b1cec1454f09c3ea41f763bc4a46b20 (as mehtab.syed)
2016-03-25T18:19:03.210Z HTTP: #267: --> 404 missing (0.2 ms)
2016-03-25T18:19:03.214Z HTTP: #268: GET /test/_local/31d8e5f89b0db31be77ea73f950068c2d5fe11f8 (as mehtab.syed)
2016-03-25T18:19:03.214Z HTTP: #268: --> 404 missing (0.2 ms)
2016-03-25T18:19:03.340Z HTTP: #269: GET /test/_changes%3ffeed=normal&heartbeat=300000&style=all_docs&active_only=true?feed=normal&heartbeat=300000&style=all_docs&active_only=true
2016-03-25T18:19:03.340Z HTTP: #269: --> 404 unknown URL (0.2 ms)
2016-03-25T18:19:13.475Z HTTP: #270: GET /test/_changes%3ffeed=normal&heartbeat=300000&style=all_docs&active_only=true?feed=normal&heartbeat=300000&style=all_docs&active_only=true
2016-03-25T18:19:13.475Z HTTP: #270: --> 404 unknown URL (0.2 ms)
2016-03-25T18:19:23.601Z HTTP: #271: GET /test/_changes%3ffeed=normal&heartbeat=300000&style=all_docs&active_only=true?feed=normal&heartbeat=300000&style=all_docs&active_only=true
2016-03-25T18:19:23.601Z HTTP: #271: --> 404 unknown URL (0.2 ms)
Further, I am using cookie authentication and following is my sync-gateway configuration.
{
"interface": "127.0.0.1:4988",
"adminInterface": "127.0.0.1:4989",
"log": [
"CRUD",
"REST+",
"Access"
],
"databases": {
"test": {
"server": "walrus:",
"users": {"GUEST": {"disabled": true,"admin_channels": ["*"]}
},
"sync": `function sync(doc,oldDoc){
if(doc.type=="user"){
channel("u-"+doc._id)
access(doc.owner,"u-"+doc._id)
}else if(doc.type=="expense"){
channel("e-"+doc.owner)
access(doc.owner,"e-"+doc.owner)
access(doc.approver,"e-"+doc.owner)
}else{
channel(doc.channels)
}
}`
}
}
}
Does anyone have any idea what might be wrong?