Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-2861

Installer fails to provision application

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 8.0.0.Alpha1
    • 8.0.0.Alpha1, 8.0.0.Alpha2
    • installer
    • None

    Description

      When running installer, using

      java -DTRACE=true -jar ~/Downloads/jbdevstudio-product-universal-8.0.0.Alpha1-v20131209-1718-B5.jar InstallConfig.xml
      

      With the following content for InstallConfig.xml

      <?xml version='1.0' encoding='UTF-8' standalone='no'?>
      <AutomatedInstallation langpack='eng'>
      <com.jboss.jbds.installer.HTMLInfoPanelWithRootWarning id='introduction'/>
      <com.izforge.izpack.panels.HTMLLicencePanel id='licence'/>
      <com.jboss.jbds.installer.PathInputPanel id='target'>
      <installpath>/home/mistria/sandbox/jbdevstudio-test</installpath>
      </com.jboss.jbds.installer.PathInputPanel>
      <com.jboss.jbds.installer.JREPathPanel id='jre'/>
      <com.jboss.jbds.installer.JBossAsSelectPanel id='as'>
      <installgroup>jbds</installgroup>
      </com.jboss.jbds.installer.JBossAsSelectPanel>
      <com.jboss.jbds.installer.UpdatePacksPanel id='updatepacks'/>
      <com.jboss.jbds.installer.DiskSpaceCheckPanel id='diskspacecheck'/>
      <com.izforge.izpack.panels.SummaryPanel id='summary'/>
      <com.izforge.izpack.panels.InstallPanel id='install'/>
      <com.jboss.jbds.installer.CreateLinkPanel id='createlink'>
      <jrelocation>/usr/bin/java</jrelocation>
      </com.jboss.jbds.installer.CreateLinkPanel>
      <com.izforge.izpack.panels.ShortcutPanel id='shortcut'/>
      <com.jboss.jbds.installer.ShortcutPanelPatch id='shortcutpatch'/>
      <com.izforge.izpack.panels.SimpleFinishPanel id='finish'/>
      </AutomatedInstallation>
      

      Installation fails with the following error message

      [...]
      1 operation remaining.
      
      Fetching org.testng.eclipse_6.8.6.20130914_0724.jar from jar:file:///home/mistria/Downloads/jbdevstudio-product-universal-8.0.0.Alpha1-v20131209-1718-B5.jar!/testng/plugins/ (4kB of 2.86MB at 0B/s)
      
      Fetching org.testng.eclipse_6.8.6.20130914_0724.jar from jar:file:///home/mistria/Downloads/jbdevstudio-product-universal-8.0.0.Alpha1-v20131209-1718-B5.jar!/testng/features/ (3.78kB of 3.78kB at 0B/s)
      
      Installing a.jre.javase
      
      Installing com.ibm.icu
      
      An error was detected while performing the engine operation and the changes are being rolled back. See the log for details.
      
      An error occurred while installing the items
      
       session context was:(profile=jbds, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]com.ibm.icu 50.1.1.v201304230130, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).
       Could not acquire the framework manipulator service.
      Caused by: Application failed, log file location: /home/mistria/sandbox/jbdevstudio-test/studio/p2/director/configuration/1386680557022.log
      Installation failed.
      An error occurred while installing the items
       session context was:(profile=jbds, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]com.ibm.icu 50.1.1.v201304230130, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).
       Could not acquire the framework manipulator service.
      Caused by: Application failed, log file location: /home/mistria/sandbox/jbdevstudio-test/studio/p2/director/configuration/1386680557022.log
      

      and log file says

      SESSION 2013-12-10 14:02:36.864 -----------------------------------------------
      eclipse.buildId=unknown
      java.version=1.7.0_25
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -roaming -r jar:file:///home/mistria/Downloads/jbdevstudio-product-universal-8.0.0.Alpha1-v20131209-1718-B5.jar!/ -d /home/mistria/sandbox/jbdevstudio-test/studio -p jbds -i com.jboss.jbds.all,org.testng.eclipse.feature.group -profileProperties org.eclipse.update.install.features=true
      Command-line arguments:  -roaming -r jar:file:///home/mistria/Downloads/jbdevstudio-product-universal-8.0.0.Alpha1-v20131209-1718-B5.jar!/ -d /home/mistria/sandbox/jbdevstudio-test/studio -p jbds -i com.jboss.jbds.all,org.testng.eclipse.feature.group -profileProperties org.eclipse.update.install.features=true
      
      !ENTRY org.eclipse.ecf.provider.filetransfer 4 0 2013-12-10 14:02:37.720
      !MESSAGE org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf.provider.filetransfer;code=4;message=Warning: Platform proxy API not available;severity2;exception=java.lang.NoClassDefFoundError: org/eclipse/core/net/proxy/IProxyService;children=[]]
      !STACK 0
      java.lang.NoClassDefFoundError: org/eclipse/core/net/proxy/IProxyService
              at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.setupProxies(AbstractRetrieveFileTransfer.java:946)
              at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:878)
              at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:570)
              at org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.java:106)
              at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.sendRetrieveRequest(FileReader.java:422)
              at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.readInto(FileReader.java:355)
              at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.download(RepositoryTransport.java:101)
              at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.download(RepositoryTransport.java:156)
              at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadIndexFile(AbstractRepositoryManager.java:735)
              at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:657)
              at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(ArtifactRepositoryManager.java:104)
              at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(ArtifactRepositoryManager.java:100)
              at com.jboss.jbds.internal.p2.director.InstallerDirectorApplication.initializeRepositories(InstallerDirectorApplication.java:546)
              at com.jboss.jbds.internal.p2.director.InstallerDirectorApplication.run(InstallerDirectorApplication.java:1025)
              at com.jboss.jbds.internal.p2.director.InstallerDirectorApplication.start(InstallerDirectorApplication.java:1212)
              at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:109)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:80)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:372)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:226)
              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:636)
              at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
              at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
              at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
      Caused by: java.lang.ClassNotFoundException: org.eclipse.core.net.proxy.IProxyService cannot be found by osgi.identity; osgi.identity="org.eclipse.ecf.provider.filetransfer"; type="osgi.bundle"; version:Version="3.2.0.v20131027-1505"; singleton:="true"
              at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:411)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:331)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:323)
              at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:118)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
              ... 28 more
      
      !ENTRY org.eclipse.ecf.provider.filetransfer 4 0 2013-12-10 14:02:37.739
      !MESSAGE org.eclipse.core.runtime.Status[plugin=org.eclipse.ecf.provider.filetransfer;code=4;message=Warning: Platform proxy API not available;severity2;exception=java.lang.NoClassDefFoundError: org/eclipse/core/net/proxy/IProxyService;children=[]]
      !STACK 0
      java.lang.NoClassDefFoundError: org/eclipse/core/net/proxy/IProxyService
              at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser.setupProxies(AbstractFileSystemBrowser.java:226)
              at org.eclipse.ecf.provider.filetransfer.browse.URLFileSystemBrowser.runRequest(URLFileSystemBrowser.java:91)
              at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
              at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
      Caused by: java.lang.ClassNotFoundException: org.eclipse.core.net.proxy.IProxyService cannot be found by osgi.identity; osgi.identity="org.eclipse.ecf.provider.filetransfer"; type="osgi.bundle"; version:Version="3.2.0.v20131027-1505"; singleton:="true"
              at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:411)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:331)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:323)
              at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:118)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
              ... 4 more
      
      [This last paragraph is repeated many many times]
      
      !ENTRY org.eclipse.equinox.p2.engine 4 4 2013-12-10 14:03:40.694
      !MESSAGE An error occurred while installing the items
      !SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2013-12-10 14:03:40.694
      !MESSAGE session context was:(profile=jbds, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]com.ibm.icu 50.1.1.v201304230130, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).
      !SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2013-12-10 14:03:40.694
      !MESSAGE Could not acquire the framework manipulator service.
      !STACK 0
      java.lang.IllegalStateException: Could not acquire the framework manipulator service.
              at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.loadDelegate(LazyManipulator.java:45)
              at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.getConfigData(LazyManipulator.java:108)
              at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction.installBundle(InstallBundleAction.java:75)
              at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction.execute(InstallBundleAction.java:32)
              at org.eclipse.equinox.internal.p2.engine.ParameterizedProvisioningAction.execute(ParameterizedProvisioningAction.java:38)
              at org.eclipse.equinox.internal.p2.engine.Phase.mainPerform(Phase.java:183)
              at org.eclipse.equinox.internal.p2.engine.Phase.perform(Phase.java:95)
              at org.eclipse.equinox.internal.p2.engine.PhaseSet.perform(PhaseSet.java:47)
              at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:75)
              at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:44)
              at org.eclipse.equinox.internal.provisional.p2.director.PlanExecutionHelper.executePlan(PlanExecutionHelper.java:41)
              at org.eclipse.equinox.internal.provisional.p2.director.PlanExecutionHelper.executePlan(PlanExecutionHelper.java:23)
              at com.jboss.jbds.internal.p2.director.InstallerDirectorApplication.executePlan(InstallerDirectorApplication.java:740)
              at com.jboss.jbds.internal.p2.director.InstallerDirectorApplication.planAndExecute(InstallerDirectorApplication.java:733)
              at com.jboss.jbds.internal.p2.director.InstallerDirectorApplication.performProvisioningActions(InstallerDirectorApplication.java:720)
              at com.jboss.jbds.internal.p2.director.InstallerDirectorApplication.run(InstallerDirectorApplication.java:1030)
              at com.jboss.jbds.internal.p2.director.InstallerDirectorApplication.start(InstallerDirectorApplication.java:1212)
              at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:109)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:80)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:372)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:226)
              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:636)
              at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
              at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
              at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
      

      Attachments

        Activity

          People

            mistria@redhat.com Mickael Istria
            mistria@redhat.com Mickael Istria
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: