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

Derby changed driver name and integration needs to be updated to handle new driver #7035

Closed
SnjChaudhary opened this issue Feb 6, 2024 · 4 comments · Fixed by #7246
Closed
Labels
enterprise [ci] enable enterprise job kind:bug Bug report or fix

Comments

@SnjChaudhary
Copy link

Apache NetBeans version

Apache NetBeans 20

What happened

Screenshot 2024-02-06 215135
latest version

Language / Project Type / NetBeans Component

java

How to reproduce

Screenshot 2024-02-06 214226

Did this work correctly in an earlier version?

Apache NetBeans 20

Operating System

64 bit

JDK

21

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

Fix Bug

Are you willing to submit a pull request?

No

@SnjChaudhary SnjChaudhary added kind:bug Bug report or fix needs:triage Requires attention from one of the committers labels Feb 6, 2024
@neilcsmith-net
Copy link
Member

Please at least describe what you were doing and attach the messages.log file mentioned in the dialog. Or at least copy and paste a relevant section of it.

@neilcsmith-net neilcsmith-net added the pending-response Awaiting further information to be supplied label Feb 6, 2024
@SnjChaudhary
Copy link
Author

Screenshot 2024-02-06 223911
i want create database in Java DB.

@matthiasblaesing matthiasblaesing removed needs:triage Requires attention from one of the committers pending-response Awaiting further information to be supplied labels Feb 6, 2024
@matthiasblaesing matthiasblaesing changed the title Unexpected Exception Derby changed driver name and integration needs to be updated to handle new driver Feb 6, 2024
@matthiasblaesing
Copy link
Contributor

Verified. It is also reproducible with the javadb embedded in Glassfish 7.0.11.

@mbien mbien added the enterprise [ci] enable enterprise job label Feb 7, 2024
matthiasblaesing added a commit to matthiasblaesing/netbeans that referenced this issue Apr 5, 2024
…BC driver for derby >= 10.15

- derby versions before 10.15 try to set the security manager for the
  JVM when they start the network server. On JDK > 17 this fails and
  the failure is silent (no message). NetBeans has already a work
  around when the start raises error messages, an autodetection for the
  problem was added and disables the use of the security manager on
  JVMs > 17

- With version 10.15 derby was made compatible with the java module
  system (JPMS). The required package split lead to changes in the
  names for the JDBC drivers.

Closes: apache#7035
@matthiasblaesing
Copy link
Contributor

@SnjChaudhary a fix is suggested in #7246. Please test it.

A test version is available from the checks page of that PR (Artifacts dropdown, https://github.com/apache/netbeans/pull/7246/checks) or directly: https://github.com/apache/netbeans/suites/22474396344/artifacts/1389345610

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enterprise [ci] enable enterprise job kind:bug Bug report or fix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants