Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-61874

WebSphere deploy fails due to missing dependencies

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • Jenkins latest version 2.222.1
      WebSphere deployer 1.6.1
      WAS standalone installation version 8.5.0

      missing jars which i cannot figure out how to supply it. or how to get it.

      com.ibm.websphere.management.application.client.AppDeploymentException: [Root exception is java.lang.NoClassDefFoundError: org/eclipse/core/runtime/CoreException] at com.ibm.websphere.management.application.AppManagementFactory.handleException(AppManagementFactory.java:719) at com.ibm.websphere.management.application.AppManagementFactory.readArchive(AppManagementFactory.java:148) at com.ibm.websphere.management.application.AppManagementFactory.readArchive(AppManagementFactory.java:96) at com.ibm.websphere.management.application.client.AppDeploymentController.readArchive(AppDeploymentController.java:259) at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.buildDeploymentPreferences(WebSphereDeploymentService.java:273) at org.jenkinsci.plugins.websphere.services.deployment.WebSphereDeploymentService.isArtifactInstalled(WebSphereDeploymentService.java:468) at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.stopArtifact(WebSphereDeployerPlugin.java:409) at org.jenkinsci.plugins.websphere_deployer.WebSphereDeployerPlugin.perform(WebSphereDeployerPlugin.java:245) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.model.Build$BuildExecution.post2(Build.java:186) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) at hudson.model.Run.execute(Run.java:1881) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:428) Caused by: java.lang.NoClassDefFoundError: org/eclipse/core/runtime/CoreException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at org.eclipse.wst.common.internal.emf.resource.EMF2DOMAdapterImpl.initChildTranslators(EMF2DOMAdapterImpl.java:386) at org.eclipse.wst.common.internal.emf.resource.EMF2DOMAdapterImpl.<init>(EMF2DOMAdapterImpl.java:295) at org.eclipse.wst.common.internal.emf.resource.EMF2DOMAdapterImpl.<init>(EMF2DOMAdapterImpl.java:272) at org.eclipse.wst.common.internal.emf.resource.EMF2DOMRenderer.createRootDOMAdapter(EMF2DOMRenderer.java:528) at org.eclipse.wst.common.internal.emf.resource.EMF2DOMRenderer.doLoad(EMF2DOMRenderer.java:331) at org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl.basicDoLoad(TranslatorResourceImpl.java:633) at org.eclipse.jst.j2ee.internal.xmltrim.XMLTrimResourceImpl.basicDoLoad(XMLTrimResourceImpl.java:231) at org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResourceImpl.doLoad(CompatibilityXMIResourceImpl.java:173) at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1094) at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:900) at org.eclipse.wst.common.internal.emf.resource.CompatibilityXMIResourceImpl.load(CompatibilityXMIResourceImpl.java:259) at org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl.load(TranslatorResourceImpl.java:589) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:249) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:264) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:390) at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.LoadStrategyImpl.getMofResource(LoadStrategyImpl.java:1181) at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.getMofResource(EARFileImpl.java:2992) at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ModuleFileImpl.getDeploymentDescriptorResource(ModuleFileImpl.java:258) at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.XmlBasedImportStrategyImpl.primLoadDeploymentDescriptor(XmlBasedImportStrategyImpl.java:75) at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.Ear12ImportStrategyImpl.loadDeploymentDescriptor(Ear12ImportStrategyImpl.java:142) at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.Ear12ImportStrategyImpl.importMetaData(Ear12ImportStrategyImpl.java:138) at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.getDeploymentDescriptor(EARFileImpl.java:760) at com.ibm.etools.commonarchive.impl.EARFileImpl.isEE5(EARFileImpl.java:1032) at com.ibm.etools.commonarchive.impl.EARFileImpl.patchXMIFiles(EARFileImpl.java:1018) at com.ibm.etools.commonarchive.impl.EARFileImpl.patchFiles(EARFileImpl.java:1004) at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.ArchiveImpl.initializeAfterOpen(ArchiveImpl.java:2577) at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EARFileImpl.initializeAfterOpen(EARFileImpl.java:1275) at org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveTypeDiscriminatorImpl.openSpecificArchive(ArchiveTypeDiscriminatorImpl.java:445) at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.RootEARFileDescriminatorImpl.openSpecificArchive(RootEARFileDescriminatorImpl.java:64) at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.RootEARFileDescriminatorImpl.openSpecificArchive(RootEARFileDescriminatorImpl.java:31) at org.eclipse.jst.j2ee.commonarchivecore.internal.helpers.ArchiveTypeDiscriminatorImpl.fullOpenArchive(ArchiveTypeDiscriminatorImpl.java:413) at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.RootEARFileDescriminatorImpl.fullOpenArchive(RootEARFileDescriminatorImpl.java:53) at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.CommonarchiveFactoryImpl.openEARFile(CommonarchiveFactoryImpl.java:1599) at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.CommonarchiveFactoryImpl.openEARFile(CommonarchiveFactoryImpl.java:1573) at com.ibm.etools.commonarchive.impl.CommonarchiveFactoryImpl.openEARFile(CommonarchiveFactoryImpl.java:617) at com.ibm.ws.management.application.client.AppInstallHelper.getArchive(AppInstallHelper.java:402) at com.ibm.ws.management.application.client.AppInstallHelper.getArchive(AppInstallHelper.java:270) at com.ibm.ws.management.application.client.AppInstallHelper.getEarFile(AppInstallHelper.java:215) at com.ibm.ws.management.application.client.AppInstallHelper.getAppDeploymentInfo(AppInstallHelper.java:562) at com.ibm.websphere.management.application.AppManagementFactory.readArchive(AppManagementFactory.java:135) ... 15 more Caused by: java.lang.ClassNotFoundException: org.eclipse.core.runtime.CoreException at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:543) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ... 57 more
      

            gpeters Greg Peters
            ahmed_lotfy Ahmed Lotfy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: