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

The java.specification.maintenance.version parameter of the JDK version is not supported #3450

Closed
huashusu opened this issue Oct 31, 2022 · 2 comments
Assignees
Labels
community issue from community
Milestone

Comments

@huashusu
Copy link

  • dble version:3.22.07.0
  • preconditions :
    java version: jdk-8u341 or Other versions that support the java.specification.maintenance.version parameter.
  • configs:

cluster.cnf

Same as cluster_template.cnf

bootstrap.cnf

Same as bootstrap_template.cnf

db.xml

Same as db_template.xml

user.xml

Same as user_template.xml.
Modify only ip1, ip2, your_user, your_psw

sharding.xml

Same as sharding_template.xml
  • steps:
    Start dble,command bin/dble start

  • real result:

STATUS | wrapper  | 2022/10/31 13:41:26 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2022/10/31 13:41:26 | Java Service Wrapper Community Edition 64-bit 3.5.40
STATUS | wrapper  | 2022/10/31 13:41:26 |   Copyright (C) 1999-2019 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper  | 2022/10/31 13:41:26 |     http://wrapper.tanukisoftware.com
STATUS | wrapper  | 2022/10/31 13:41:26 | 
STATUS | wrapper  | 2022/10/31 13:41:26 | Launching a JVM...
INFO   | jvm 1    | 2022/10/31 13:41:26 | Java HotSpot(TM) 64-Bit Server VM warning: UseCMSCompactAtFullCollection is deprecated and will likely be removed in a future release.
INFO   | jvm 1    | 2022/10/31 13:41:26 | Java HotSpot(TM) 64-Bit Server VM warning: CMSFullGCsBeforeCompaction is deprecated and will likely be removed in a future release.
INFO   | jvm 1    | 2022/10/31 13:41:26 | Listening for transport dt_socket at address: 8088
INFO   | jvm 1    | 2022/10/31 13:41:27 | WrapperManager: Initializing...
INFO   | jvm 1    | 2022/10/31 13:41:28 | These properties in bootstrap.cnf or bootstrap.dynamic.cnf are not recognized: java.specification.maintenance.version
STATUS | wrapper  | 2022/10/31 13:41:30 | <-- Wrapper Stopped
@PanternBao PanternBao added the community issue from community label Nov 14, 2022
@wenyh1 wenyh1 added this to the 3.22.11.0 milestone Nov 21, 2022
@wenyh1 wenyh1 self-assigned this Nov 21, 2022
@wenyh1
Copy link
Member

wenyh1 commented Nov 25, 2022

Currently, JDK parameters are supported internally in the DBLE source code: SystemProperty.java

As mentioned in JDK linkjava.specification.version updated to java.specification.maintenance.version in higher JDK versions

The java.specification.maintenance.versionJDK param is not currently supported in DBLE,so startup failed.

You can bypass the JDK link, mentioned in the JDK version, and start the DBLE successfully.

@wenyh1
Copy link
Member

wenyh1 commented Jan 6, 2023

remark:bind inner issue 2021

@wenyh1 wenyh1 assigned huimchenwell and unassigned wenyh1 Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community issue from community
Projects
None yet
Development

No branches or pull requests

4 participants