4 Replies Latest reply on Jan 25, 2010 6:26 AM by massios

    Starting JBoss form "Eclipse Java EE IDE for Web Developers"

      After starting JBoss 5.1 from eclipse I allways get the following error message to see:

       

      13:41:44,393 WARN  [HDScanner] Scan failed
      org.jboss.deployers.spi.DeploymentException: Unable to find class path entry ClassPathEntryImpl{path=client/getopt.jar} from run.jar
          at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
          at org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder.applyContextInfo(VFSStructureBuilder.java:188)
          at org.jboss.deployers.structure.spi.helpers.AbstractStructureBuilder.populateContext(AbstractStructureBuilder.java:82)
          at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:89)
          at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:1004)
          at org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeploymentContext(MainDeployerImpl.java:440)
          at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:390)
          at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:300)
          at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.addDeployment(MainDeployerAdapter.java:86)
          at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:344)
          at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
          at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
          at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
          at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Unknown Source)
          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Unknown Source)
          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          at java.lang.Thread.run(Unknown Source)
      Caused by: java.io.IOException: Child not found client/getopt.jar for DelegatingHandler@20848959[path=bin/run.jar context=file:/C:/Development/jboss-5.1.0.GA/ real=file:/C:/Development/jboss-5.1.0.GA/bin/run.jar], available children: [ZipEntryHandler@33084848[path=bin/run.jar/GetoptDemo.class context=file:/C:/Development/jboss-5.1.0.GA/ real=file:/C:/Development/jboss-5.1.0.GA/bin/run.jar/GetoptDemo.class], ZipEntryHandler@26559740[path=bin/run.jar/META-INF context=file:/C:/Development/jboss-5.1.0.GA/ real=file:/C:/Development/jboss-5.1.0.GA/bin/run.jar/META-INF], ZipEntryHandler@14947269[path=bin/run.jar/gnu context=file:/C:/Development/jboss-5.1.0.GA/ real=file:/C:/Development/jboss-5.1.0.GA/bin/run.jar/gnu], ZipEntryHandler@30276712[path=bin/run.jar/log4j-debug.properties context=file:/C:/Development/jboss-5.1.0.GA/ real=file:/C:/Development/jboss-5.1.0.GA/bin/run.jar/log4j-debug.properties], ZipEntryHandler@7743055[path=bin/run.jar/log4j-trace.properties context=file:/C:/Development/jboss-5.1.0.GA/ real=file:/C:/Development/jboss-5.1.0.GA/bin/run.jar/log4j-trace.properties], ZipEntryHandler@13450754[path=bin/run.jar/log4j.properties context=file:/C:/Development/jboss-5.1.0.GA/ real=file:/C:/Development/jboss-5.1.0.GA/bin/run.jar/log4j.properties], ZipEntryHandler@10628380[path=bin/run.jar/org context=file:/C:/Development/jboss-5.1.0.GA/ real=file:/C:/Development/jboss-5.1.0.GA/bin/run.jar/org]]
          at org.jboss.virtual.VirtualFile.findChild(VirtualFile.java:461)
          at org.jboss.deployers.vfs.plugins.structure.VFSStructureBuilder.applyContextInfo(VFSStructureBuilder.java:184)
          ... 18 more

       

      The archive file getopt.jar is in directory [JBOSS_HOME]\client.

       

      If I start JBoss from command line (run.bat), there is no error message to see. Is something wrong with my installation / plugins?

       

      Best regards.

        • 1. Re: Starting JBoss form "Eclipse Java EE IDE for Web Developers"
          massios

          Hello Friedrich,

           

          I am getting the same error from the eclipse plugin if I start jboss 5.1 and ESB 4.7 from within eclipse.

           

          If I start jboss 5.1 and ESB 4.6 from within eclipse I do not get this error.

           

          For the time being we are not upgrading to 4.7 (see also a post about the esb 4.7 and the admin-console)

           

          Nikos.

           

          Eclipse

          Build id: 20090920-1017

           

          JBoss ESB Tools

           

          Version: 1.3.0.v201001080022N-H115-CR2

          JBossAS Tools

           

          Version: 2.1.0.v201001080022N-H115-CR2

           

           

           

          • 2. Re: Starting JBoss form "Eclipse Java EE IDE for Web Developers"
            beve

            Hi Guys,

             

            I can start AS 5.1 running ESB 4.7 from Eclipse but I'm on Mac OS X. Are you both running Windows?

             

            Regards,

             

            /Daniel

            • 3. Re: Starting JBoss form "Eclipse Java EE IDE for Web Developers"
              massios

              I am running Microsoft Windows XP Professional Version 2002 Service Pack 3

               

              Nikos.

              • 4. Re: Starting JBoss form "Eclipse Java EE IDE for Web Developers"
                massios

                Hello,

                 

                Has anyone had any progress with starting the esb 4.7 from within eclipse on windows?

                 

                I noticed that I am also getting an error when I am trying to save any changes to the server launch configuration from within eclipse using the jboss tools.

                 

                "Unhandled event loop exception"

                 

                java.lang.NullPointerException
                at org.jboss.ide.eclipse.as.ui.launch.JavaMainTabClone.performApply(JavaMainTabClone.java:232)
                at org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup.performApply(AbstractLaunchConfigurationTabGroup.java:98)
                at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupWrapper.performApply(LaunchConfigurationTabGroupWrapper.java:220)
                at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.handleApplyPressed(LaunchConfigurationTabGroupViewer.java:1352)
                at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationPropertiesDialog.okPressed(LaunchConfigurationPropertiesDialog.java:218)
                at org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:472)
                at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.buttonPressed(LaunchConfigurationsDialog.java:301)
                at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
                at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
                at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
                at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
                at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
                at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
                at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
                at org.eclipse.jface.window.Window.open(Window.java:801)
                at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1064)
                at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationPropertiesDialog.open(LaunchConfigurationPropertiesDialog.java:227)
                at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationPropertiesDialog(DebugUITools.java:448)
                at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationPropertiesDialog(DebugUITools.java:425)
                at org.eclipse.wst.server.ui.internal.editor.OverviewEditorPart$9.linkActivated(OverviewEditorPart.java:578)
                at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleActivate(AbstractHyperlink.java:233)
                at org.eclipse.ui.forms.widgets.AbstractHyperlink.handleMouseUp(AbstractHyperlink.java:327)
                at org.eclipse.ui.forms.widgets.AbstractHyperlink.access$2(AbstractHyperlink.java:311)
                at org.eclipse.ui.forms.widgets.AbstractHyperlink$4.handleEvent(AbstractHyperlink.java:125)
                at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
                at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
                at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
                at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
                at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
                at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
                at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
                at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
                at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
                at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
                at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
                at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
                at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
                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.equinox.launcher.Main.invokeFramework(Main.java:559)
                at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
                at org.eclipse.equinox.launcher.Main.run(Main.java:1311)