6 Replies Latest reply on Jan 15, 2009 11:40 AM by maumau

    Can't deploy to deploy-only server

    maumau

      Hi everybody,

      I'm using the latest versions of jboss tools and I can't deploy
      my seam application to a remote path.
      (a new clean application)

      I can create the deploy server but when I request a "clean" on the server,
      I get the following error.

      'Publishing to local Deployer...' has encountered a problem.
      Could not publish to the server.

      When I click on the Details button I get

      Could not publish to the server.
      java.lang.NullPointerException

      If I remove the publishing of the x-ds.xml resource
      the error goes away but only an empty directory
      structure is published.

      When I try to create a new project with the server already defined
      I have a message saying
      'Runtime "JBoss Deploy-Only Runtime" is invalid.'

      Used Software
      Windows XP
      eclipse-jee-ganymede-SR1-win32.zip
      JBossTools-ALL-win32-3.0.0.CR2-N200901101215.zip

      So I'm stucked here,
      does someone uses successfully this configuration ?

      In advance thank you for your feed-back.

      Sincerely

      Malte Wiskott


        • 1. Re: Can't deploy to deploy-only server
          six-p4ck

          same here.


          can't deploy anything on AS 4.2

          The server is fine but studio dev doesn't copy anything in the deploy directory. But he start and stop fine the server.


          And can't start the AS 5.0.


          • 2. Re: Can't deploy to deploy-only server
            six-p4ck

            I forgot:

            with jbdevstudio-win32-2.0.0.CR1-R200812221144

            • 3. Re: Can't deploy to deploy-only server
              maxandersen

              CR1 added support for deploying inside the workspace. Seems like Rob forgot to adjust for that in deploy only server when adding the feature.

              Please report this in jira.

              p.s. please also try to double click the server and edit the deploy destination and let me know if that changes things ?

              • 4. Re: Can't deploy to deploy-only server
                maumau

                Ok, I made a report in Jira

                https://jira.jboss.org/jira/browse/JBIDE-3565

                Double Click on server raises an error

                Could not open the editor: assertion failed:

                detail:

                org.eclipse.core.runtime.AssertionFailedException: assertion failed:
                at org.eclipse.core.runtime.Assert.isTrue(Assert.java:111)
                at org.eclipse.core.runtime.Assert.isTrue(Assert.java:97)
                at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:971)
                at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:314)
                at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
                at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
                at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
                at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:306)
                at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
                at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
                at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
                at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
                at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
                at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
                at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
                at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
                at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
                at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
                at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
                at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
                at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217)
                at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207)
                at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:779)
                at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:678)
                at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:639)
                at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2817)
                at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)
                at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
                at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
                at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
                at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
                at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)
                at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2635)
                at org.eclipse.wst.server.ui.internal.ServerUIPlugin.editServer(ServerUIPlugin.java:425)
                at org.eclipse.wst.server.ui.internal.ServerUIPlugin.editServer(ServerUIPlugin.java:408)
                at org.eclipse.wst.server.ui.internal.view.servers.OpenAction.perform(OpenAction.java:36)
                at org.eclipse.wst.server.ui.internal.view.servers.AbstractServerAction.run(AbstractServerAction.java:60)
                at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:221)
                at org.eclipse.ui.internal.navigator.CommonNavigatorManager$3.open(CommonNavigatorManager.java:184)
                at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:820)
                at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
                at org.eclipse.core.runtime.Platform.run(Platform.java:880)
                at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
                at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
                at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:818)
                at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1079)
                at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:372)
                at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1183)
                at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:263)
                at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:257)
                at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:297)
                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:3823)
                at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
                at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
                at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
                at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
                at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
                at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
                at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
                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:193)
                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:386)
                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:549)
                at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
                at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

                • 5. Re: Can't deploy to deploy-only server
                  maxandersen

                  thanks - but next time please put stacktrace etc. in the jira instead of forum ;)

                  I've copied it to the issue.

                  • 6. Re: Can't deploy to deploy-only server
                    maumau

                    Sorry Max for that, I thought is was part of the discussion.

                    Malte WISKOTT