Remedy - Server - ARS does not start - Error:"Fail to parse the display property for vui "VUI_NAME" on the form {SCHEMA_ID}" and "java.lang.NumberFormatException: For input string: "??" "

Version 2
    Share:|

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    Remedy AR System Server


    COMPONENT:

    AR System


    APPLIES TO:

    Remedy AR System Server v.9.1.x



    PROBLEM:

    The AR Server is not starting and the logs show the following errors.

    armonitor.log
    .................
    */ Thu Nov 02 19:11:40.608 2017 Establishing database connection...success
    */ Thu Nov 02 19:11:40.717 2017 Loading the AR Server configuration..success
    */ Thu Nov 02 19:11:46.389 2017
    Fail to parse the display property for vui "399990375" on the form 1911
    */ Thu Nov 02 19:11:46.467 2017 Application context refresh failed (OsgiBundleXmlApplicationContext(bundle=com.bmc.arsys.server, config=spring-context/base_context.xml,spring-context/infrastructure_septran_context.xml,spring-context/profiles/aspectj_ctw/application_context.xml,spring-context/osgi.xml))
    */ org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverInitializer' defined in URL [bundleentry://167.fwk1018547642/spring-context/application/domain/init_context.xml]: Invocation of init method failed; nested exception is
    java.lang.NumberFormatException: For input string: "??"
    */     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1568) ~[bundlefile:na]
    */     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:540) ~[bundlefile:na]
    */     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[bundlefile:na]
    */     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302) ~[bundlefile:na]
    --- etc ---
    */     at java.lang.Thread.run(Unknown Source) [na:1.8.0_92]
    */
    Caused by: java.lang.NumberFormatException: For input string: "??"
    */     at java.lang.NumberFormatException.forInputString(Unknown Source) ~[na:1.8.0_92]
    */     at java.lang.Long.parseLong(Unknown Source) ~[na:1.8.0_92]
    */     at java.lang.Long.<init>(Unknown Source) ~[na:1.8.0_92]
    */     at com.bmc.arsys.domain.value.impl.ValueImpl.<init>(ValueImpl.java:145) ~[na:na]
    */     at com.bmc.arsys.server.domain.util.decode.Decoder.decodeValue(Decoder.java:320) ~[na:na]
    */     at com.bmc.arsys.server.domain.util.decode.DisplayPropertyDecoder.decodeDisplayProperties(DisplayPropertyDecoder.java:94) ~[na:na]
    */     at com.bmc.arsys.server.domain.util.EncodeDecodeUtil.decodeDisplayPropertiesArray(EncodeDecodeUtil.java:249) ~[na:na]
    */     at com.bmc.arsys.server.persistence.dao.metadata.converter.impl.VuiConverter.toDomainInfo(VuiConverter.java:623) ~[na:na]
    --- etc ---
    */ Thu Nov 02 19:11:46.483 2017 Unable to create application context for [com.bmc.arsys.server], unsatisfied dependencies: none
    */ org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverInitializer' defined in URL [bundleentry://167.fwk1018547642/spring-context/application/domain/init_context.xml]: Invocation of init method failed; nested exception is java.lang.NumberFormatException: For input string: "??"
    */     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1568) ~[na:na]
    */     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:540) ~[na:na]
    */     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) ~[na:na]
    --- etc ---
    */
    Caused by: java.lang.NumberFormatException: For input string: "??"
    */     at java.lang.NumberFormatException.forInputString(Unknown Source) ~[na:1.8.0_92]
    */     at java.lang.Long.parseLong(Unknown Source) ~[na:1.8.0_92]
    */     at java.lang.Long.<init>(Unknown Source) ~[na:1.8.0_92]
    */     at com.bmc.arsys.domain.value.impl.ValueImpl.<init>(ValueImpl.java:145) ~[na:na]
    */     at com.bmc.arsys.server.domain.util.decode.Decoder.decodeValue(Decoder.java:320) ~[na:na]
    */     at com.bmc.arsys.server.domain.util.decode.DisplayPropertyDecoder.decodeDisplayProperties(DisplayPropertyDecoder.java:94) ~[na:na]
    */     at com.bmc.arsys.server.domain.util.EncodeDecodeUtil.decodeDisplayPropertiesArray(EncodeDecodeUtil.java:249) ~[na:na]
     */     at com.bmc.arsys.server.persistence.dao.metadata.converter.impl.VuiConverter.toDomainInfo(VuiConverter.java:623) ~[na:na]
    --- etc ---
    */ Thu Nov 02 19:11:46.483 2017 TID 101 initTransport  Normal ARServer shutdown process Initiated.
    */ Thu Nov 02 19:11:46.514 2017 Stopserver.await: accept
    */ java.net.SocketException: socket closed
    --- etc ---
    */     at java.net.ServerSocket.accept(Unknown Source) ~[na:1.8.0_92]
    */     at com.bmc.arsys.shutdown.ShutdownListener.run(ShutdownListener.java:103) ~[bundlefile:9.1.00-SNAPSHOT]
    */     at java.lang.Thread.run(Unknown Source) [na:1.8.0_92]
     */ Process Stopped with exit value: 1
    .................

     


    CAUSE:

    ARS is configured to use a unicode database but the configuration files don't have the parameters so the application can't decode the view from a specific language requiring unicode. The main reason is either being removed manually or old conf files used


    SOLUTION:

    Check the following:

    1- As per the example from the error above:
    ............
    Fail to parse the display property for vui "399990375" on the form 1911
    ............
    Checking in the Database using a Database client and running the SQL:
    SELECT name FROM arschema WHERE schemaid = 1911
    Note: depending the form schemaid received in the error the SQL above needs to be set accordingly.

    2- Having the form name, check running the SQL statement:
    SELECT label, proplong FROM field_dispprop WHERE schemaid={SCHEMA_ID asper the error} AND fieldid=0 AND vuiid={VUI_ID_as per the error}
    Example as per the error above:
    SELECT label, proplong FROM field_dispprop WHERE schemaid=1911 AND fieldid=0 AND vuiid=399990375 

    3- The proplong section will give an indication how many languages are installed. To better see this, copy the output into a text file since this data can be very long.
    Example:
    -------
    ....\168\40\1\169\40\1\201\2\107986\202\2\64108\203\40\0\205\40\1\206\4\15\アンケート\207\4\15\アンケート\208\4\15\アンケート\209\4\15\アンケート\213\4\122\20\401\3\402\3\403\3\404\3\405\2\406\3\407\3\408\3\409\3\410\3\411\3\412\3\413\3\414\3\415\2\416\3\417\2\418\3\419\3\420\3\215\40\1\251\6\0\252\6\0\256\4\0\\260\4\0\\261\6\0\264\6\0\265\4\0\\266\4\0\\267\
    4\0\\268\40\1\5026\4\0\\5027\4\0\\60019\4\0\\

    -------
    As per the above output it is understood the database and the application run with unicode settings but for some reason the application cannot decode the properties of a view which is set into languages which requires to be unicode.

    4- Check and make sure the application configuration files have the correct settings:
    - In the ar.cfg the following parameter needs to be present with unicode settings  -- Db-Character-Set: UTF-16, Db-Character-Set: UTF-8 ....

    - In the armonitor.cfg the required processes contain the parameter --unicode
      Parameters in the armonitor.cfg requiring the parameter are:
                "...\BMC Software\ARSystem\arplugin.exe"  --unicode -i "...\BMC Software\ARSystem" -m
                "...\BMC Software\ARSystem\arsvcdsp.exe"  --unicode -d "...\BMC Software\ARSystem" -m
                "...\BMC Software\AtriumCore\cmdb\server64\bin\arcmdbd.exe" --unicode -i "...\BMC Software\ARSystem" -m
                "...\BMC Software\AtriumCore\cmdb\server64\bin\arrecond.exe" --unicode -i "...\BMC Software\ARSystem" -m
                "...\BMC Software\BMCServiceLevelManagement\bin\slmbrsvc.exe" --unicode -d "...\BMC Software\ARSystem" -m

    - In the arserver.config file check that no multiple JVM options are listed for different languages.

    5- Start the AR Server.

    Note: The only reason these settings may be missing from the configuration files is either they were removed manually or possibly old backup files not having these parameters were used and replaced the existing ones.
    Remedy does not automatically edit the files adding or removing such parameters.

     


    Article Number:

    000144503


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles