4 Replies Latest reply on Sep 8, 2006 1:09 AM by Srinivasan Mani

    Configure JBoss AS in Eclipse 3.2

    Srinivasan Mani Newbie

      Hi,

      I am working with Eclipse 3.2 and just wanted to try JBoss IDE. I updated my eclipse through Help -> Software Update -> Find & Install and the remote site url being

      http://download.jboss.org/jbosside/updates/stable
      , I tried to configure JBoss server through run -> debug option, but when I click the new button nothing happens. I am able to create new configurations for all other options.

        • 1. Configure JBoss AS in Eclipse 3.2
          Srinivasan Mani Newbie

          adding the log.


          !ENTRY org.eclipse.ui 4 4 2006-09-07 17:45:07.843
          !MESSAGE Unhandled event loop exception

          !ENTRY org.eclipse.ui 4 0 2006-09-07 17:45:07.858
          !MESSAGE org/eclipse/jdt/internal/debug/ui/launcher/JavaLaunchConfigurationTab
          !STACK 0
          java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/debug/ui/launcher/JavaLaunchConfigurationTab
          at java.lang.ClassLoader.defineClass1(Native Method)
          at java.lang.ClassLoader.defineClass(Unknown Source)
          at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:160)
          at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:498)
          at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:468)
          at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:427)
          at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:410)
          at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188)
          at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:339)
          at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:391)
          at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:352)
          at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
          at java.lang.ClassLoader.loadClass(Unknown Source)
          at java.lang.ClassLoader.loadClassInternal(Unknown Source)
          at org.jboss.ide.eclipse.launcher.ui.configuration.jboss.JBoss40xTabGroup.createTabs(JBoss40xTabGroup.java:60)
          at org.eclipse.debug.internal.ui.launchConfigurations.CreateLaunchConfigurationAction.performAction(CreateLaunchConfigurationAction.java:70)
          at org.eclipse.debug.internal.ui.launchConfigurations.AbstractLaunchConfigurationAction$1.run(AbstractLaunchConfigurationAction.java:103)
          at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
          at org.eclipse.debug.internal.ui.launchConfigurations.AbstractLaunchConfigurationAction.run(AbstractLaunchConfigurationAction.java:106)
          at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168)
          at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
          at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
          at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
          at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
          at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
          at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
          at org.eclipse.jface.window.Window.open(Window.java:796)
          at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1086)
          at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:375)
          at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
          at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:379)
          at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:321)
          at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:80)
          at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
          at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
          at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
          at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
          at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
          at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
          at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
          at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
          at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
          at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
          at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
          at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
          at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
          at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
          at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
          at java.lang.reflect.Method.invoke(Unknown Source)
          at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
          at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
          at org.eclipse.core.launcher.Main.run(Main.java:977)
          at org.eclipse.core.launcher.Main.main(Main.java:952)

          • 2. Re: Configure JBoss AS in Eclipse 3.2
            fmagrini72 Newbie

            I'm facing the same error!!!!!!
            Eclipse 3.2 JBoss IDE 1.6.
            Fil

            • 3. Re: Configure JBoss AS in Eclipse 3.2
              Rob Stryker Master

              JBoss IDE 1.6 is not made for Eclipse 3.2. Only JBoss IDE 2.0 (currently in Beta) is.

              Eclipse changed some underlying APIs, which made 1.6 unworkable with 3.2.

              • 4. Re: Configure JBoss AS in Eclipse 3.2
                Srinivasan Mani Newbie

                I got this fixed. Download org-jboss-ide-eclipse-launcher-ui.jar form

                http://jira.jboss.com/jira/browse/JBIDE-295

                and replace the same in plugins directory. The issue is discussed in detail there.