6 Replies Latest reply on Jul 5, 2017 6:46 PM by David Chaszar

    Hello world manifest error

    David Chaszar Newbie

      My apologies if posted this twice - I'm trying to follow the steps outlined in the hello world program. Red Hat JBoss Fuse Hello-world | Red Hat Developers

       

      When I go to deploy the bundle I get an error message "Unable to retrieve the bundle details for deployment. Possible reason is a missing or invalid Manifest."

       

      Does anyone have any idea what I'm doing incorrectly?

       

      Here's the trace I get from the pom.xml:

       

      Internal error in maven-bundle-plugin (org.apache.felix:maven-bundle-plugin:3.2.0:bundle:default-bundle:package)

       

      org.apache.maven.plugin.MojoExecutionException: Internal error in maven-bundle-plugin

          at org.apache.felix.bundleplugin.ManifestPlugin.execute(ManifestPlugin.java:119)

          at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:387)

          at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:378)

          at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)

          at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:331)

          at org.eclipse.m2e.core.internal.embedder.MavenImpl$11.call(MavenImpl.java:1362)

          at org.eclipse.m2e.core.internal.embedder.MavenImpl$11.call(MavenImpl.java:1)

          at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:176)

          at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:112)

          at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1360)

          at org.sonatype.tycho.m2e.felix.internal.MavenBundlePluginConfigurator$1.build(MavenBundlePluginConfigurator.java:125)

          at org.eclipse.m2e.core.internal.builder.MavenBuilderImpl.build(MavenBuilderImpl.java:137)

          at org.eclipse.m2e.core.internal.builder.MavenBuilder$1.method(MavenBuilder.java:172)

          at org.eclipse.m2e.core.internal.builder.MavenBuilder$1.method(MavenBuilder.java:1)

          at org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod$1$1.call(MavenBuilder.java:115)

          at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:176)

          at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:112)

          at org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod$1.call(MavenBuilder.java:105)

          at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:176)

          at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151)

          at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:99)

          at org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod.execute(MavenBuilder.java:86)

          at org.eclipse.m2e.core.internal.builder.MavenBuilder.build(MavenBuilder.java:200)

          at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:735)

          at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

          at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)

          at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)

          at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:301)

          at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)

          at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:304)

          at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:360)

          at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:383)

          at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:144)

          at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)

          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

       

      Caused by: java.lang.IllegalStateException: Calc manifest failed, state=

       

      {pom.id=com.mycompany:camel-blueprint-cbr:bundle:1.0.0-SNAPSHOT, file.encoding.pkg=sun.io, org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JavaSE/compact1-1.8,JavaSE/compact2-1.8,JavaSE/compact3-1.8,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6,JavaSE-1.7,JavaSE-1.8, env.PROMPT=$P$G, osgi.framework=file:/c:/Users/z1234567/devstudio/studio/plugins/org.eclipse.osgi_3.11.3.v20170209-1843.jar, version.maven-bundle-plugin=3.2.0, java.home=C:\Program Files\Java\jdk1.8.0_121\jre, eclipse.application=org.eclipse.ui.ide.workbench, pom.contributors=[], org.eclipse.debug.ui.breakpoints.toggleFactoriesUsed=true, project.build.developers=[], project.description=Camel Content-Based Router Example, pom.pomFile=C:\Users\z1234567\JBOSS_studio_workspace\fuse-camel-cbr\pom.xml, java.endorsed.dirs=C:\Program Files\Java\jdk1.8.0_121\jre\lib\endorsed, project.build.groupId=com.mycompany, env.USERNAME=z1234567, sun.os.patch.level=Service Pack 1, java.vendor.url=http://java.oracle.com/, env.COMPUTERNAME=AAAAAAAB, env.=C:=C:\Users\z1234567\devstudio, pom.profiles=[], maven-symbolicname=com.mycompany.camel-blueprint-cbr, java.version=1.8.0_121, osgi.compatibility.bootdelegation.default=true, osgi.os=win32, osgi.compatibility.bootdelegation=true, org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info, org.osgi.framework.uuid=8f3a4aa1-fbbb-4494-a5ad-ad60547cbe03, project.build.contributors=[], osgi.splashPath=platform:/base/plugins/com.jboss.devstudio.core, java.vendor.url.bug=http://bugreport.sun.com/bugreport/, env.USERPROFILE=C:\Users\z1234567, pom.description=Camel Content-Based Router Example, env.SITESERVER=webmail-na.siemens.net, user.name=z1234567, org.osgi.framework.version=1.8.0, project.build.pomFile=C:\Users\z1234567\JBOSS_studio_workspace\fuse-camel-cbr\pom.xml, sun.io.unicode.encoding=UnicodeLittle, org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.nimbus,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.spi.http,javax.xml.ws.wsaddressing,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers, sun.jnu.encoding=Cp1252, java.runtime.name=Java(TM) SE Runtime Environment, project.build.outputdirectory=C:\Users\z1234567\JBOSS_studio_workspace\fuse-camel-cbr\target\classes, env.LOCALAPPDATA=C:\Users\z1234567\AppData\Local, env.WINDOWS_TRACING_LOGFILE=C:\BVTBin\Tests\installpackage\csilogfile.log, applicationXMI=org.eclipse.ui.workbench/LegacyIDE.e4xmi, env.COMMONPROGRAMW6432=C:\Program Files\Common Files, osgi.instance.area.default=file:/C:/Users/z1234567/workspace/, eclipse.launcher.name=Devstudio, eclipse.product=com.jboss.devstudio.core.product, project.version=1.0.0-SNAPSHOT, java.specification.name=Java Platform API Specification, org.osgi.supports.framework.fragment=true, osgi.framework.useSystemProperties=true, user.timezone=America/Chicago, org.osgi.framework.system.capabilities=osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0, 1.1, 1.2",osgi.ee; osgi.ee="JRE"; version:List<Version>="1.0, 1.1",osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8",osgi.ee; osgi.ee="JavaSE/compact1"; version:List<Version>="1.8",osgi.ee; osgi.ee="JavaSE/compact2"; version:List<Version>="1.8",osgi.ee; osgi.ee="JavaSE/compact3"; version:List<Version>="1.8", pom.mailingLists=[], osgi.nl=en_US, user.script=, path.separator=;, project.contributors=[], pom.artifactId=camel-blueprint-cbr, env.PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 78 Stepping 3, GenuineIntel, project.name=Fuse CBR Quickstart, file.encoding=Cp1252, osgi.arch=x86_64, env.APPLOGSU=C:\Users\z1234567\AppData\Local\Siemens\Applications, sun.java.command=C:\Users\z1234567\devstudio\\studio\\plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar -os win32 -ws win32 -arch x86_64 -showsplash -launcher C:\Users\z1234567\devstudio\\studio\devstudio.exe -name Devstudio --launcher.library C:\Users\z1234567\devstudio\\studio\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.401.v20161122-1740\eclipse_1617.dll -startup C:\Users\z1234567\devstudio\\studio\\plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar --launcher.overrideVmargs -exitdata 1968_98 -product com.jboss.devstudio.core.product -vm C:\Program Files\Java\jdk1.8.0_121\bin\javaw.exe -vmargs -Xms512m -Xmx1024m -Dosgi.framework.extensions=org.eclipse.wst.jsdt.nashorn.extension -Dosgi.instance.area.default=@user.home/workspace -jar C:\Users\z1234567\devstudio\\studio\\plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar, env.NUMBER_OF_PROCESSORS=4, env.APPDATA=C:\Users\z1234567\AppData\Roaming, org.osgi.supports.framework.requirebundle=true, project.id=com.mycompany:camel-blueprint-cbr:bundle:1.0.0-SNAPSHOT, env.WINDIR=C:\WINDOWS, osgi.bundles.defaultStartLevel=4, env.APPLOGSC=C:\WINDOWS\Logs\Siemens\Applications, osgi.bundles=org.eclipse.wst.jsdt.nashorn.extension,reference:file:org.eclipse.equinox.simpleconfigurator_1.1.200.v20160504-1450.jar@1:start, Export-Package=, Bundle-License=http://www.apache.org/licenses/LICENSE-2.0.html, java.io.tmpdir=C:\Users\z1234567\AppData\Local\Temp\, project.build.mailingLists=[], org.osgi.framework.os.name=Windows7, equinox.use.ds=true, user.language=en, Include-Resource=log4j.properties=src/main/resources/log4j.properties,OSGI-INF/blueprint/blueprint.xml=src/main/resources/OSGI-INF/blueprint/blueprint.xml, line.separator=

       

      , project.build.directory=C:\Users\z1234567\JBOSS_studio_workspace\fuse-camel-cbr\target, org.eclipse.swt.internal.deviceZoom=100, env.COMMONPROGRAMFILES=C:\Program Files\Common Files, org.osgi.framework.processor=x86-64, java.vm.info=mixed mode, osgi.splashLocation=c:\Users\z1234567\devstudio\studio\configuration\org.eclipse.equinox.launcher\com.jboss.devstudio.core_10.4.0.GA-v20170511-1748-B62\splash.bmp, sun.desktop=windows, java.vm.specification.name=Java Virtual Machine Specification, project.reporting.outputEncoding=UTF-8, project.modelEncoding=UTF-8, project.build.id=com.mycompany:camel-blueprint-cbr:bundle:1.0.0-SNAPSHOT, env.PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC, guice.disable.misplaced.annotation.check=true, env.USERDOMAIN_ROAMINGPROFILE=AD001, eclipse.vm=C:\Program Files\Java\jdk1.8.0_121\bin\javaw.exe, project.build.licenses=[org.apache.maven.model.License@73473e93], pom.modelVersion=4.0.0, project.licenses=[org.apache.maven.model.License@73473e93], env.LOGONSERVER=\\USLZUADC02A, env.PSMODULEPATH=C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\, project.developers=[], osgi.configuration.area=file:/C:/Users/z1234567/devstudio/studio/configuration/, java.awt.printerjob=sun.awt.windows.WPrinterJob, -removeheaders=Include-Resource,Private-Package, env.PUBLIC=C:\Users\Public, pom.version=1.0.0-SNAPSHOT, env.USERDOMAIN=AD001, osgi.ws=win32, aether.connector.userAgent=m2e/3.11.3.v20170209-1843/1.7.1.20161104-1805/1.8.0_121, -plugin=org.apache.felix.bundleplugin.BlueprintPlugin,aQute.lib.spring.SpringXMLType,org.apache.felix.bundleplugin.JpaPlugin, project.mailingLists=[], env.DISTRIBUTIONPOINT=\\ww017.siemens.net\dfs\GAIN\LSDP_W7\WIN7PKG, pom.packaging=bundle, env.PROCESSOR_LEVEL=6, env.PROGRAMFILES(X86)=C:\Program Files (x86), Bundle-Description=Camel Content-Based Router Example, equinox.init.uuid=true, org.osgi.supports.framework.extension=true, eclipse.p2.data.area=@config.dir/../p2/, osgi.framework.extensions=org.eclipse.wst.jsdt.nashorn.extension, camel.version=2.17.0.redhat-630187, project.projectDirectory=C:\Users\z1234567\JBOSS_studio_workspace\fuse-camel-cbr, gosh.args=--nointeractive, org.osgi.framework.language=en, os.name=Windows 7, project.build.modelVersion=4.0.0, eclipse.home.location=file:/C:/Users/z1234567/devstudio/studio/, java.specification.vendor=Oracle Corporation, eclipse.vmargs=-Xms512m

       

      -Xmx1024m

       

      -Dosgi.framework.extensions=org.eclipse.wst.jsdt.nashorn.extension

       

      -Dosgi.instance.area.default=@user.home/workspace

       

      -jar

       

      C:\Users\z1234567\devstudio\\studio\\plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar

       

      , env.TMP=C:\Users\z1234567\AppData\Local\Temp, java.vm.name=Java HotSpot(TM) 64-Bit Server VM, org.jboss.tools.resolved.remote.properties=examples.categories.url|devstudio|10=http://download.jboss.org/jbosstools/examples/4/4/project-examples-category-devstudio.xml

       

      =======

       

      jboss.central.webpage.url|devstudio|10=https://repository.jboss.org/nexus/service/local/artifact/maven/redirect?r=public-jboss&g=org.jboss.tools.central&a=jbosstools-central-webpage&v=2.0.0-SNAPSHOT&e=zip&mustEndWith=.zip

      maven.examples.url|devstudio|10=http://download.jboss.org/jbosstools/examples/4/4/project-examples-devstudio.xml

      jboss.discovery.directory.url|devstudio|10=https://devstudio.redhat.com/10.0/stable/updates/discovery.earlyaccess/10.4.0.GA/devstudio-directory.xml

      jboss.discovery.site.url|devstudio|10=https://devstudio.redhat.com/10.0/stable/updates/

      jboss.discovery.earlyaccess.site.url|devstudio|10=https://devstudio.redhat.com/10.0/stable/updates/discovery.earlyaccess/

      jboss.discovery.site.integration-stack.url|devstudio|10=https://devstudio.redhat.com/10.0/stable/updates/integration-stack/discovery/

      jboss.fuse.extras.site.feature=org.fusesource.ide.sap.feature.feature.group

      jboss.discovery.site.integration-stack-sap.url|devstudio|10=https://devstudio.redhat.com/10.0/stable/updates/integration-stack/extras/

      openshift.userdoc.url=http://tools.jboss.org/documentation/howto/openshift3_getting_started.html

      buzz.feed.url=http://planet.jboss.org/feeds/buzz

      jboss.discovery.earlyaccess.list.url|devstudio|10=https://devstudio.redhat.com/10.0/stable/updates/discovery.earlyaccess/10.4.0.GA/devstudio-earlyaccess.properties

      quickstarts.search.query=http://dcp2.jboss.org/v2/rest/search?size=500&content_provider=jboss-developer&content_provider=rht&field=target_product&field=github_repo_url&field=sys_description&field=sys_title&field=sys_tags&field=sys_type&field=experimental&field=git_download&field=prerequisites&field=quickstart_id&field=git_tag&field=git_commit&sys_type=quickstart

      community.examples.url|devstudio|10=http://download.jboss.org/jbosstools/examples/4/4/project-examples-empty.xml

      jboss.discovery.site.integration-stack-sap.feature=org.fusesource.ide.sap.feature.feature.group

      jboss.discovery.earlyaccess.site.integration-stack.url|devstudio|10=https://devstudio.redhat.com/10.0/stable/updates/integration-stack/discovery/earlyaccess/

      featured.examples.url|devstudio|10=http://download.jboss.org/jbosstools/examples/4/4/project-examples-shared.xml

      portal.examples.url|devstudio|10=http://download.jboss.org/gatein/quickstarts/jboss-portal-6.2/project-examples-jboss-portal6.2-jbds8.0-001.xml

      , env.OS=Windows_NT, eclipse.buildId=10.4.0.GA-v20170511-1748-B62, java.library.path=C:\Program Files\Java\jdk1.8.0_121\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D:\Users\JavaDownloads\apache-maven-3.5.0\bin;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Java\jre1.8.0_131\bin;., project.build.build=org.apache.maven.model.Build@504c457e, env.PROGRAMW6432=C:\Program Files, env.PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D:\Users\JavaDownloads\apache-maven-3.5.0\bin;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Java\jre1.8.0_131\bin, pom.build=org.apache.maven.model.Build@504c457e, eclipse.commands=-os

      win32

      -ws

      win32

      -arch

      x86_64

      -showsplash

      -launcher

      C:\Users\z1234567\devstudio\\studio\devstudio.exe

      -name

      Devstudio

      --launcher.library

      C:\Users\z1234567\devstudio\\studio\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.401.v20161122-1740\eclipse_1617.dll

      -startup

      C:\Users\z1234567\devstudio\\studio\\plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar

      --launcher.overrideVmargs

      -exitdata

      1968_98

      -product

      com.jboss.devstudio.core.product

      -vm

      C:\Program Files\Java\jdk1.8.0_121\bin\javaw.exe

      , m2e.version=1.7.1, java.class.version=52.0, osgi.syspath=c:\Users\z1234567\devstudio\studio\plugins, project.build.version=1.0.0-SNAPSHOT, org.eclipse.equinox.launcher.splash.location=c:\Users\z1234567\devstudio\studio\configuration\org.eclipse.equinox.launcher\com.jboss.devstudio.core_10.4.0.GA-v20170511-1748-B62\splash.bmp, pom.projectDirectory=C:\Users\z1234567\JBOSS_studio_workspace\fuse-camel-cbr, project.modelVersion=4.0.0, env.HOMEDRIVE=C:, env.SYSTEMROOT=C:\WINDOWS, osgi.instance.area=file:/C:/Users/z1234567/JBOSS_studio_workspace/, osgi.install.area=file:/C:/Users/z1234567/devstudio/studio/, env.COMSPEC=C:\WINDOWS\system32\cmd.exe, Bundle-SymbolicName=fuse-camel-cbr, sun.boot.library.path=C:\Program Files\Java\jdk1.8.0_121\jre\bin, project.build.sourceEncoding=UTF-8, env.SYSTEMDRIVE=C:, Private-Package=!*, project.build.artifactId=camel-blueprint-cbr, env.PROCESSOR_REVISION=4e03, sun.management.compiler=HotSpot 64-Bit Tiered Compilers, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, user.variant=, pom.name=Fuse CBR Quickstart, env.EMET_SETTINGS=Jan 28 2016 @ 17:44:54; PID: 0xa4/164; ReportingSettings:6; ExploitAction:1; DEP:1; SEHOP:2; NullPage:1; HeapSpray:0; EAF:1; EAF+:0; MandatoryASLR:1; BottomUpASLR:1; StackPivot:1; Caller:1; LoadLib:1; MemProt:1; DeepHooks:1; BannedFunctions:1; AntiDetours:1; SimExecFlow:1=2/15; ASR:0; , env.SMARTSTORAGEPATH=syncplicity\z1234567, pom.developers=[], project.build=org.apache.maven.model.Build@504c457e, env.DEFAULTSCREENSAVER=scrnsave.scr, eclipse.stateSaveDelayInterval=30000, env.UCMSVERSION=1.20.0.12, product.home=/C:/Users/z1234567/devstudio/studio/plugins/org.jboss.tools.common.model_3.8.4.v20170316-1803/, env.MOSAIC_SWPROFILE=\\ww017.siemens.net\DFS\gain\Custom_Root$\_mosaic\SWI, project.baseDir=C:\Users\z1234567\JBOSS_studio_workspace\fuse-camel-cbr, project.build.name=Fuse CBR Quickstart, env.PROGRAMFILES=C:\Program Files, java.vm.specification.version=1.8, project.build.description=Camel Content-Based Router Example, project.groupId=com.mycompany, Bundle-Version=1.0.0.SNAPSHOT, env.PROGRAMDATA=C:\ProgramData, awt.toolkit=sun.awt.windows.WToolkit, project.build.profiles=[], sun.cpu.isalist=amd64, env.SMSSITECODE=IA0, project.profiles=[], org.eclipse.update.reconcile=false, java.ext.dirs=C:\Program Files\Java\jdk1.8.0_121\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext, Import-Package=*, os.version=6.1, eclipse.launcher=C:\Users\z1234567\devstudio\\studio\devstudio.exe, user.home=C:\Users\z1234567, env.DESKTOP=C:\Users\z1234567\Desktop, java.vm.vendor=Oracle Corporation, org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog, env.JAVA_HOME=C:\Program Files\Java\jdk1.8.0_121, env.USERDNSDOMAIN=AD001.SIEMENS.NET, user.dir=C:\Users\z1234567\devstudio, project.build.modelEncoding=UTF-8, org.osgi.framework.os.version=6.1.0, osgi.framework.shape=jar, env.COMMONPROGRAMFILES(X86)=C:\Program Files (x86)\Common Files, env.FP_NO_HOST_CHECK=NO, sun.cpu.endian=little, env.SMARTSTORAGEDRIVE=D:, env.ALLUSERSPROFILE=C:\ProgramData, pom.licenses=[org.apache.maven.model.License@73473e93], project.dir=C:\Users\z1234567\JBOSS_studio_workspace\fuse-camel-cbr, jboss.fuse.bom.version=6.3.0.redhat-187, classifier=, eclipse.startTime=1498586967602, env.PROCESSOR_ARCHITECTURE=AMD64, java.vm.version=25.121-b13, java.class.path=C:\Users\z1234567\devstudio\\studio\\plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar, env.HOMEPATH=\Users\z1234567, env.UATDATA=C:\Windows\SysWOW64\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77, os.arch=amd64, eclipse.p2.profile=devstudio, project.build.projectDirectory=C:\Users\z1234567\JBOSS_studio_workspace\fuse-camel-cbr, env.SESSIONNAME=Console, env.WINDOWS_TRACING_FLAGS=3, sun.java.launcher=SUN_STANDARD, org.osgi.framework.vendor=Eclipse, project.packaging=bundle, osgi.tracefile=C:\Users\z1234567\JBOSS_studio_workspace\.metadata\trace.log, java.vm.specification.vendor=Oracle Corporation, file.separator=\, java.runtime.version=1.8.0_121-b13, project.pomFile=C:\Users\z1234567\JBOSS_studio_workspace\fuse-camel-cbr\pom.xml, sun.boot.class.path=C:\Program Files\Java\jdk1.8.0_121\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\rt.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_121\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_121\jre\classes, project.build.packaging=bundle, env.TEMP=C:\Users\z1234567\AppData\Local\Temp, project.artifactId=camel-blueprint-cbr, osgi.frameworkClassPath=., file:c:/Users/z1234567/devstudio/studio/plugins/org.eclipse.wst.jsdt.nashorn.extension_1.0.2.v201610280128.jar, user.country=US, env.LOGPATH=C:\WINDOWS\Logs\Siemens, pom.modelEncoding=UTF-8, osgi.logfile=C:\Users\z1234567\JBOSS_studio_workspace\.metadata\.log, org.eclipse.update.resolution_url=, -sourcepath=C:\Users\z1234567\JBOSS_studio_workspace\fuse-camel-cbr\src\main\java, pom.groupId=com.mycompany, java.vendor=Oracle Corporation, env.SMS_SERVERLOCATORPOINT=DEFTHP10001SMS.ww002.siemens.net, Bundle-Name=Camel Content-Based Router Example [fuse-camel-cbr], java.specification.version=1.8, sun.arch.data.model=64}

       

          at aQute.bnd.osgi.Analyzer.calcManifest(Analyzer.java:882)

          at aQute.bnd.osgi.Builder.build(Builder.java:105)

          at org.apache.felix.bundleplugin.BundlePlugin.buildOSGiBundle(BundlePlugin.java:972)

          at org.apache.felix.bundleplugin.ManifestPlugin.getAnalyzer(ManifestPlugin.java:249)

          at org.apache.felix.bundleplugin.ManifestPlugin.execute(ManifestPlugin.java:100)

          ... 34 more

       

      Caused by: java.util.zip.ZipException: invalid LOC header (bad signature)

          at java.util.zip.ZipFile.read(Native Method)

          at java.util.zip.ZipFile.access$1400(ZipFile.java:60)

          at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:717)

          at java.util.zip.ZipFile$ZipFileInflaterInputStream.fill(ZipFile.java:419)

          at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)

          at java.util.jar.Manifest$FastInputStream.fill(Manifest.java:441)

          at java.util.jar.Manifest$FastInputStream.readLine(Manifest.java:375)

          at java.util.jar.Manifest$FastInputStream.readLine(Manifest.java:409)

          at java.util.jar.Attributes.read(Attributes.java:376)

          at java.util.jar.Manifest.read(Manifest.java:199)

          at java.util.jar.Manifest.<init>(Manifest.java:69)

          at aQute.bnd.osgi.Jar.getManifest(Jar.java:225)

          at aQute.bnd.osgi.Analyzer.analyze(Analyzer.java:191)

          at aQute.bnd.osgi.Builder.analyze(Builder.java:385)

          at aQute.bnd.osgi.Analyzer.calcManifest(Analyzer.java:687)

       

          ... 38 more

        • 1. Re: Hello world manifest error
          Pulkit Chhabra Newbie

          Hi David,

           

          Are you using JBDS 10?

           

          Have you configured Maven within your JBDS?

           

          If no, then can you please set your maven path in Window -> preferences -> Maven -> User Settings.

           

          Which version of Maven are you using?

           

          Regards
          Pulkit

          • 2. Re: Hello world manifest error
            David Chaszar Newbie

            Yes it appears to be configured correctly.  I am using Maven 3.3.9.  Do I need to add an additional setting?

            • 3. Re: Hello world manifest error
              Pulkit Chhabra Newbie

              hi David,

               

              Your user settings should point to the "settings.xml" file and your local repository should point to the local ".m2/repository".

               

              If these settings are already configured for you. Can you go and check in your m2 directory if the jar of the project you are building is present or not?

               

              Also, can you try and deploy your application into karaf using "osgi:install" command instead of adding it like mentioned in the post and check the logs after that?

               

              Regards
              Pulkit

              • 4. Re: Hello world manifest error
                David Chaszar Newbie

                Hi Pulkit,

                 

                Yes the settings are pointing to settings.xml and the repository is pointing to .m2/repository.

                 

                I don't see the jar of the project installed in my .m2 directory.

                 

                Attaching all I have in my local .m2/settings.xml:

                 

                <settings>

                    <profiles>

                        <profile>

                            <id>my-profile</id>

                            <activation>

                                <activeByDefault>true</activeByDefault>

                            </activation>

                            <repositories>

                                <repository>

                                    <id>fusesource</id>

                                    <url>http://repo.fusesource.com/nexus/content/groups/public/</url>

                                    <snapshots>

                                        <enabled>false</enabled>

                                    </snapshots>

                                    <releases>

                                        <enabled>true</enabled>

                                    </releases>

                                </repository>

                               <repository>

                                    <id>fusesource.snapshot</id>

                                    <url>http://repo.fusesource.com/nexus/content/groups/public-snapshots/</url>

                                    <snapshots>

                                        <enabled>true</enabled>

                                    </snapshots>

                                    <releases>

                                        <enabled>false</enabled>

                                    </releases>

                                </repository>

                                <repository>

                                    <id>apache-public</id>

                                    <url>https://repository.apache.org/content/groups/public/</url>

                                    <snapshots>

                                        <enabled>true</enabled>

                                    </snapshots>

                                    <releases>

                                        <enabled>true</enabled>

                                    </releases>

                                </repository>

                            </repositories>

                        </profile>

                    </profiles>

                </settings>

                • 5. Re: Hello world manifest error
                  David Chaszar Newbie

                  My apologies, I'm using maven 3.5.0

                  • 6. Re: Hello world manifest error
                    David Chaszar Newbie

                    Ok, so I decided to clean out everything and reinstall. Now, I can't get JBOSS studio to install.  I get an error message that seems related to what I was getting above.  The odd thing is the hello world example works on my personal machine.

                     

                    An error occurred while collecting items to be installed session context was:(profile=devstudio, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Problems downloading artifact: osgi.bundle,org.eclipse.pde.ui.templates,3.6.0.v20160424-1948.Caused by:  java.util.zip.ZipException: invalid distance too far backApplication failed, log file location: C:\Users\zaaaaaaa\devstudio\studio\p2\director\configuration\1499291115633.log

                     

                    !SESSION 2017-07-05 17:34:40.431 -----------------------------------------------

                    eclipse.buildId=unknown

                    java.version=1.8.0_131

                    java.vendor=Oracle Corporation

                    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US

                    Framework arguments:  -roaming -r jar:file:///D:/Users/JavaDownloads/devstudio-integration-stack-10.3.0.GA-fuse-tooling-installer.jar!/devstudio,jar:file:///D:/Users/JavaDownloads/devstudio-integration-stack-10.3.0.GA-fuse-tooling-installer.jar!/devstudio-is -d C:\Users\z003puve\devstudio\studio -p devstudio -i com.jboss.devstudio.core.package,org.testng.eclipse.feature.group,org.eclipse.wst.common_core_EBZ511793.feature.patch.feature.group,com.jboss.devstudio.integration-stack.fuse.feature.feature.group -profileProperties org.eclipse.update.install.features=true

                    Command-line arguments:  -roaming -r jar:file:///D:/Users/JavaDownloads/devstudio-integration-stack-10.3.0.GA-fuse-tooling-installer.jar!/devstudio,jar:file:///D:/Users/JavaDownloads/devstudio-integration-stack-10.3.0.GA-fuse-tooling-installer.jar!/devstudio-is -d C:\Users\zaaaaaaa\devstudio\studio -p devstudio -i com.jboss.devstudio.core.package,org.testng.eclipse.feature.group,org.eclipse.wst.common_core_EBZ511793.feature.patch.feature.group,com.jboss.devstudio.integration-stack.fuse.feature.feature.group -profileProperties org.eclipse.update.install.features=true

                     

                    !ENTRY org.eclipse.equinox.p2.engine 4 4 2017-07-05 17:34:45.640

                    !MESSAGE An error occurred while collecting items to be installed

                    !SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2017-07-05 17:34:45.640

                    !MESSAGE session context was:(profile=devstudio, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).

                    !SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 0 2017-07-05 17:34:45.640

                    !MESSAGE Problems downloading artifact: osgi.bundle,org.eclipse.pde.ui.templates,3.6.0.v20160424-1948.

                    !STACK 0

                    java.util.zip.ZipException: invalid distance too far back

                        at java.util.zip.InflaterInputStream.read(Unknown Source)

                        at java.io.FilterInputStream.read(Unknown Source)

                        at org.eclipse.osgi.internal.signedcontent.DigestedInputStream.read(DigestedInputStream.java:121)

                        at org.eclipse.osgi.storage.StorageUtil.getBytes(StorageUtil.java:196)

                        at org.eclipse.osgi.storage.bundlefile.BundleEntry.getBytes(BundleEntry.java:94)

                        at org.eclipse.osgi.internal.signedcontent.SignedContentImpl$SignedContentEntryImpl.verify(SignedContentImpl.java:170)

                        at org.eclipse.osgi.internal.signedcontent.SignedContentFile.getSignedEntries(SignedContentFile.java:51)

                        at org.eclipse.equinox.internal.p2.artifact.repository.SignatureVerifier.verifyContent(SignatureVerifier.java:90)

                        at org.eclipse.equinox.internal.p2.artifact.repository.SignatureVerifier.verify(SignatureVerifier.java:61)

                        at org.eclipse.equinox.internal.p2.artifact.repository.SignatureVerifier.close(SignatureVerifier.java:108)

                        at org.eclipse.equinox.internal.provisional.p2.artifact.repository.processing.ProcessingStep.close(ProcessingStep.java:85)

                        at org.eclipse.equinox.internal.p2.artifact.processors.md5.MD5Verifier.close(MD5Verifier.java:83)

                        at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.reportStatus(SimpleArtifactRepository.java:1183)

                        at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:592)

                        at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:723)

                        at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.getArtifact(MirrorRequest.java:319)

                        at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transferSingle(MirrorRequest.java:288)

                        at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transfer(MirrorRequest.java:223)

                        at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perform(MirrorRequest.java:153)

                        at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:707)

                        at org.eclipse.equinox.internal.p2.artifact.repository.simple.DownloadJob.run(DownloadJob.java:63)

                        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)