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 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.