Toll Free US: +1 888 720 9500
Intl: +1 925 924 9500

Applications Manager

Business Centric Application Monitoring

Chinese French Japanese Portuguese Spanish
Integrated Applications, Server and Database Monitoring Software
Success Stories
"We managed to save tens of thousands of dollars by switching from CA's Wily Introscope" - Bill Bohlen, Hallmark Channel. » Download Free Edition | 30-Day Trial

Troubleshooting

                               Product FAQ | General FAQ| License FAQ


Installation and Startup

  1. While installing the bin files in Linux machines, the installation program quits abruptly without any message.
  2. Applications Manager displays "Enter a proper AdventNet license file" during installation.
  3. I started the Applications Manager, but it quits stating "Port :9090 needed by Applications Manager is being used by some other application. Please free the port and restart Applications Manager."
  4. After running 'startApplicationsManager.sh', an error message "Failed to establish connection with web server. Gracefully shutting down Applications Manager" is shown.
  5. Having problems while starting Applications Manager in Debian machines.
  6. When trying to connect to the web client using http://hostname:9090, I get "Forbidden. You don't have permission to access / on this server." message. I've installed the product under /root.
  7. If Applications Manager is installed in a directory that contains non-english characters then product is not getting started.
  8. When I try and start the server from the dos prompt, I get the following message "could Not Find C:\ProgramFiles\AdventNet\ME\Appmanager\working\mysql\data\AMDB\STATSDATA*.* The system cannot find the file specified.
  9. When I try to start Applications Manager, it says ' Applications Manager is already running'. This happens even after, I have verified that Applications Manager is not running.
  10. When the Server is started in Linux Machines with root user and then when it is restarted as normal user, the Server doesn't get started.
  11. If you get the message "The server is currently starting up. This page will reload itself in 30 seconds, or you can click here to reload it now to display the login page. If this problem persists, please refer the troubleshooting section"
  12. When I try to access Applications Manager web client, I am getting the error "The Page cannot be displayed". I am not able to access any page in Applications Manager.
  13. While updating a service pack or a patch, I get a message "The ppm file that you have specified is not compatible with this product"
  14. How to update the Service Pack if Applications Manager's Server is a GUI-less linux server
  15. I am not able to perform any activity in Applications Manager Web Client. Why?
  16. Clicking on any link in Applications Manager goes back to Login Screen
  17. Applications Manager's time is different from my local time. How to reset it to my time?.
  18. In Linux, under Reports tab, I try to check the health details of all monitors. I get the following Java Exception: ErrorDispatcherValve[localhost]: Exception Processing
    ErrorPage[exceptionType=java.lang.Throwable, location=/jsp/ErrorPage.jsp]
    java.lang.ClassCastException: java.lang.NoClassDefFoundError
  19. Where do I find the log files that I need to send to technical support team for analysis?
  20. The ManageEngine® Applications Manager service is setup Automatic but not started. When I'm trying to start it up the following error message appears: "Could not start the ManageEngine Applications Manager service on local computer. Error 1075: The dependency service does not exist or has been marked for deletion".

Monitoring - General

  1. I deleted a monitor from my monitor group, still the monitor is monitored.
  2. While adding a new monitor, it says "Unable to get the Interface details. The IPAddress of the given system is ..".
  3. While adding a new monitor the following message is shown "Unable to add the system. Kindly check whether it is reachable..".
  4. When I click on 'View Monitor Details' link once creating a new monitor, sometimes I am asked to reconfigure the details of the monitor again though I have created them successfully.
  5. Problem during Data Collection or no performance data is displayed in my screens. Why?
  6. No reports generated for icons representing 7 and 30 days. Also, in Reports screen, on clicking any attribute for reports, it prompts with message, "No Data available to generate Reports for the specified time period".
  7. Scripts containing Java Programs,vbs scripts and other executable files works fine while running from the command prompt but gives error while monitoring them from applications manager.
  8. Not able to add monitors when the machine has a different locale and is not SNMP enabled.
  9. How do I set up a monitor for our Websphere instance running on an iSeries (as/400) using the OS/400 operating system?
  10. I get the following message, "Authentication failed. Kindly verify the username and password provided" while adding server, Microsoft .NET, Exchange server through WMI
  11. While monitoring windows applications like Microsoft .NET, Microsoft Exchange, I get "Error # The RPC server is unavailable". What should I do?
  12. Applications Manager is not adding the monitor that has SSH2 running

WebLogic Monitoring

  1. On discovering WebLogic server, a message is displayed stating, "Data collection yet to start. Please refresh this page after the data collection interval has elapsed".
  2. When I try to monitor WebLogic I get "Data collection yet to start" even after I added -Dweblogic.disableMBeanAuthorization=true to the WebLogic startup script?
  3. When I monitor weblogic server, I get the message "Applications Manager could not register to the Weblogic server for Data Collection" at the top. What should I do?.
  4. When I monitor the weblogic server, I get the message "Access to the weblogic MBean server is denied. Enable "-Dweblogic.management.anonymousAdminLookupEnabled=true -Dweblogic.disableMBeanAuthorization=true" in the weblogic startup file." What should I do?
  5. When I monitor the Weblogic server, I get the message, "Data Collection in progress. Please wait till the next poll interval". What should I do?
  6. I'm not able to add Weblogic Monitor. What could be the reason?
  7. Application Manager says, "There are no JMS servers deployed in this Weblogic Server." but JMS data is present in WebLogic Server. what is the problem?

WebSphere Monitoring

  1. I'm trying to monitor Websphere 6.X . I'm facing problem while adding the Websphere monitor.
  2. Applications Manager says, perfservlet is not installed, but perfservlet is present. What could be the problem?
  3. When I try to add the Websphere server, it gave an error message "service is not running" and monitor is not added ?
  4. Why some of the tables don't have any data or some of the fields have the value "NA" in the Websphere details page?

JBoss Monitoring

  1. While trying to monitor JBoss, I get the message "No JBDC Connection pools are configured for this Server".
  2. While trying to monitor JBoss I get error such as 'Unable to collect Data for <host name>' and I do not get JVM and EJB details.
  3. While trying to monitor JBoss I do not get JVM and EJB details and a message "Select the JBoss version. Edit Monitor to change the version." appears in the top

Tomcat Monitoring

  1. Discovering Tomcat server fails and it displays "AdventNet Agent has to be deployed for collecting the data from Tomcat Server".
  2. Some Tomcat Web applications are not monitored.
  3. I do not see the "Threads Availability" graph for my Tomcat Monitor.
  4. When I try to monitor a Tomcat 5.x server, I get the message "Authentication details are wrong".
  5. In Tomcat monitoring, some URLs/applications that are not present in my Tomcat are shown. Why does this occur?
  6. I have multiple Tomcat Servers and also a separate Apache Server running. In this scenario, I'm not able to discover or monitor a Tomcat Server.
  7. I am not able to collect data from tomcat server.
  8. I am not able to Monitor Tomcat on HP-UX servers
  9. How to configure Tomcat Monitor for JBoss 3.2.5 and above ?
  10. Manager Application needs to be running for collecting the data from Tomcat Server. How to enable Manager Application?

Oracle Applications Server Monitoring

  1. Oracle Application Server monitoring has stopped for our Oracle AS instance. What might be the problem
  2. In Oracle Applications server, the response summary graph is not coming (even though there is no response summary, we should be getting a graph with all 0s)

Microsoft .NET Monitoring

  1. Why am I getting the Troubleshoot link for the attributes shown in .NET monitor pages?

SAP Monitoring

  1. I'm getting this error when I try to get the SAP monitor:" Root Cause: Service port 3 not accessible from H0000952D ????Diagnose the Problem? Having trouble adding Monitors?..."

Database Monitoring

  1. While trying to discover Oracle Database server, it fails and prompts with some message.
  2. When I add a new Oracle Monitor, the monitor is added successfully but I see two Oracle Monitors added in the web client for the same Oracle server.
  3. I have set up monitoring of an Oracle database. The tablespace status and tablespace usage areas show no data or error.
  4. Oracle Server is running but when I try to add through Applications Manager it is saying "Service is not running".
  5. I tried adding oracle monitor, not able to add, it says "Permission denied".
  6. When adding a new MySQL monitor, i get a message "The MySQL Server is not accessible from the Applications Manager Server host.Kindly add permissions.......".
  7. Problem occurs while adding DB2 Monitor
  8. Problem occurs while adding MS SQL Monitor
  9. Why I can only view 100 MS SQL databases in Applications Manager?

Server Monitoring

  1. When I try to discover Windows machine, "Authentication failed. Kindly verify the user name and password provided" message is thrown, though I provided valid authentication details.
  2. While discovery is happening automatically, the servers fall under 'Unknown' category
  3. I'm not able to view the CPU Data while monitoring Linux systems in SNMP mode.
  4. I am not able to view the Data in SNMP mode - getting "No data Available" message. What should I do?
  5. I am not getting the data for Memory Utilization in Telnet or SSH mode for SUN Solaris server.
  6. I am not getting the data for Memory Utilization in Telnet or SSH mode for HP-UX server.
  7. I am not getting the data for CPU Utilization for servers (Linux, IBM AIX, SUN Solaris, HP-UX, FreeBSD) in Telnet or SSH mode
  8. I am not getting the data for Memory Utilization or DiskUtilization in Telnet or SSH mode for servers (Linux, IBM AIX, HP-UX, FreeBSD)
  9. I am not able to get the Process list for the server (Linux, IBM AIX, FreeBSD, HP-UX, SUN Solaris) in Telnet or SSH mode.
  10. How to find the response time of a system ?
  11. What are the services that should be running in remote windows machine while monitoring windows machines through WMI mode?
  12. "Authentication Failed or Access denied" message is shown, when trying to add the Server Monitor through WMI mode.
  13. When adding a Server Monitor through WMI mode, I get error like "RPC Server is not available".
  14. While trying to configure server monitor for a particular server I am getting the below error "Error # The RPC server is too busy to complete this operation".
  15. What are the services that should be running in remote windows machine while monitoring windows machines through SNMP mode?
  16. SNMP mode monitoring issues in SuSe Enterprise Server version 9
  17. Is it possible to do wildcard process monitoring? for eg., monitor a process www*, if any of the two or more processes (www1 OR www2) is available
  18. How do I update the server name in the database?
  19. How do I monitor a server, when ping is disabled between the applications manager and the server?
  20. Monitor response time is high?
  21. I'm having problems in disk utilization monitoring of file systems in HP-UX systems
  22. In Snapshot view of the SNMP Agent monitor, details for CPU, memory, and disk utilization are not shown.
  23. While trying to monitor the servers, I get "No data Available" for Disk I/O Statistics
  24. There seems to be a problem with "Disk IO Statistics" for Linux servers; on some hosts it seems to work, on others I get no values, or values that don't seem to change at all. Monitoring is done via SSH in all cases, also the "iostat" command is installed & working (as described in the troubleshooting tips). Operating systems are Debian Sarge and Ubuntu 6.06 (partly 64bit). What should I do?.
  25. I am not able to add Servers through SSH key based Authentication. What should be done?
  26. While monitoring windows server in WMI mode, my memory usage is showing wrong data?
  27. How to reconstruct the WMI classes?

Website Monitoring

  1. When I change the IP of a website to a new one, the URL monitor still pings the old IP
  2. Monitoring NTLM based URLs is not working

Service Monitoring

  1. In Service Monitoring, while trying to discover SNMP Agent running at 161, a message "Service is not running" is displayed.
  2. When I configure a Web Server to be monitored, I see that the system in which the Web Server runs is also added. Now, when I delete the system, the Web Server is also deleted. I would want to see only the Web Server.
  3. While adding Apache, IIS Monitor, message 'Service not running' is thrown
  4. I get this message while monitoring web services "Proxy setting updated. Please restart Applications Manager". What should be done?
  5. On adding a service to be monitored, I get a message "Service is not running" (or) some of my services that are being monitored generates false alerts.

Mail Server / Exchange Server Monitoring

  1. Why do the counters in the Exchange counters always show "NA"?

Script Monitoring

  1. When I try to add the script monitor, I get the error "Either the script does not exist or the given mode was wrong. Please verify it."
  2. Can I use QEngine 6.6 scripts for QEngine Script monitoring in ManageEngine Application Manager?

Custom Applications Monitoring

  1. While creating a new screen in Custom Application, I get a message "The SNMP Object Identifier specified is invalid or is not a 'Simple' type as specified by the 'Attribute Type' option."
  2. While adding a Custom Application Monitor, the WebLogic Model MBeans are not listed for configuration.
  3. Can I connect to the MBean Server of a JDK 1.5 Java Application ?
  4. I am unable to add an enterprise specific SNMP OID for monitoring.
  5. Clicking on the mib browser link takes to support page and shows an error message in linux
  6. If the MX4J / JDK 1.5 application requires certificates, what should I do?

Web Transactions Monitoring

  1. In WebLogic 8.1, web transaction monitoring is not working.
  2. While adding the Web Transaction Monitor I get the message 'Service is not running. Web Transaction Agent may not have been deployed. ' though I have deployed the agent in my application server
  3. The Web Transaction Monitor gets added successfully but in the details page I get the message 'No transaction data available'.
  4. Though there are repeated execution of URLs in the application server I don't find the data getting updated in the Applications Manager client.
  5. I have successfully enabled Web Transaction Monitor in JBoss server when server starts up by the run.bat file, but in the case if JBoss is installed as a Windows service using the JavaService executable (as explained in JBoss wiki), how can we plug the transaction agent in the server?

Alerts & Actions

  1. The severity of Availability of a monitor is shown as down, though the monitor is running fine.
  2. The status of Availability and Health of monitor group or monitor is unknown.
  3. I created actions and threshold but I don't receive any alerts based on them?
  4. Alerts are generated even when the value of the parameter is within acceptable limits? 
  5. Alerts are not generated and actions are not executed even when they are associated to an attribute of monitor?
  6. I did not receive any e-mails, though the alerts are generated.
  7. On clicking the Alerts tab, I get a message
    "[Exception n:/webclient/common/jsp/ TabComponent.jsp] null" what should I do?
  8. I cannot set an alert at the monitor group level for availability without setting an alert for critical levels. For individual monitors, it works fine and I can set an alert only for availabilty. But not at the group level.
  9. In Execute program action / script monitoring, while executing a .bat file with echo or rem, it fails. Also some commands like ftp are not working
  10. When I am Executing Programs from the Action(s) menu from Application Manager the program gives me this message. "The Program exited with code 1. The action Tomcat (Start) has been successfully executed". But nothing happens when I run the program. This is a batch file that I would like to use to start tomcat. The batch file works fine with I just click on it to execute it. Also I am having problems running other batch files from Application Manager.
  11. I have a machine that is running at very high CPU utilization, and it is generating dozens of emails per day. So I decided to temporarily remove the alert for this test by moving the actions out of the associated actions fields. However, I am continuing to receive alerts?
  12. I am not getting the alert even when the threshold limit is crossed. What needs to be done?
  13. My SMS alert message is truncated. What needs to be done?

Product - General

  1. While reporting a problem to the support team, what are the details that are required?
  2. Where does Applications Manager store the data? Is it possible to store the data in MS SQL or Oracle server
  3. How to back up Applications Manager data? Detail Procedure to migrate the Applications Manager to another machine with current configuration and historical data
  4. How to use my own MySQL instead of the MySQL bundled with Applications Manager?
  5. How to change the port that was given during Installation?
  6. How to View PDF reports in languages other than English?
  7. Using AppManager 7 on Slackware 10.2, I could not figure out where it was getting the ip for connecting to Mysql during startup (the second time, after the tables were created) which made it time out during the process
  8. Why I'm not able to see Shutdown button in Admin tab?
  9. When I look through the data values in the table below the chart, I see the max value as 10,325, but why is the chart showing a different data (5700.58) as the maximum value?

Enterprise Edition

  1. Why a Proxy Server Setting is needed in the Admin Server?
  2. My Admin Server monitor count exceeds the licensed count. Error message is thrown in the New Monitor form of Managed Server. What should I do?
  3. I have installed one Admin Server and one Managed Server of Applications Manager in the same server. I connected Admin Applications Manager from the web client and navigated to some pages. Then I connected to the Managed server and accessed some pages. When I try to navigate again to some admin pages, it goes to login page ?

Installation and Start Up

1. While installing the bin files in Linux machines, the installation program quits abruptly without any message.

Reason: This occurs when the DISPLAY variable is not set.

Solution 1: If you are installing the product in a non-GUI environment, execute the bin file as given below:

./AdventNet_ManageEngine_ApplicationsManager_8_0_0_linux.bin -console

Solution 2: If you are installing the product in a GUI environment, set the DISPLAY variable and then install the product.

Example:

export DISPLAY=localhost:0.0 [To set the DISPLAY variable]
xhost +
[To provide permission for the remote hosts to open the GUI]
./AdventNet_ManageEngine_ApplicationsManager_8_0_0_linux.bin

[Question]

2. Applications Manager displays "Enter a proper AdventNet license file" during installation.

Reason1: If your system date is set to a future or a past date, you will get this error message.

Solution: Uninstall Applications Manager, set the system date settings to current date and time, and re-install it.

Reason2: You might have have applied the Professional Edition License in the Enterprise Edition Server.

Solution: You can check in AppManager_Home/conf/install.txt or AppManager_Home/conf/AMServer.properties file. Here check for serverType. If you have got License for professional Edition, you need to choose Applications Manager as Professional Edition instead of Enterprise Edition while installing the product.

Also, make sure that the license file is not corrupted. If the problem persists, contact support@appmanager.com with your licensing and contact information.

[Question]

3. I started Applications Manager, but it quits stating "Port :9090 needed by Applications Manager is being used by some other application. Please free the port and restart Applications Manager."

Reason 1: When the Applications Manager is started, its Web Server (Apache) starts in port 9090 by default. If the port is occupied by other applications, you will not be able to start Applications Manager.

Reason 2: You have shutdown Applications Manager and tried to restart it but it's MySQL or Apache server are still running.

Solution: Check if any other application is using the same port number and/or MySQL and Apache are running even after shutting down Applications Manager. If so,

Shutdown the MySQL, execute the file stopMySQL.bat located in <Applications Manager Home>/working/bin> directory.

Kill Applications Manager and restart it. (To kill Applications Manager - Execute command : "shutdownApplicationsManager.sh/.bat -force" under Applications Manager Home directory)

If still not starting up,

    For versions 8 and above,

Change the WEBSERVER PORT NUMBER (am.webserver.port) in AMServer.properties file under  <Applications Manager Home>/conf> directory.
    
For versions below 8

 To shutdown the webserver, execute the file ShutdownWebSvr.bat/.sh located in <Applications Manager Home>/working/apache directory.

To shutdown the MySQL, execute the file stopMySQL.bat located in <Applications Manager Home>/working/bin directory.

Try to restart AppManager     

[Question]

4. After running 'startApplicationsManager.sh', an error message "Failed to establish connection with web server. Gracefully shutting down Applications Manager" is shown.

Reason 1: This happens in Linux if a library file named libdb-3.2.so or libgdbm.so.2 is not available or if it is available in another name. Apache Web Server requires this file for it to start. To confirm this as the reason, open the stderr.txt log file located in <Applications Manager>/logs directory which should have the message "bin/httpd: error while loading shared libraries: libdb.so.3 (or libgdbm.so.2): cannot open shared object file: No such file or directory".

Solution1: If the log file has the below error message

AppManager-Home/working/apache/bin/httpd:/lib/i686/libc.so.6: version`GLIBC_2.3' not found (required by Appmanager-Home/working/apache/lib/libdb-3.2.so or (libgdbm.so.2))

Then the library libdb-3.2.so or libgdbm.so.2, bundled in Applications Manager may not be compatible with your version of Linux. Hence, remove the file AppManager-Home/working/apache/lib/libdb-3.2.so (or libgdbm.so.2) and try to restart the server.

Solution 2: As a workaround for this problem, you can give the soft links for the libdb-3.2.so file or libgdbm.so.2 To do so,
  1. Login as root user in the machine.
  2. Go the /lib directory. In Linux Mandrake, go to /usr/lib/
  3. Execute the command

    ls -latr libdb* ( if it is for libdb-3.2.so)
    or
    ls -latr libgdbm* ( if it is for libgdbm.so.2)

  4. The above command will return the files that are starting with the name libdb (or libgdb).

  1. Check whether the file libdb-3.2.so (or libgdbm.so.2) exists. If this is not present,

-- for libdb-3.2.so

Check whether the file libdb2.so.3 or any higher version exists. If it exists then give the softlinks by executing the following command in the /lib directory or /usr/lib

ln -s /lib/libdb2.so.3 libdb-3.2.so

If it is not present, then check for any other libdb file (libdb*). If the file exists then give the softlinks by executing the following command.

ln -s /lib/<libdb filename> libdb-3.2.so

-- for libgdbm.so.2

- Check for any other higher version libgdbm file (libgdbm*). If the file exists then give the soft links by executing the following command from the /lib directory,

ln -s /lib/<libgdbm filename> libgdbm.so.2 ( eg: ln -s /lib/libgdbm.so.3 libgdbm.so.2 )

  1. Exit from the root user and start the Applications Manager.
  1. If you are still having problems, contact us at support@appmanager.com. Also, go to <AppManager/working/apache/bin> directory and execute the following command and let us know the output of the command
    ldd httpd

Note: If the host is not having the library files, copy it from another linux host

Reason 2 : If it is not reason1, then in some Linux machines, there is the problem of apache and tomcat having started properly. But when a request is made, apache is not able to communicate to tomcat

Solution:

Edit the workers.properties present in the Appmanager/working/apache/tomcat/conf/backup directory

  1. Change the value of worker.ajp13.host to the hostname or ipaddress of that machine. By default this value is localhost.
  2. Then start the Applications Manager.
  3. Also before starting the Applications Manager, if you have previously started the Apache alone by executing the StartWebSvr.sh present in Appmanager/working/apache. Kindly stop the same by executing the ShutdownWebSvr.sh present in the same directory.

[Question]

5. Having problems while starting Applications Manager in Debian machines.

For Applications Manager to run in Debian machines, Ensure if the following configurations are done.

# 1 Check whether the libdb3.so file is located in /lib/ directory. For more information, refer to answer 6.

# 2 Uncomment the following line in the
<Applications Manager Home>/working/apache/conf/backup/httpd.conf
file.

ScoreBoardFile logs/apache_runtime_status

# 3 Check whether the /tmp directory in the Debian system has permissions for all the users. This directory should have permissions for all the users. This can be checked by creating a new dummy file.

# 4 Change the following property in AMServer.properties file located in <Applications Manager Home>/conf directory.

Default value is commented and it looks like this.

#am.pingtest.command=/bin/ping -c 1 -w 1

Modify (uncomment) it as given below.

am.pingtest.command=/bin/ping -c 1 -i 1

[Question]

6. When trying to connect to the web client using http://hostname:9090, I get "Forbidden. You don't have permission to access / on this server." message. I've installed the product under /root.

Reason: As the product is installed in /root directory, you need to provide execute permission to /root to access the web client.

Solution: To execute permission use the following command (as superuser)

chmod +x root from /directory

[Question]

7. If Applications Manager is installed in a directory that contains non-english characters then product is not getting started.

Reason: This is because the absolute path of the working directory will be updated in server.xml and tomcat wont start if non-english charaters are present in server.xml.

Solution: As of now, Applications Manager should be installed in a directory that has english characters only.

[Question]

8. When I try and start the server from the dos prompt, I get the following message. "Could Not Find C:\ProgramFiles\AdventNet\ME\Appmanager\working\mysql\data\AMDB\STATSDATA*.*"
The system cannot find the file specified.

Solution: It is a simple warning message. You can ignore it.

[Question]

9. When I try to start Applications Manager, it says ' Applications Manager is already running'. This happens even after, I have verified that Applications Manager is not running.

Reason: The system in which the Applications Manager has been installed would have been accidentally restarted or shutdown. The file <am.lock> will remain in the folder <AppManager_Home\working> to say that Applications Manager is running.

Solution: If you are sure that Applications Manager is not running, then delete the file <am.lock> in <AppManager_Home>/working/> directory. Restart Applications Manager.

[Question]

10. When the Server is started in Linux Machines with root user and then after two three days when it is started as normal user , the Server doesn't get started.

Reason: This is because the files in <working/mysql/data/AMDB> will have permissions for the root user only.

Solution: Give all permissions for all the folders in Applications Manager for normal user by using chmod

[Question]

11. If you get the message "The server is currently starting up. This page will reload itself in 30 seconds, or you can click here to reload it now to display the login page. If this problem persists, please refer the troubleshooting section"

Reason: For the Applications manager to run, Apache and an another main process should start. Only Apache used by Applications Manager has started, in this case

Solution: Linux System: Use shutdownApplicationsManager.sh with -force option found under Applications Manager home (Execute command : "sh shutdownApplicationsManager.sh -force" ) and use startApplicationsManager.sh.
Windows System : Use shutdownApplicationsManager.bat with -force option found under Applications Manager home. If Applications Manager is installed as service, stop the Apache server in the services list (ApacheApplicationsManager) and use startApplicationsManager.bat.
If none of the above options are working send Support Information File to support@appmanager.com

[Question]

12. When I try to access Applications Manager web client, I am getting the Error "The Page cannot be displayed". I am not able to access any page in Applications Manager.

Reason: Apache uses the sendfile syscall on platforms where it is available in order to increase the speed of sending responses. Unfortunately, on some systems, Apache will detect the presence sendfile at compile time, even when it does not work properly. This happens most frequently when using network or other non-standard file-system.

Confirmation: You can find the error message "core_output_filter: writing data to the network" in the Apache logs.

Solution: Uncomment the line #EnableSendfile off ( by removing # ) in AppManager_Home/working/conf/apache/backup/httpd.conf file and save the changes. Then restart Applications Manager.

[Question]

13. While updating a service pack or a patch, I get a message "The ppm file that you have specified is not compatible with this product".

Reason: Service packs from Applications Manager are in the form of a .ppm file. The Update Manager has some useful validation incorporated related to this. This validation includes compatibility checks. You cannot use update manager to install an incompatible service pack. For example, you cannot install a service pack of another product in Applications Manager or a service pack of one version of Applications Manager in another version.

Note: If you have downloaded full build, do not install Service pack of the same version. For eg, if the full build no. is 6600, you will have SP6 in the service pack page. That service pack is for customers who have downloaded previous versions of full build like 6050, 6055 etc., By applying service pack SP6, the customers can upgrade themselves to 6600.

[Question]

14. How to update the Service Pack if Applications Manager's Server is a GUI-less linux server.

Solution: Use the following option in UpdateManager script
updateManager.sh -c

[Question]

15. I am not able to perform any activity in Applications Manager Web Client. Why?

Reason: You might have logged in to Applications Manager with user access as 'Operator' where you can only view the Monitor details. You will not have the privilege to configure or edit the different components of the product.

Solution: To work with or configure the product, log in as 'Admin' user. For more information on user access, refer to the User Administration section in the User Guide.

[Question]

16. Clicking on any link in Applications Manager goes back to Login Screen.

Reason: DNS name of the machine would not have been configured in their DNS Server.

Solution: Use the machines' IP Address to connect to the client.

[Question]

17. Applications Manager's time is different from my local time. How to reset it to my time?.

Reason: Your PC's time zone ( eg: Brazil/DeNoronha ) is different from Applications Manager's java time zone (eg: GMT ).

Solution: In startApplicationsManager.bat/startApplicationsManager.sh file, add -Duser.timezone=Brazil/DeNoronha to the start /B %JAVA_HOME%\bin\javaw line

If installed as service, add wrapper.java.additional.4=-Duser.timezone=Brazil/DeNoronha in wrapper.conf file

Note: For Chennai, it should not be set as -Duser.timezone=India/Chennai. Set it as -Duser.timezone=IST

See Forum Link for more details on what needs to be set.

[Question]

18. In Linux, under Reports tab, I try to check the health details of all monitors. I get the following Java Exception: ErrorDispatcherValve[localhost]: Exception Processing
ErrorPage[exceptionType=java.lang.Throwable, location=/jsp/ErrorPage.jsp]
java.lang.ClassCastException: java.lang.NoClassDefFoundError

Solution: The display variable is not properly set. Edit the the file under
<Appmanger8\ startApplicationManager.sh>

comment the following lines
# if [ "$DISPLAY" = "" ]; then
AWT_HEADLESS=-Djava.awt.headless=true
# fi

[Question]

19. Where do I find the log files that I need to send to technical support team for analysis?

The log files are located in <Applications Manager Home>/logs directory. You can send the Logs as Support Information File (to create Support Information File - go to Support tab in the product -> Applications Manager Support -> Click on Support Information File)

To create Support Information File via Command Prompt, execute
createSupportFile.bat / createSupportFile.sh present under <Applications Manager Home>/bin directory

If the size is less than 2MB, you can send the Support Information File to support@appmanager.com

If the Support Information file is above 2MB and less than 100MB, Upload it to AdventNet site -
http://bonitas.adventnet.com/upload/index.jsp?to=support@appmanager.com

If the size of the file is larger than 100MB, you can ftp the same to our ftp site. You will be provided details of the ftp service usage when you connect to our ftp server using "ftp ftp.adventnet.com"

Details of ftp site :
Server Name = ftp.adventnet.com
user account = anonymous
password = <<your email address >>

Once you have uploaded the file you can contact us with the name/location of the file at support@appmanager.com

Note: You can also make use of the automatic HTTP upload by selecting the option 'Create and upload to AdventNet Support Center', while creating the Support Information File in the Applications Manager Web Client.

[Question]

20. The ManageEngine® Applications Manager service is setup Automatic but not started. When I'm trying to start it up the following error message appears:

"Could not start the ManageEngine® Applications Manager service on local computer. Error 1075: The dependency service does not exist or has been marked for deletion".

Check whether the service "ApacheApplicationsManager" is present under the services menu and also whether its Startup Type is not Manual.

If not then navigate to the <AppManager8>/bin folder in command prompt.

1. Execute the uninstallService.bat

2. Execute the installService.bat

Check whether two services ApacheApplicationsManager and ManageEngineApplicationsManager are present in the services menu and then start the ManageEngine Applications Manager in the services menu.

[Question]


Monitoring - General

1. I deleted a monitor from my Monitor Group, still the Monitor is monitored.

Reason: Deleting a monitor from the monitor group will only remove its association with the monitor group. This will not stop its monitoring.

Solution: To delete the monitor also, click 'Monitors' tab, select the monitor and click Delete. This will remove the monitor completely.

[Question]

2. While adding a new monitor, it says "Unable to get the Interface details. The IPAddress of the given system is ..".

Reason: This is because the IP address of the system returned by the SNMP Agent is wrong.

Solution:

1)Stop Applications Manager
2)Go to <Applications Manager Home>/working/conf> directory
3)Edit the seed.file present there, change <ENABLE_SNMP_DISCOVERY="true"> entry to <ENABLE_SNMP_DISCOVERY="false">
4)Restart the Applications Manager and add the monitor again.

[Question]

3. While adding a new monitor the following message is shown "Unable to add the system. Kindly check whether it is reachable..".

Reason: This is because you are not able to reach the system in any one of the following ways .
1)ICMP ping. Execute the below command in the command prompt and check if ICMP ping is working.
ping <hostname>

2)SNMP ping.
Check whether SNMP Agent is running in the remote system you are trying to monitor.

3)Native ping. This is disabled by default.

Solution: Enable any one of the above 3, so that you would be able to reach the system.
To enable native ping, Edit <Appmanager/conf/AvailabilityTests.conf> and Change <am.enablenativeping=false> to <am.enablenativeping=true> [if you change the option as true then start Applications manager as root in linux and admin user in Windows ]

[Question]

4. When I click on 'View Monitor Details' link after creating a new monitor, sometimes I am asked to reconfigure the details of the monitor though I have created them successfully.

Reason: Polling is not yet started.

Solution: Wait for 30 seconds and then it will display the monitor information. Here the data collection will not be started. You can view the information only in the next polling interval.

[Question]

5. Problem during Data Collection or no performance data is displayed in my screens. Why?

Reason 1: Details such as user name and password of the monitor may be incorrect.

Reason 2: In host resource, there are a few requirements to be checked before starting its discovery.

Solution: To know details on the prerequisites to monitor a system or host, refer to the Data Collection - Host Resource section in the User Guide.

Reason 3: Data collection may also be hindered, if your system date is set to a future or a past date.

Solution: Check the Last and Next Polling Interval time with your system time.

[Question]

6. No reports generated for icons representing 7 and 30 days. Also, in Reports screen, on clicking on any attribute for reports, it displays a message, "No Data available to generate Reports for the specified time period".

Reason: Applications Manager archives the data for every one hour. Though the monitoring of the monitors is started, the reports are generated only after an hour.

Solution: Wait for a minimum of 1hour to view the report.

[Question]

7. Scripts containing Java Programs, vbs scripts and other executable files works fine while running from the command prompt but gives error while monitoring them from applications manager.

Reason: Applications Manager on executing the script does not know the path for the java, cscript and other executable files.

Solution: So, to monitor the script, the path should be set within the script. If java is used inside the script,make sure that the classpath is set for the java.

Add the below as the first line:

for linux :-
export path=<path>

for windows :-
set path=<path>

Where <path> is the full path that you get when you type echo $path in linux and echo %path% for windows in the command prompt.

[Question]

8. Not able to add monitors when the machine has a different locale and is not SNMP enabled

Reason: To add a system as a Monitor to Applications Manager, the following methods are used

1. Do a "ping " through code
2. If SNMP is enabled, check the SNMP agent and use data from it
3. Use Native Ping (ICMP Ping).

In this particular case, since the machine has a different locale, normal ping method is ruled out. SNMP is also disabled. If logged in as a normal user, Native ping will also not work.

Solution: Native ping requires Administrative privileges to work. So the user should be logged in as Administrator while starting Applications Manager to solve this problem and enable monitoring of the system.

[Question]

9. How do I set up a monitor for our Websphere instance running on an iSeries (as/400) using the OS/400 operating system?

Solution: You can add the websphere servers directly for monitoring by choosing "WebSphere Server" from the "Add Monitor of type" drop down box in New Monitor screen. The OS/400 will appear as unknown under the Servers category.

[Question]

10. I get the following message, "Authentication failed. Kindly verify the username and password provided" while adding server, Microsoft .NET, Exchange server through WMI

Solution: Kindly enter the username as <domainname>\<username>

[Question]

11. While monitoring windows applications like Microsoft .NET, Microsoft Exchange, I get "Error # The RPC server is unavailable". What should I do?

Reason: WMI or RPC server might not be available in the remote machine

Solution: Check if the WMI and RPC services are running in the remote machine.This you can check in the Services window. If these services are not started , Start them and try adding the monitors.

If there is a firewall in between Applications Manager and the remote machine, Open the ports 135, 443 & 1025 in the firewall, to enable access.

Also refer to server troubleshooting question

Even after the above steps, if you get the error, send the Support Information File with the details of your setup to support@appmanager.com

[Question]

12. Applications Manager is not adding the monitor that has SSH2 running

Reason: SSH Key based authenication is supported only for SSH2. Applications Manager will not add the monitor (even though SSH2 is running) if the entry in </etc/ssh/sshd_config> is 'Protocol 2,1'

Solution: Change the entry to 'protocol 2'. Restart SSH2 deamon.

[Question]


WebLogic Monitoring

1. On discovering WebLogic server, a message is displayed stating, "Data collection yet to start. Please refresh this page after the data collection interval has elapsed".

Reason: The MBean Authorization for WebLogic 6.1 and 7.x is enabled that does not allow Applications Manager to connect to the WebLogic Server.

Solution: Disable the authorization. Refer to Creating New Monitor - WebLogic Server in the User Guide for more information.

[Question]

2. When I try to monitor WebLogic I get "Data collection yet to start" even after I added -Dweblogic.disableMBeanAuthorization=true to the WebLogic startup script.

Reason 1

Adding attribute AnonymousAdminLookupEnabled="false" in SecurityConfiguration tag of Weblogic 8.1 config.xml restricts MBean details from getting accessed from remote machines without authentication.

Solution

Set the attribute value as false. For more information:
http://e-docs.bea.com/wls/docs81/config_xml/SecurityConfiguration.html
#AnonymousAdminLookupEnabled

Reason 2

In Evaluation version of Weblogic, connection is restricted to maximum 5. So request from Applicatoins Manager might be blocked.

Solution

Try restarting your WebLogic instance and ensure that Applications Manager collects data before the limit of 5 connections is reached.

Reason 3

Proxy Server blocking the connection to Weblogic Server. Proxy Server might have been configured to allow only HTTP requests.

Solution

Contact your system administrator.

[Question]

3. When I monitor weblogic server, I get the message "Applications Manager could not register to the Weblogic server for Data Collection" at the top. What should I do?

Reason

For monitoring the weblogic server, Applications Manager tries to register a MBean in the Weblogic server. But for some reason, the MBean could not be registered.

Solution

Ping Applications Manager server name from the machine in which Applications Manager is running. check if the IP address is not 127.0.0.1. If so, check the entry in the system's <hosts> file[Windows: <C:\Windows\system32\drivers\etc\hosts>; Linux: /etc/hosts]. If ping <AppManager hostname> returns 127.0.0.1 then, WebLogic will not be able to get the required configuration from Applications Manager.

Check whether weblogic server host was able to connect to the Applications Manager as we connect in the browser. ie for eg, http://<ApplicationsManager hostname>:<portNumber>. This should be reachable. Also check whether any error or exceptions are thrown on the weblogic logs.

[Question]

4. When I monitor the weblogic server, I get the message "Access to the weblogic MBean server is denied. Enable "-Dweblogic.management.anonymousAdminLookupEnabled=true -Dweblogic.disableMBeanAuthorization=true" in the weblogic startup file." What should I do?

Reason 1

The mbean authorization is enabled and hence these two properties must be enabled in the weblogic 7.x, 8.x and 9.x.

Solution

Disable the authorization. Refer to Creating New Monitor - WebLogic Server in the User Guide for more information.

Reason 2

In Evaluation version of Weblogic, connection is restricted to maximum 5. So request from Applications Manager might be blocked.

Solution

Try restarting your WebLogic instance and ensure that Applications Manager collects data before the limit of 5 connections is reached.

[Question]

5. When I monitor the Weblogic server, I get the message, "Data Collection in progress. Please wait till the next poll interval".

Solution 1

Check whether weblogic server host was able to connect to the Applications Manager as we connect in the browser. ie for eg, http://<ApplicationsManager hostname>:<portNumber>. This should be reachable. Also check whether any error or exceptions are thrown on the weblogic logs.

Solution 2

Disable the authorization. Refer to Creating New Monitor - WebLogic Server in the User Guide for more information.

Solution 3

If you are using Free Edition, try restarting your WebLogic instance and ensure that Applications Manager collects data before the limit of 5 connections is reached.

[Question]

6. I'm not able to add Weblogic Monitor. What could be the reason?

Solution 1

Check if there is any firewall between the Weblogic host and Applications Manager machine. If this is the case, then open the Weblogic host and the port in the Applications Manager side. Also note that Weblogic should be able to contact Applications Manager in Applications Manager's webserver port. By default this will be 9090.

[Question]

7. Applications Manager says, "There are no JMS servers deployed in this Weblogic Server." but JMS data is present in WebLogic Server. what is the problem?

Reason

JMS and SAF support is added to Applications Manager only from version 7200. If an older version Applications Manager agent is deployed in WebLogic server, then you need to restart the WebLogic Server to get the JMS and SAF details.

[Question]


WebSphere Monitoring

1. I'm trying to monitor Websphere 6.X. I'm facing problem while adding the Websphere monitor".

Check whether Websphere admin user is added to the monitor group of the perfservletApp, if global security is enabled in Websphere.

Check whether you have deployed perfservlet in the correct server.

And also, try to access any one of the below url and send us the output along with the support information file.

Base Deployment

http://<WebSphereHost>:<WebSpherePort>/wasPerfTool/servlet/perfservlet?connector=SOAP&port=
SOAP-PORT

where

WebSphere Host -> Host in which WebSphere Application Server is running

WebSphere Port -> HTTP Transport port of the WebSphere Application server

SOAP Port -> SOAP Port of WebSphere


or

Network Deployment


http://WebSphereHost:Port/wasPerfTool/servlet/perfservlet?connector=SOAP&port=NetworkDeployerSOAP
-PORT&HOST=NetworkDeployerHost

WebSphere Host -> The host of the websphere application server in which the perf servlet application is installed

Websphere Port -> HTTP Transport port of the Websphere server in which the perf servlet application is installed

NetworkDeployer SOAP PORT -> The SOAP port of the domain manager (DMGR)

Network Deployer Host -> The host in which the domain manager is running.

Detailed information can be obtained from Prerequisites for monitoring WebSphere Application Server Help.

Let us know if you are using a proxy server to connect to websphere.

Else you can try this option:[ as suggested by a customer]

Instead of trying to reuse any existing ports which seem to be having some conflicts, you can define some new ports and transport chains.

1) In WebSphere Admin Console, Navigate to Application Servers -> Server Name -> Web Container Settings -> Web Container Transport Chains
2) In this view which shows current transport chains, click on New Button
3) In the resulting wizard at step 1, Give a new name to this chain (I gave it WC_CacheMonitor_Inbound) , and from the template Drop Down box select Webcontainer (Chain 1) and click on Next
4) In Step 2 , give this a new port name to identify it , and the host , port values, For the Port I gave 9030 when creating on instance 1 and 9032 when creating on instance 2. Click on Next.
5) In Step 3, Click on Finish button.
6) Repeat the above steps for each server in Cluster (I got 4 servers)
7) Save Configuration Changes.
8) Navigate to Environment -> Virtual Hosts, Click on New button
9) In the Wizard, give a new name and click on OK button.
10) In the resulting window click on the new Virtual Host created and click on Host Aliases for that Virtual Host.
11) Add the Virtual Host by making sure to reflect the Host and Port numbers (like 9030, 9032 etc) which have been already been created in the previous steps for Web Container Transport chains.
12) Save the Configuration Changes.
13) Navigate to Applications -> Enterprise Applications -> perfServletApp --> Map virtual hosts for Web modules
14) Select the newly created Virtual Host from the Drop Down.
15) Save the Configuration Changes, and restart all Servers.
16) The perfservlet is now accessible though ports 9030 and 9032 against the hosts configured

[Question]

2. Applications Manager says, perfservlet is not installed, but perfservlet is present. What could be the problem?

Solution

Check whether you are able to get the perfservlet.xml while invoking the url with ipaddress. For eg.,
http://192.168.23.41:9080/wasPerfTool/servlet/perfservlet?connector=SOAP&amp;port=8880

Check whether you have deployed perfservlet in the correct server.

If it doesnot respond, then check whether the virtual host is configured in the WebSphere Server. This you can check as follows

1) Login to the admin console of the WebSphere Server.
2) Expand the Environment node and click Virtual Hosts.
3) Click "default_host" and click Host Aliases.
4) Now check whether the Host Name for the port 9080 is given as "*" or hostname. If the hostname is given then you can change it to * , save the configurations and restart the WebSphere Server.
5) Then add it in Applications Manager. If it is not able to change the hostname in the existing entry, then you can add new entry for port as *

[Question]

3. When I try to add the Websphere server, it gave an error message "service is not running" and monitor is not added?

Solution

When Global Security is enabled the default transport port may be disabled.

Please check the same in the following location and enable it.

From administration console
Application servers > <server name> >Communications >Ports> WC_defaulthost>

For WC_defaulthost, click on "View associated transports" link then click on WCInboundDefault and check whether it is enabled or not. If it is not enabled please enable it and restart the websphere server.

Also check whether transport port of APPserver where Perfservlet is installed is accessible from the browser.

Now try to add the monitor again.

[Question]

4. Why some of the tables don't have any data or some of the fields have the value "NA" in the Websphere details page?

Solution

1) Check whether you have set the PMI level to "Standard" for version 5.x and "All" for version 6.x

2) Restart the Websphere server (all the Appservers in the Network Deployement for ND) after the above change.

3) For version 6-
Go to servers->application servers -> <Appserver> -> Performance -> Performance Monitoring Infrastructure
(PMI)

i) Enable the option Enable Performance Monitoring Infrastructure(PMI)

ii) Set the PMI level to "ALL" and restart the particular Appserver.

For version 5-
Go to servers ->application servers -> <Appserver> -> Additional properties -> Performance Monitoring Service

i) Set the PMI level to "Standard"

ii) Enable the option "server should start the service automatically at startup" with the field name "startup".

iii) Restart the Appserver after the above configuration changes.

[Question]


JBoss Monitoring

1. While trying to monitor JBoss, I get the message "No JBDC Connection pools are configured for this Server".

Reason: No Database Connection Pools are configured in JBoss server, i.e., no *-ds.xml file is present in the JBoss deployed folder.

[Question]

2. While trying to monitor JBoss I get error such as 'Unable to collect Data for <host name>' and I do not get JVM and EJB details.

Reason 1: Applications Manager collects JBoss MBean details by directly connecting to the JBoss JNDI Naming service. The application http-invoker.sar which comes by default with JBoss installation is used to access the JBoss JNDI service. Ideally jbossagent.sar should have automatically been deployed by the Applications Manager in the JBoss server as soon as it is discovered. If this does not happen, you will get the 'Unable to collect Data' message.

The Applications Manager should be able to access the host where JBoss server runs and vice versa. If you suspect accessbility issue, perform the following tests to ensure the same.

To ensure if the system where JBoss is installed can be accessed, invoke the below URL from the system where JBoss is installed: http://<Applications Manager Host>:9090/classes/jbossagent.sar

To test whether the AdventNet Agent is deployed properly in JBoss, go to the JMX Console in the JBoss server and check if there is a domain named 'AdventNet'. Example: Go to the URL http://<JBoss Server Host>:8080/jmx-console/ and check for 'AdventNet' domain. If each of the hosts is not accessible, then we infer that the agent is not deployed.

Solution: To deploy the agent manually, copy the file jbossagent.sar from <Applications Manager Home>/working/resources> directory and place it in the deploy folder of the respective JBoss server and restart the JBoss server.

Reason 2: Using a customized version of JBoss.

Solution: If you are using a customized version of JBoss, the http-invoker.sar should be deployed in the JBoss Server for Applications Manager to discover and manage it. The application (http-invoker.sar) is by default deployed in the JBoss server.

Reason 3 : The http port of the JBoss server is changed.

Solution: If the http port of the JBoss server is changed then the port number in the attribute InvokerURLSuffix should also be modified in jboss-3.2.0\server\<jboss_server_name>\deploy\http-invoker.sar\META-INF\jboss-service.xml file.

Make sure that the port number in the
<JBoss home\server\<servername>\deploy\jbossweb-tomcat55.sar\server.xml>
file and
<JBoss home\server\<servername>\deploy\http-invoker.sar\META-INF\jboss-service.xml> file are same. If they are different, change the port number in <jboss-service.xml file>

Note: InvokerURLSuffix occurs in many places in the XML, wherever InvokerURLSuffix occurs, all the port numbers should be changed. See a sample file - Sample_http_invoker_sar.html which highlights all the ports that need to be changed.

Reason 4: When there are multiple IPs for the machine in which JBoss is running.

Solution: To start JBoss with proper bindaddress, use the command run.bat -b <ip address of the machine> to start the JBoss server. To obtain the <ipaddress of the machine>, execute the command ping <hostname> in the host where Applications Manager is running.

Reason 5 : JBoss is installed in a different network. Applications Manager can connect only to the JBoss server's ipaddress and could not resolve its hostname

Solution: Add an entry for jbosshostname/jbossip in <WINDOWS SYSTEM DIR>\drivers\etc\hosts in the machine in which Applications Manager is installed so that AppManager can resolve the JBoss host name. For linux add the entry in /etc/hosts file. For AppManager to monitor jboss, both ip and hostname should be accessible to Applications Manager.

Reason 5 : There is a firewall between JBoss and Applications Manager.

Solution: Port in which JBoss is running (for eg., 8080) and also, the Hostname should be accessible.
Also, try opening up RMI Object port (eg., 4444).
Refer http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingJBossBehindAFirewall

[Question]

3. While trying to monitor JBoss, I do not get JVM and EJB details, and a message "Select the JBoss version. Edit Monitor to change the version." appears in the top

Reason: JBoss is discovered automatically and version of JBoss is not updated

Solution: Click the image for Configure to get EJB, JDBC, JVM details and enter the version(3.2.x, 4.x) of the JBoss.

[Question]


Tomcat Monitoring

1. Discovering Tomcat server fails and it displays "AdventNet Agent has to be deployed for collecting the data from Tomcat Server".

Reason: Tomcat 3.x and 4.x cannot be discovered if AdventNet Agents are not deployed in it.

Solution: To discover Tomcat 3.x and 4.x, download AdventNet agents, Tomcat3Agent.zip and Tomcat4Agent.zip respectively, that are bundled with Applications Manager, into the Tomcat server. For more information, refer to the Creating New Monitor -Tomcat Server section in the User Guide.

[Question]

2. Some Tomcat Web applications are not monitored.

Reason: In Tomcat server 4.x, a deployed Web application can be monitored only when web application responds to any query. If there are no requests sent to the Web application, the web application and its servlets cannot be identified and monitored.

Solution: Query the web applications of Tomcat server 4.x. Note that, you have to do this only for Tomcat server 4.x.

[Question]

3. I do not see the "Threads Availability" graph for my Tomcat Monitor.

Reason: The data for the "Threads Availability" will be shown only for 5.x versions of the Tomcat Server. This data is not available for 3.x and 4.x version of Tomcat Server.

[Question]

4. When I try to monitor a Tomcat 5.x server, I get the message "Authentication details are wrong".

Reason: Tomcat 5.x, an application named Manager must be running in it for Applications Manager to monitor the Tomcat server. By default, this application will be running in the server. Moreover, the user role to access the server must also be manager.

Solution: To add a role as "manager" for any of the users such as tomcat, role1, or both, you need make changes in tomcat-users.xml file located in the <TOMCAT-HOME>/conf directory.

Example:

Default configurations in tomcat-users.xml in Tomcat Server.

<tomcat-users>
<user name="tomcat" password="tomcat" roles="tomcat" />
<user name="role1" password="tomcat" roles="role1" />
<user name="both" password="tomcat" roles="tomcat,role1" />
</tomcat-users> 

After adding the roles for the "tomcat" user, the modified entries will be as follows:

<tomcat-users> 
<user name="tomcat" password="tomcat" roles="tomcat,manager" /> 
<user name="role1" password="tomcat" roles="role1" /> 
<user name="both" password="tomcat" roles="tomcat,role1" /> 
</tomcat-users> 

On making the configuration, restart the Tomcat Server.

Now, when adding a new Tomcat (5.x) monitor, specify the username/password as tomcat/tomcat when discovering the Tomcat Server.

[Question]

5. In Tomcat monitoring, some URLs/applications that are not present in my Tomcat are shown. Why does this occur?

Reason: In 4.x and 3.x versions of Tomcat Servers, we track all the requests that comes to the Tomcat Server and from the requests we add the applications for Tomcat Server. Hence the random URLs are shown.