JBoss ON provisioning bundle creation fails with NumberFormatException when bundle version contains a number larger then 2147483647

Solution Unverified - Updated -

Issue

  • JON Bundle Version Handling
  • We noticed an issue when we create a bundle with the version number 1.4.11.201301010918
  • We need to be able to create bundles with the version format that includes a timestamp such as 20130101120000 or any value larger then java.lang.Integer.MAX_VALUE of 2147483647

Environment

  • JBoss Operations Network (ON) 3.1.1, 3.1.2
  • Provisioning bundle with a deployment descriptor containing an rhq-bundle element version attribute value which includes a numeric portion larger then 2147483647. For instance:

    ...
      <rhq:bundle name="ui-files"
                  version="1.23.45.201302281659"
                  description="my test application to deploy.">
          <rhq:deployment-unit name="StaticFiles" manageRootDir="false">
    ...
    

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.