ERROR [ExceptionUtil] ServerPeer[0] startService java.lang.NumberFormatException: For input string:

Solution Verified - Updated -

Issue

  • After trying to change the sucker password, the following error is received:
    ERROR [ExceptionUtil] ServerPeer[0] startService
    java.lang.NumberFormatException: For input string: "cleartextpassword"
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:449)
         at java.math.BigInteger.<init>(BigInteger.java:316)
         at org.jboss.messaging.util.SecurityUtil.decode(SecurityUtil.java:75)
         at org.jboss.jms.server.ServerPeer.startService(ServerPeer.java:310)
         ...
    
  • On EAP 5.1.1, I receive:
    ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Configured: 
    name=jboss.messaging:service=ServerPeer state=Instantiated mode=Manual requiredState=Configured
    java.lang.RuntimeException: Exception setting attribute SuckerPassword on mbean jboss.messaging:service=ServerPeer
         at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:170)
         at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:114)
         at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:58)
         at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:42)
    ...
    Caused by: java.lang.NumberFormatException: For input string: "W"
         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
         at java.lang.Integer.parseInt(Integer.java:449)
         at java.math.BigInteger.<init>(BigInteger.java:316)
         at org.jboss.messaging.util.SecurityUtil.decode(SecurityUtil.java:75)
         at org.jboss.jms.server.ServerPeer.setSuckerPassword(ServerPeer.java:826)
    ...
    

Environment

  • JBoss Enterprise Application Platform (EAP)

    • 4.3.0_CP09

    • 5.1

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