Remedy - Server - v9.x Troubleshooting the Carte process

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:

    BMC Remedy AR System Carte Server, Pentaho, Foundation Job



    QUESTION:

    List of some common Carte server problems.


    Note: Required logs for troubleshooting carte process related issues.
    - ar.conf/ ar.cfg
    - armonitor.conf/ armonitor.cfg
    - arjavaplugin.log
    - arcarte.log
    - arcarte-stderr-<date>.log
    - arcarte-stdout-<date>.log

     


    ANSWER:

     

    To be aware, the process responsible for loading the Carte server is as below depending if it is on a Linux/IUnix or Windows server.

      

    Linux/Unix -- in the armonitor.conf file:
    ....................... Example .......................
    /usr/java/jdk1.8.0_45/jre/bin/java  -Xmx1024m -cp /opt/bmc/ARSystem/diserver/data-integration:/opt/bmc/ARSystem/diserver/data-integra-tion/lib/*:/opt/bmc/ARSystem/diserver/data-integration/libext/*:/opt/bmc/ARSystem/diserver/data-integration/libext/webservices/*:/opt/bmc/ARSystem/diserver/data-integration/libext/web/*:/opt/bmc/ARSystem/diserver/data-integration/libext/salesforce/*:/opt/bmc/ARSystem/diserver/data-integration/libext/rules/*:/opt/bmc/ARSystem/diserver/data-integration/libext/pentaho/*:/opt/bmc/ARSystem/diserver/data-integration/libext/mondrian/*:/opt/bmc/ARSystem/diserver/data-integration/libext/jfree/*:/opt/bmc/ARSystem/diserver/data-integration/libext/JDBC/*:/opt/bmc/ARSystem/diserver/data-integration/libext/JDBC/asjava.zip:/opt/bmc/ARSystem/diserver/data-integration/libext/hive/*:/opt/bmc/ARSystem/diserver/data-integration/libext/feeds/*:/opt/bmc/ARSystem/diserver/data-integration/libext/commons/*:/opt/bmc/ARSystem/diserver/data-integration/libext/spring/*-Dorg.mortbay.util.URI.charset=UTF-8 -Djava.library.path= -DKETTLE_HOME=/opt/bmc/ARSystem/diserver -DKETTLE_REPOSITORY= -DKETTLE_USER= -DKETTLE_PASSWORD= -DKETTLE_PLUGIN_PACKAGES= -DKETTLE_LOG_SIZE_LIMIT= -DKETTLE_MAX_LOG_SIZE_IN_LINES=5000 org.pentaho.di.www.Carte <Server> 20000 -i /opt/bmc/ARSystem
    .....................................................................

    Windows -- in the armonitor.cfg file:
    ....................... Example .......................

    "C:\Program Files\Java\jre1.8.0_25\bin\java.exe" -Xmx1024m "-Djava.ext.dirs=C:\Program Files\Java\jre1.8.0_25\lib\ext;C:\Program Files\Java\jre1.8.0_25\lib;C:\Program Files\BMC Software\ARSystem8102\diserver\data-integration;C:\Program Files\BMC Software\ARSystem8102\diserver\data-integration\lib;C:\Program Files\BMC Software\ARSystem8102\diserver\data-integration\libext;C:\Program Files\BMC Software\ARSystem8102\diserver\data-integration\libext\JDBC;C:\Program Files\BMC Software\ARSystem8102\diserver\data-integration\libext\webservices;C:\Program Files\BMC Software\ARSystem8102\diserver\data-integration\libext\spring;C:\Program Files\BMC Software\ARSystem8102\diserver\data-integration\libext\commons;C:\Program Files\BMC Software\ARSystem8102\diserver\data-integration\libext\web;C:\Program Files\BMC Software\ARSystem8102\diserver\data-integration\libext\pentaho;C:\Program Files\BMC Software\ARSystem8102\diserver\data-integration\libext\mondrian;C:\Program Files\BMC Software\ARSystem8102\diserver\data-integration\libext\salesforce" "-Dorg.mortbay.util.URI.charset=UTF-8" "-DKETTLE_HOME=C:\Program Files\BMC Software\ARSystem8102\diserver" "-DKETTLE_REPOSITORY=" "-DKETTLE_USER=" "-DKETTLE_PASSWORD=" "-DKETTLE_PLUGIN_PACKAGES=" "-DKETTLE_LOG_SIZE_LIMIT=" "-DKETTLE_MAX_LOG_SIZE_IN_LINES=5000" org.pentaho.di.www.Carte<Server> 20000 -i "C:\Program Files\BMC Software\ARSystem8102"
    .....................................................................



    1. The Carte process does not start  and throws the below error in arcarte.log or on shell.
    ...............................
    (c) Copyright 2012 BMC Software, Inc.
    Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
            at java.lang.String.substring(String.java:1955)
            at org.pentaho.di.www.Properties.load(ARCarte.java:41)
            at org.pentaho.di.www.ARCarte.loadRAppPasswords(ARCarte.java:57)
            at org.pentaho.di.www.Carte.main(Carte.java:174)
    ...............................

    Solution: Collect the ar.conf /ar.cfg file and check for each parameter whether it includes below:
    - parameter that is missing (colon) ":" for separating key and value.
    - parameter that is invalid and not commented.
    - parameter that is duplicated.
    Ex:
    - parameter with missing colon ":" ->
    >   Incorrect Entry ----    Private-RPC-Socket 390680 2 4
    >   Correct Entry ----   Private-RPC-Socket390680 2 4

    - parameter that is invalid and not commented ->
    To Disable a parameter or add Comments in the ar.conf/ar.cfg file the line needs to be preceeded by "#"
    Having "#" the application will ignore this line otherwise it will try to interpret it and can result in an error or the application failing somewhere.


    - Parameters duplicated ->
    Ex:
    Private-RPC-Socket: 390680
    Private-RPC-Socket: 390680
    --- Remove the duplicated entry ---



    2. If in ar.cfg/ ar.conf if any entry has /u  then in arcarte-stderr-<date>.log we get below error:
    ...................
    Exception in thread "main" java.lang.IllegalArgumentException: Malformed 
    \uxxxx encoding.

    at java.util.Properties.loadConvert(Unknown Source)
    at java.util.Properties.load0(Unknown Source)
    at java.util.Properties.load(Unknown Source)
    at org.pentaho.di.www.ARCarte.loadRAppPasswords(Unknown Source)
    at org.pentaho.di.www.Carte.runCarte(Unknown Source)
    at org.pentaho.di.www.Carte.main(Unknown Source)
    ...................

    Reason and Solution:  The carte process does not recognize "\u" and so if there is any entry in ar.cfg/ar.conf that contains "\u", the error will be thrown. Remove it.



    3. If you get below error in arcarte.log:
    ...........................
    ERROR 28-03 14:59:26,826 - Carte - Failed to start webserver : Address already in use
    ERROR 28-03 14:59:26,826 - Carte - java.net.BindException: Address already in use
    java.net.PlainSocketImpl.socketBind(Native Method)
    java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
    java.net.ServerSocket.bind(ServerSocket.java:319)
    java.net.ServerSocket.<init>(ServerSocket.java:185)
    java.net.ServerSocket.<init>(ServerSocket.java:141)
    org.mortbay.jetty.bio.SocketConnector.newServerSocket(SocketConnector.java:80)
    org.mortbay.jetty.bio.SocketConnector.open(SocketConnector.java:73)
    org.mortbay.jetty.AbstractConnector.doStart(AbstractConnector.java:283)
    org.mortbay.jetty.bio.SocketConnector.doStart(SocketConnector.java:147)
    org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    org.mortbay.jetty.Server.doStart(Server.java:235)
    org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    org.pentaho.di.www.WebServer.startServer(Unknown Source)
    org.pentaho.di.www.WebServer.<init>(Unknown Source)
    org.pentaho.di.www.Carte.<init>(Unknown Source)
    org.pentaho.di.www.Carte.runCarte(Unknown Source)
    org.pentaho.di.www.Carte.main(Unknown Source)
    ...........................

    Reason and Solution: The above can be because the port that is used by carte server is already in use or some other application is listening on the specified port.
    Change the carte port or engage the Network team to find what is using the port.


     

     


    Article Number:

    000102263


    Article Type:

    FAQ/Procedural



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