Troubleshooting

 

Some of the problems that you might encounter during the course of MBean configuration and management are listed below. The cause of the snag and the key to its resolution are offered to prevent you from facing a deadlock.

 

  1. Problem: The product does not get installed while executing the binary or the exe file.
    Cause
    : When the JDK set in the environment path is corrupted, the installation process cannot be invoked.
    Solution
    : Run the binary or the exe file as mentioned below with a valid Java Home as the argument:

    For Linux and Solaris
    :

    ./binfile.bin -is:javahome <JREHOME>

     

    For Windows:

    binfile.exe -is:javahome <JREHOME>

     

  2. Problem: When any WAR/EAR file is deployed in WebLogic 7.0, the following exception is thrown:

    "weblogic.management.NoAccessRuntimeException:"

     

    Cause: Users might not have permission to invoke certain operations in the WebLogic server.

    Solution: Specify the system variable -Dweblogic.disableMBeanAuthorization=true while starting WebLogic Server 7.0.

  1. Problem: Error message while setting an attribute of RequiredModelMBean through SNMP in JMX RI.
    Cause
    : In RequiredModelMBean, whenever an attribute is set, an AttributeChangeNotification is emitted. When there are no AttributeChangeNotification listeners registered with RequiredModelMBean, emission of the notification fails. Hence the error message while setting the attribute.
    Solution
    : Register an AttributeChangeNotification listener to the corresponding RequiredModelMBean using the addAttributeChangeNotificationListener method.

  1. Problem: For Linux systems, unable to view the jbossPerformance scalar group and the Process table in WebNMS JBoss MIB.
    Cause 1
    : By default, the view access to Host-Resources-MIB is not provided in the file snmpd.conf under /etc/snmp/
    Solution 1
    : Verify if the view access to mib-2 is set in the file snmpd.conf. If not, enable view access to mib-2 as follows:

    Default Settings

    # Third, create a view for us to let the group have rights to:
     

    #       name           incl/excl     subtree         mask(optional)

    view    systemview     included      system

     

     

    # Finally, grant the group read-only access to the systemview view.
     

    #       group          context sec.model sec.level prefix read   write  notif

    access  notConfigGroup ""      any       noauth    exact  systemview none none

     

Modified Settings

  1. Problem: Exception occurs while connecting to the JBoss 3.x or JBoss 4.x application servers.
    Cause
    : If the JBoss version chosen is 4.x in the SNMP Configuration wizard and if JBoss 3.x version jars are placed inside the jars/jboss directory, this problem occurs. Similarly, if the version 3.x is chosen in the SNMP Configuration wizard and if 4.x version jars are placed inside the jars/jboss directory, this problem will occur.
    Solution
    : Ensure that the correct version of JBoss jars are placed inside the jars/jboss directory.
  1. Problem: Error while connecting to the weblogic server, version equal to or higher than 8.1 SP 5.
    Cause
    : In WebLogic server, in releases prior to Weblogic 8.1 sp5, the default value of "AnonymousAdminLookupEnabled" attribute of the domain is set "true". But from Weblogic 8.1 sp5 onwards , its default value has been changed to "false"
    Solution
    : Before starting the server, edit the server startup file (i.e)/samples/domains/wl_server/bin/ startWebLogic.sh and add the following system variable while starting the server "-Dweblogic.management.anonymousAdminLookupEnabled=true". OR set thisvariable value after starting the server. Open the WebBrowser at http://localhost:7001/console. Provide the required credentials for the login. In the main page, click on the 'domain'. Select "View Domain-wide Security Settings" and select the "Anonymous Admin Lookup Enabled" checkbox. Please restart the server for the the attribute change to take effect.
  1. Problem: Error while connecting to Weblogic 9.2 in SNMP Configuration Wizard.
    Cause
    :When the wrong JDK version, i.e., if the JDK version 1.4.x is used instead of JDK 1.5.x, this problem occurs.
    Solution
    :Set JAVA_HOME to JDK1.5 and restart the SNMP Configuration Wizard and connect again
 

Copyright © 2009, ZOHO Corp. All Rights Reserved.