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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content