Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

启动报错These properties in bootstrap.cnf or bootstrap.dynamic.cnf are not recognized: java.specification.maintenance.version #3879

Open
wolf27w opened this issue Jun 3, 2024 · 2 comments

Comments

@wolf27w
Copy link

wolf27w commented Jun 3, 2024

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

@wolf27w
Copy link
Author

wolf27w commented Jun 3, 2024

我的dble的版本是dble-3.22.07.0-20220915063524-java1.8.0_151-linux.tar.gz

@wolf27w
Copy link
Author

wolf27w commented Jun 13, 2024

我使用最新版的就可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant