[JON] Failed to create package in repository due to "The version part of '[sha256=<sha256 hash>]' isn't an OSGi version string"

Solution Unverified - Updated -

Issue

  • Can not import CLI script to created repository
  • Try to upload .js to repository results in the following exception:

    Failed to create package [mypackage.js] in repository. Cause: javax.ejb.EJBException:org.rhq.enterprise.server.plugin.pc.content.PackageDetailsValidationException: The version part of '[sha256=4e6fac41c12242f199a9aa82eab29e40b827e688da1f2210838545783137a5da]' isn't an OSGi version string.
    
  • Unable to add new package to repository due to OSGi version string error

Environment

  • JBoss Operations Network (JON) 3.1
  • Creation of package content in JON repository (Administration > Content / Repositories > <Repository>)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.