gzzchh
👋
Hi there
A student likes OpenSource
📫 Keep in touch
Working Languages
感谢某人,让我成为 PHP 小鬼
Working Platforms
💰 Buy me a coffee
我很可爱,请亏我全
https://afdian.net/@MisakaCloud
用来对dbeaver做羞羞的事情
A student likes OpenSource
感谢某人,让我成为 PHP 小鬼
我很可爱,请亏我全
https://afdian.net/@MisakaCloud
下载了Release最新版dbeaver-agent.jar,Dbeaver版本为21.0。按指导添加了-javaagent参数,但是开启DBeaver后仍提示需要Lincense。请问一下License是需要自己去申请一个trail吗?谢谢!
21版本无效
有啥办法可以排查?
问题如下:
Task :compileTestJava FAILED
/home/bai/Downloads/de-ag-master/src/test/java/dev/misakacloud/dbee/CloudBeaverLicenseTest.java:21: 错误: 无法访问org.jkiss.lm.LMProduct
LMProduct product = new LMProduct("cloudbeaver-ee",
^
错误的类文件: /home/bai/Downloads/de-ag-master/libs/org.jkiss.lm_1.0.136.202206121739.jar(org/jkiss/lm/LMProduct.class)
类文件具有错误的版本 55.0, 应为 52.0
请删除该文件或确保该文件位于正确的类路径子目录中。
1 个错误
FAILURE: Build failed with an exception.
Compilation failed; see the compiler error output for details.
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
怀疑dbee7 license算法有少许变化
Enterprise和Ultimate上都不行,提示Decryption error,试了 #4 的方法把
改成了com.dbeaver.lm.embedded.DBeaverEnterpriseLM
也不行,2022.0.0上倒是可以用
2022-06-14 01:46:13.621 - org.jkiss.lm.LMException: Error importing license
at com.dbeaver.lm.embedded.LicenseServiceEmbedded.importProductLicense(LicenseServiceEmbedded.java:111)
at com.dbeaver.lm.ui.LicenseImportDialog.importLicenseFromText(LicenseImportDialog.java:158)
at com.dbeaver.lm.ui.LicenseImportDialog.buttonPressed(LicenseImportDialog.java:246)
at org.eclipse.jface.dialogs.Dialog.lambda$0(Dialog.java:619)
at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:84)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4243)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1063)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4060)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3632)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:823)
at org.eclipse.jface.window.Window.open(Window.java:799)
at com.dbeaver.lm.ui.LicenseManagerUIUtils.importLicense(LicenseManagerUIUtils.java:115)
at com.dbeaver.lm.ui.LicenseManagerUIUtils.checkLicense(LicenseManagerUIUtils.java:71)
at com.dbeaver.ee.application.EnterpriseWorkbenchWindowAdvisor.lambda$0(EnterpriseWorkbenchWindowAdvisor.java:57)
at org.jkiss.dbeaver.ui.UIExecutionQueue.executeInUI(UIExecutionQueue.java:52)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4035)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3635)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156)
at org.jkiss.dbeaver.ui.app.standalone.DBeaverApplication.start(DBeaverApplication.java:270)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
Caused by: org.jkiss.lm.LMException: Corrupted license text:
javax.crypto.BadPaddingException: Decryption error
at org.jkiss.lm.LMLicense.<init>(LMLicense.java:126)
at org.jkiss.lm.LMLicenseManager.importLicense(LMLicenseManager.java:170)
at com.dbeaver.lm.embedded.LicenseServiceEmbedded.importProductLicense(LicenseServiceEmbedded.java:108)
... 41 more
2022-06-14 01:46:13.629 - Corrupted license text:
javax.crypto.BadPaddingException: Decryption error
org.jkiss.lm.LMException: Corrupted license text:
javax.crypto.BadPaddingException: Decryption error
at org.jkiss.lm.LMLicense.<init>(LMLicense.java:126)
at org.jkiss.lm.LMLicenseManager.importLicense(LMLicenseManager.java:170)
at com.dbeaver.lm.embedded.LicenseServiceEmbedded.importProductLicense(LicenseServiceEmbedded.java:108)
at com.dbeaver.lm.ui.LicenseImportDialog.importLicenseFromText(LicenseImportDialog.java:158)
at com.dbeaver.lm.ui.LicenseImportDialog.buttonPressed(LicenseImportDialog.java:246)
at org.eclipse.jface.dialogs.Dialog.lambda$0(Dialog.java:619)
at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:84)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4243)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1063)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4060)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3632)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:823)
at org.eclipse.jface.window.Window.open(Window.java:799)
at com.dbeaver.lm.ui.LicenseManagerUIUtils.importLicense(LicenseManagerUIUtils.java:115)
at com.dbeaver.lm.ui.LicenseManagerUIUtils.checkLicense(LicenseManagerUIUtils.java:71)
at com.dbeaver.ee.application.EnterpriseWorkbenchWindowAdvisor.lambda$0(EnterpriseWorkbenchWindowAdvisor.java:57)
at org.jkiss.dbeaver.ui.UIExecutionQueue.executeInUI(UIExecutionQueue.java:52)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4035)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3635)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156)
at org.jkiss.dbeaver.ui.app.standalone.DBeaverApplication.start(DBeaverApplication.java:270)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
dbeaver 22.0.4 无效了
放在C盘根目录下, 加了-javaagent:C:/dbeaver-agent.jar, 加其他目录也不行.
能看看怎样用在cloudbeaver-ee上吗, 有偿
我在DBeaver7.1的dbeaver.ini中添加了-javaagent:之后
发现启动DBeaverEE就启动不起来。
如果删除了-javaagent:就可以启动,是DBeaverEE.exe防止javaagent的加载了吗
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.