[JBoss JIRA] (JBIDE-17702) JPA: Generate Entities From Tables cannot connect to DB
by Pavol Srna (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17702?page=com.atlassian.jira.plugi... ]
Pavol Srna closed JBIDE-17702.
------------------------------
Verified in JBT 4.2.0.CR1 build.
> JPA: Generate Entities From Tables cannot connect to DB
> -------------------------------------------------------
>
> Key: JBIDE-17702
> URL: https://issues.jboss.org/browse/JBIDE-17702
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: forge
> Affects Versions: 4.2.0.Beta2
> Environment: jbosstools nightly from 2014-06-26
> Reporter: Pavol Srna
> Assignee: George Gastaldi
> Priority: Critical
> Fix For: 4.2.0.CR1
>
> Attachments: nightly-forge.png
>
>
> {code}
> java.sql.SQLException: Access denied for user 'dballo00'@'dhcp-1-122.brq.redhat.com' (using password: NO)
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1078)
> at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4190)
> at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4122)
> at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:927)
> at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1709)
> at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1252)
> at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2486)
> at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2519)
> at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2304)
> at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
> at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
> at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)
> at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:346)
> at org.jboss.forge.addon.database.tools.util.DelegatingDriver.connect(DelegatingDriver.java:25)
> at java.sql.DriverManager.getConnection(DriverManager.java:571)
> at java.sql.DriverManager.getConnection(DriverManager.java:187)
> at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:133)
> at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:114)
> at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2163)
> at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2155)
> at org.hibernate.cfg.JDBCMetaDataConfiguration.readFromJDBC(JDBCMetaDataConfiguration.java:41)
> at org.jboss.forge.addon.database.tools.util.HibernateToolsHelper$1.run(HibernateToolsHelper.java:32)
> at org.jboss.forge.addon.database.tools.util.UrlClassLoaderExecutor.execute(UrlClassLoaderExecutor.java:13)
> at org.jboss.forge.addon.database.tools.util.HibernateToolsHelper.buildMappings(HibernateToolsHelper.java:21)
> at org.jboss.forge.addon.database.tools.generate.DatabaseTableSelectionStep.initializeUI(DatabaseTableSelectionStep.java:87)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:65)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:81)
> at org.jboss.forge.addon.database.tools.generate.DatabaseTableSelectionStep_$$_javassist_a73ce705-51dc-4477-87d5-ee82433c415e.initializeUI(DatabaseTableSelectionStep_$$_javassist_a73ce705-51dc-4477-87d5-ee82433c415e.java)
> at org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.initialize(SingleCommandControllerImpl.java:55)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.next(WizardCommandControllerImpl.java:373)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.refreshFlow(WizardCommandControllerImpl.java:100)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.canExecute(WizardCommandControllerImpl.java:299)
> at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.canExecute(NoUIWizardControllerDecorator.java:219)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:123)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
> at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:96)
> at org.jboss.forge.addon.ui.controller.CommandController_$$_javassist_c985d509-9579-485f-be14-83142caebc8a.canExecute(CommandController_$$_javassist_c985d509-9579-485f-be14-83142caebc8a.java)
> at org.jboss.tools.forge.ui.internal.ext.wizards.ForgeWizard.canFinish(ForgeWizard.java:60)
> at org.eclipse.jface.wizard.WizardDialog.updateButtons(WizardDialog.java:1377)
> at org.jboss.tools.forge.ui.internal.ext.dialog.WizardDialogHelper$2.pageChanged(WizardDialogHelper.java:145)
> at org.eclipse.jface.wizard.WizardDialog$9.run(WizardDialog.java:1594)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:178)
> at org.eclipse.jface.wizard.WizardDialog.firePageChanged(WizardDialog.java:1591)
> at org.eclipse.jface.wizard.WizardDialog.update(WizardDialog.java:1368)
> at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1294)
> at org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1268)
> at org.eclipse.jface.wizard.WizardDialog$8.run(WizardDialog.java:1257)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1254)
> at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:942)
> at org.jboss.tools.forge.ui.internal.ext.dialog.ForgeWizardDialog.nextPressed(ForgeWizardDialog.java:51)
> at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:434)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3831)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3441)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
> at org.eclipse.jface.window.Window.open(Window.java:808)
> at org.jboss.tools.forge.ui.internal.ext.dialog.WizardDialogHelper.openWizard(WizardDialogHelper.java:158)
> at org.jboss.tools.forge.ui.internal.ext.dialog.UICommandListDialog$1$1.handleElementSelected(UICommandListDialog.java:172)
> at org.jboss.tools.forge.ui.internal.ext.quickaccess.QuickAccessContents.handleSelection(QuickAccessContents.java:326)
> at org.jboss.tools.forge.ui.internal.ext.quickaccess.QuickAccessContents.access$0(QuickAccessContents.java:316)
> at org.jboss.tools.forge.ui.internal.ext.quickaccess.QuickAccessContents$1.keyPressed(QuickAccessContents.java:347)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:167)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1412)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1397)
> at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1424)
> at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:824)
> at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:3269)
> at org.eclipse.swt.widgets.Text.gtk_key_press_event(Text.java:1795)
> at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2098)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:5510)
> at org.eclipse.swt.widgets.Text.windowProc(Text.java:2744)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4700)
> at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
> at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:9074)
> at org.eclipse.swt.widgets.Display.eventProc(Display.java:1253)
> at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
> at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2473)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3439)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
> org.hibernate.HibernateException: Dialect class not found:
> at org.hibernate.dialect.resolver.DialectFactory.constructDialect(DialectFactory.java:160)
> at org.hibernate.dialect.resolver.DialectFactory.buildDialect(DialectFactory.java:109)
> at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:138)
> at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2163)
> at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2155)
> at org.hibernate.cfg.JDBCMetaDataConfiguration.readFromJDBC(JDBCMetaDataConfiguration.java:41)
> at org.jboss.forge.addon.database.tools.util.HibernateToolsHelper$1.run(HibernateToolsHelper.java:32)
> at org.jboss.forge.addon.database.tools.util.UrlClassLoaderExecutor.execute(UrlClassLoaderExecutor.java:13)
> at org.jboss.forge.addon.database.tools.util.HibernateToolsHelper.buildMappings(HibernateToolsHelper.java:21)
> at org.jboss.forge.addon.database.tools.generate.DatabaseTableSelectionStep.initializeUI(DatabaseTableSelectionStep.java:87)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:65)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:81)
> at org.jboss.forge.addon.database.tools.generate.DatabaseTableSelectionStep_$$_javassist_a73ce705-51dc-4477-87d5-ee82433c415e.initializeUI(DatabaseTableSelectionStep_$$_javassist_a73ce705-51dc-4477-87d5-ee82433c415e.java)
> at org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.initialize(SingleCommandControllerImpl.java:55)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.next(WizardCommandControllerImpl.java:373)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.refreshFlow(WizardCommandControllerImpl.java:100)
> at org.jboss.forge.addon.ui.impl.controller.WizardCommandControllerImpl.canExecute(WizardCommandControllerImpl.java:299)
> at org.jboss.forge.addon.ui.impl.controller.NoUIWizardControllerDecorator.canExecute(NoUIWizardControllerDecorator.java:219)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:123)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34)
> at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:96)
> at org.jboss.forge.addon.ui.controller.CommandController_$$_javassist_c985d509-9579-485f-be14-83142caebc8a.canExecute(CommandController_$$_javassist_c985d509-9579-485f-be14-83142caebc8a.java)
> at org.jboss.tools.forge.ui.internal.ext.wizards.ForgeWizard.canFinish(ForgeWizard.java:60)
> at org.eclipse.jface.wizard.WizardDialog.updateButtons(WizardDialog.java:1377)
> at org.jboss.tools.forge.ui.internal.ext.dialog.WizardDialogHelper$2.pageChanged(WizardDialogHelper.java:145)
> at org.eclipse.jface.wizard.WizardDialog$9.run(WizardDialog.java:1594)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:178)
> at org.eclipse.jface.wizard.WizardDialog.firePageChanged(WizardDialog.java:1591)
> at org.eclipse.jface.wizard.WizardDialog.update(WizardDialog.java:1368)
> at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1294)
> at org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1268)
> at org.eclipse.jface.wizard.WizardDialog$8.run(WizardDialog.java:1257)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1254)
> at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:942)
> at org.jboss.tools.forge.ui.internal.ext.dialog.ForgeWizardDialog.nextPressed(ForgeWizardDialog.java:51)
> at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:434)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3831)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3441)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
> at org.eclipse.jface.window.Window.open(Window.java:808)
> at org.jboss.tools.forge.ui.internal.ext.dialog.WizardDialogHelper.openWizard(WizardDialogHelper.java:158)
> at org.jboss.tools.forge.ui.internal.ext.dialog.UICommandListDialog$1$1.handleElementSelected(UICommandListDialog.java:172)
> at org.jboss.tools.forge.ui.internal.ext.quickaccess.QuickAccessContents.handleSelection(QuickAccessContents.java:326)
> at org.jboss.tools.forge.ui.internal.ext.quickaccess.QuickAccessContents.access$0(QuickAccessContents.java:316)
> at org.jboss.tools.forge.ui.internal.ext.quickaccess.QuickAccessContents$1.keyPressed(QuickAccessContents.java:347)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:167)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1412)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1397)
> at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1424)
> at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:824)
> at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:3269)
> at org.eclipse.swt.widgets.Text.gtk_key_press_event(Text.java:1795)
> at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2098)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:5510)
> at org.eclipse.swt.widgets.Text.windowProc(Text.java:2744)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4700)
> at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
> at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:9074)
> at org.eclipse.swt.widgets.Display.eventProc(Display.java:1253)
> at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
> at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2473)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3439)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
> Caused by: java.lang.ClassNotFoundException:
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:190)
> at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:192)
> at org.hibernate.dialect.resolver.DialectFactory.constructDialect(DialectFactory.java:157)
> ... 102 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-18040) BrowserSim: Weinre doesn't work OOTB
by Vlado Pakan (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18040?page=com.atlassian.jira.plugi... ]
Vlado Pakan closed JBIDE-18040.
-------------------------------
Verified with JBDS 8.0.0.CR1-v20140831-0335-B201
> BrowserSim: Weinre doesn't work OOTB
> ------------------------------------
>
> Key: JBIDE-18040
> URL: https://issues.jboss.org/browse/JBIDE-18040
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: browsersim
> Affects Versions: 4.2.0.Beta3
> Reporter: Ilya Buziuk
> Assignee: Konstantin Marmalyukov
> Fix For: 4.2.0.CR1
>
> Attachments: weinre-error.png, weinre-javafx.png
>
>
> Always getting this error pop-up when trying to open weinre with SWT web engine - !weinre-error.png|thumbnail!
> With JavaFx web engine weinre pop-up is blank - !weinre-javafx.png|thumbnail!
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-17628) Ctrl+4 does not open the default Forge runtime, but always 2.6.0
by Pavol Srna (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17628?page=com.atlassian.jira.plugi... ]
Pavol Srna closed JBIDE-17628.
------------------------------
Verified in JBT 4.2.0.CR1 build.
> Ctrl+4 does not open the default Forge runtime, but always 2.6.0
> ----------------------------------------------------------------
>
> Key: JBIDE-17628
> URL: https://issues.jboss.org/browse/JBIDE-17628
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: forge
> Affects Versions: 4.2.0.Beta2
> Reporter: Martin Malina
> Assignee: Koen Aers
> Fix For: 4.2.0.CR1
>
>
> According to JBDS 8.0.0 Beta2 release notes:
> {quote}
> The default Forge runtime starts on pressing Ctrl+4. To change the default runtime, click Window→Preferences, expand Forge→Installed Forge Runtimes and select the check box of the runtime that you want to be default.
> {quote}
> This is not true. I changed the default to 1.x, started Forge using Ctrl+4, and it still starts 2.6.0.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-12443) Add Forge Console view to JBoss perspective
by Pavol Srna (JIRA)
[ https://issues.jboss.org/browse/JBIDE-12443?page=com.atlassian.jira.plugi... ]
Pavol Srna closed JBIDE-12443.
------------------------------
Verified in JBT 4.2.0.CR1 build.
> Add Forge Console view to JBoss perspective
> -------------------------------------------
>
> Key: JBIDE-12443
> URL: https://issues.jboss.org/browse/JBIDE-12443
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: forge
> Environment: JBoss Developer Studio
> Reporter: George Gastaldi
> Assignee: George Gastaldi
> Priority: Minor
> Fix For: 4.2.0.CR1
>
>
> The only way to get into the Forge Console nowadays is through Window->Show view. There should be an easier way to get into Forge console. I've heard of cases that some users never knew that the JBoss Forge console were available inside JBoss tools.
> Adding a toolbar button is a great idea.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-14662) Hibernate configuration view should gracefully handle error caused by multiple persistence.xml
by Jiri Peterka (JIRA)
[ https://issues.jboss.org/browse/JBIDE-14662?page=com.atlassian.jira.plugi... ]
Jiri Peterka commented on JBIDE-14662:
--------------------------------------
Koen, now it gives error reported in here JBIDE-18220.
I would assume it should work since datasource is defined in persistence.xml so after changing persistence unit to the existing one configuration should be browsable. Once JBIDE-18220 is resolved I'll verify this one.
> Hibernate configuration view should gracefully handle error caused by multiple persistence.xml
> ----------------------------------------------------------------------------------------------
>
> Key: JBIDE-14662
> URL: https://issues.jboss.org/browse/JBIDE-14662
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: central, hibernate
> Affects Versions: 4.1.0.Beta1
> Environment: JBDS 7.0.0.Beta1a,64
> Reporter: Jiri Peterka
> Assignee: Koen Aers
> Fix For: 4.2.0.CR1
>
>
> When importing HTML5 project form Central, Hibernate console isn't properly configured and cannot be expanded and used without errors.
> {code}
> javax.persistence.PersistenceException: No name provided and several persistence units found
> at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:337)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at org.hibernate.console.ConfigurationFactory.buildJPAConfiguration(ConfigurationFactory.java:218)
> at org.hibernate.console.ConfigurationFactory.buildConfiguration(ConfigurationFactory.java:161)
> at org.hibernate.console.ConfigurationFactory.createConfiguration(ConfigurationFactory.java:96)
> at org.hibernate.console.ConsoleConfiguration$3.execute(ConsoleConfiguration.java:240)
> at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
> at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:107)
> at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:237)
> at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:188)
> at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:42)
> at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:100)
> at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:106)
> at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:235)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-17890) Command 'cd #/projectname' not implemented in Forge2
by Pavol Srna (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17890?page=com.atlassian.jira.plugi... ]
Pavol Srna closed JBIDE-17890.
------------------------------
Verified in JBT 4.2.0.CR1 build.
> Command 'cd #/projectname' not implemented in Forge2
> ----------------------------------------------------
>
> Key: JBIDE-17890
> URL: https://issues.jboss.org/browse/JBIDE-17890
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: forge
> Affects Versions: 4.2.0.Beta1
> Reporter: Pavol Srna
> Assignee: George Gastaldi
> Fix For: 4.2.0.CR1
>
>
> I'm missing 'cd #' command in Forge2.
> Would it be possible to make the forge "cd" command aware of the eclipse workspace the same way as it is in Forge1? Especially being able to "cd #/projectname" where projectname is *NOT* inside the physical workspace directory.
> Remember our recommendation to users is *NOT* to put their projects inside eclipse workspaces thus having just 'cd #' is not really that useful on its own.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months