8000 启动报错These properties in bootstrap.cnf or bootstrap.dynamic.cnf are not recognized: java.specification.maintenance.version · Issue #3879 · actiontech/dble · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
启动报错These properties in bootstrap.cnf or bootstrap.dynamic.cnf are not recognized: java.specification.maintenance.version #3879
Open
@wolf27w

Description

@wolf27w

bootstrap.cnf文件只修改了这些

-DinstanceName=dw_dble
-DinstanceId=1
-DserverId=192.168.6.93
cat db.xml
<?xml version="1.0"?>
<!--
  ~ Copyright (C) 2016-2022 ActionTech.
  ~ License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher.
  -->

<dble:db xmlns:dble="http://dble.cloud/" version="4.0">
    <dbGroup name="dbGroup1" rwSplitMode="2" delayThreshold="100">
        <heartbeat>show slave status</heartbeat>
        <dbInstance name="dw_dble" url="192.168.6.73:3306" user="root" password="root" maxCon="1000" minCon="10"
                    primary="true" readWeight="1">
        </dbInstance>
        <dbInstance name="d_dble" url="192.168.6.74:3306" user="root" password="root" maxCon="1000" minCon="10"
                    primary="true">
        </dbInstance>
        <!-- can have multi read instances -->
        <!--<dbInstance name="instanceS2" url="ip4:9004" user="your_user" password="your_psw" maxCon="1000" minCon="10" usingDecrypt="true" databaseType="clickhouse">-->
        <!--<property name="testOnCreate">true</property>-->
        <!--</dbInstance>-->
    </dbGroup>
</dble:db>
cat user.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright (C) 2016-2022 ActionTech.
  ~ License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher.
  -->

<!-- - - Licensed under the Apache License, Version 2.0 (the "License");
	- you may not use this file except in compliance with the License. - You
	may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0
	- - Unless required by applicable law or agreed to in writing, software -
	distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT
	WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the
	License for the specific language governing permissions and - limitations
	under the License. -->
<dble:user xmlns:dble="http://dble.cloud/" version="4.0">
    <managerUser name="man1" password="654321" maxCon="100"/>
    <rwSplitUser name="rw_user" password="123456" dbGroup="dbGroup1" maxCon="20"/>
</dble:user>

我只修改了这三处,我的jdk是1.8的

 java -version
java version "1.8.0_371"
Java(TM) SE Runtime Environment (build 1.8.0_371-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.371-b11, mixed mode)

启动时,启动不起来,然后日志提示
cat dble.log
2024-06-03 17:01:43.039 WARN [WrapperSimpleAppMain] (com.actiontech.dble.config.util.StartProblemReporter.warn(StartProblemReporter.java:40)) - These properties in bootstrap.cnf or bootstrap.dynamic.cnf are not recognized: java.specification.maintenance.version

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0