Monday, March 21, 2016

Managing and Monitoring Spring Boot Applications with ManageCat

In this post I will show how to manage and monitor Spring Boot applications with ManageCat cloud platform.

According to the Spring Boot web site, Spring Boot makes it easy to create Spring-powered, production-grade applications and services with absolute minimum fuss. It takes an opinionated view of the Spring platform so that new and existing users can quickly get to the bits they need.

Spring Boot platform include embedded Apache Tomcat server to launch the applications via simple "java -jar application.jar or mvn spring-boot:run" command.

Getting Started

Adding Dependencies to Spring Boot Project

In this post I assumed that the project is a maven based Java project. 
  • If you have not already registered to use the ManageCat SaaS Platform, you have to register from here
  • Download ManageCat Spring Boot JAR file from here
  • Currently ManageCat Spring Boot JAR is not listed in Maven central repository. Therefore, run the following command in your system to add it to your local repository,
    • mvn install:install-file -Dfile=managecat-spring-boot.jar -DgroupId=com.managecat -DartifactId=managecat-spring-boot -Dversion=1.0.1 -Dpackaging=jar
  • Add below content to your POM dependency section:

  • Open your application main java class file which launches your application and update it to include Managecat Embedded Servlet Container Factory and ManageCat properties file. ManageCat properties file configures the ManageCat agent.
    • @ComponentScan
      public class SampleWebUiApplication {

              public EmbeddedServletContainerFactory servletContainerFactory() {
                      return new ManageCatTomcatEmbeddedContainerFactory();

              public static void main(String[] args) throws Exception {
                      SpringApplication springApplication = new SpringApplication(SampleWebUiApplication.class);
                      springApplication.addListeners(new ApplicationPidFileWriter(), new EmbeddedServerPortFileWriter());
  • Add file to your Spring Boot configuration directory (src/main/resources) with the following content
    • managecat.servername=default
    • managecat.accountKey=Your managecat account key sent with email.
      managecat.hostname=Tomcat HOST, example:
      managecat.port=Tomcat PORT, example 80 (if you use HTTPS true otherwise false)
To access your Tomcat from ManageCat SaaS Cloud Platform, TOMCAT_HOST:TOMCAT_PORT must be accessible from internet. You may need to open the TOMCAT_PORT from your firewall.

Here is the explanation of these fields:

  • managecat.warpath : console.war file must be downloaded from ManageCat SaaS Platform main page.  Spring Boot application uses Apache Tomcat 8 embedded Tomcat server. Therefore, you need to download Tomcat 8 console.war file.
  • Copy the downloaded console.war file to managecat.warpath location.
  • Compile and product executable JAR file. (mvn spring-boot:run)
  • If everything is done, you can start your application, you will see a similar log content like:

Now, you can login into the ManageCat UI platform and see your registered server. Open with your registered username and password and click Managed Servers view.

You will see some Tomcat related monitoring metrics in servers table. You can also connect to your
 Spring Boot Tomcat server instance via the Connect IconImage title

It will open a new browser window to manage and monitor your Spring Boot application. Below screenshot shows the realtime Tomcat connector listening in 9092 port.

You can inspect lots of different aspects of your Spring Boot application.

Take a trial from FREE TRIAL


Tuesday, January 26, 2016

Manage and Monitor Apache Web Servers from Cloud

Cloud computing is currently everywhere and lots of companies are trying to move their applications runtime to cloud(public, private or hybrid)  infrastructure to become more agile regarding scalability, availability and security of their applications. Nevertheless, cloud platforms are lack of providing a cloud based operational SaaS platform to manage, monitor, control, provision and even troubleshoot these type of software infrastructures running in the cloud environment. Companies are struggling to manage and monitor their infrastructures using different types of tools. This is very time consuming and also they are not proactive to respond new customer  requests.

ManageCat is a cloud management and monitoring platform to manage, monitor, control and provision of the cloud based software infrastructures.

Currently in the SaaS market, lots of SaaS monitoring products exist but they only provides metric monitoring. None of them supports the Control(like start, stop, restart etc. of manageable resources) and Management parts (resource configuration remotely, provisioning of new resources). ManageCat is a very unique in this regard especially with SaaS based platform model.

Recently we have launced industry first management and monitoring cloud platform for Apache Web Servers. In 5 minutes, you can start to manage, monitor and control your Apache Web Servers.

Download Apache Agents

To download the Apache Agent, you have to register with ManageCat Platform and receive your account key. You can register via .After you register, you are able to login into the ManageCat UI console via your registered username and password.

After you login successfully, you can download Linux/Windows Apache server agents from
ManageCat home page.

Image title

Configuration of Agent
You will unzip the agent into your local file system. Agent contains a small embeded Apache Tomcat server which communicates with the ManageCat Controller running in Amazon cloud.

To configure the agent,
  1. Open "conf/managecat-agents.xml" file.
  2. Update your account key.
  3. Update agent host and port. Host and port must be accessible by outside. Cloud controller connects to your agent via HTTP+PORT. In default configuration, agent port is 8090. Apache Tomcat binds all available network interfaces to the Tomcat NIO connector. If you want to bind connector to a special host address, you can update address parameter of Tomcat connector in "conf/server.xml" via
  4. You also have to configure your apache web server related configuration parameters in managecat-agents.xml. You can find example configurations for different type of Linux operating systems.
After you finish agent configuration, you will run the agent via simple command
  • sh
If the agent is started succesfully, you will see a message in a console log like:
  • INFO: Apache Server agent has been registered with the controller successfully. Registration is taken : 1086 ms
Congratulations! You have installed your first Apache server agent.
Now you can login into ManageCat UI platform and see your registered server. Open with your registered username and password and click Managed Servers view.

Image title

You will see some Apache related monitoring metrics in servers table. You can also connect to your
 server instance via Connect IconImage title

It will open a new browser window to manage and monitor your registered instance. You can also start/stop/restart your servers. With Apache Web Server agent:
  • You can monitor process and extended process information
  • You can monitor and download log files
  • You can manage networking, server configuration files, mime types, modules, documents
  • You can view your Apache Server system information
  • You can view live charts 
Server Overview

Image title

Extended Process Information

Image title

Remote Log File Access

Image title


ManageCat enables you to monitor your cloud infrastructure from cloud environment. Currently ManageCat supports Apache Tomcat, Apache TomEE, Apache Web Servers. ManageCat is an extensible platform and we are happy to support your infrastructure to monitor from cloud. Please drop an email to us via to send your valuable feedbacks/comments.
Currently we have been working very hard to add very cool new features for managing and monitoring Apache Web Servers from cloud in a more effiecient and easy way. We have also been working for adding new infrastructure platform to manage and monitor from cloud.

Stay Tune!
Gurkan Erdogdu
CEO, founder ManageCat,

Wednesday, November 18, 2015

OW2 Siwpas Certified Java EE 6 Web Profile Compatible

I am very proud to say that OW2 Siwpas application server has been certified by Oracle as Java EE Web Profile specification compatible.

History of Siwpas
I had an idea of implementing Java EE web profile application server at the same time of writing the Apache OpenWebBeans project, which is an implementation of the Context and Dependency Injection Platform for Java EE. My idea was to implement a Web Profile Server Implementation from all other Apache Java EE related projects, including Apache OpenWebBeans, OpenEJB, OpenJPA, MyFaces, Bean Validation, and of course Tomcat.

I put huge effort, and began to implement such a server around OpenEJB+Tomcat integration code which was a lack of providing such compatible environment. Initially implemented OpenEJB + OpenWebBeans integration, found and fixed lots of bugs while integrating other projects of Apache EE projects and also contributed these fixes to OpenEJB and related projects. I finally implemented all piece and released a 1.0 version. Great ha! There were also some publication regarding Siwpas in news. Here is the InfoQ article about Siwpas.

Java EE Compatibility
But when comes to the certification, it was not easy. Because, certification legal work is very tedious and not so easy to access.

To become and release Siwpas as a Java EE Compatible application server, you must obey some rules which are managed by Oracle. You need to access Java EE Web Profile Technology Compatibility Kit (known as TCK) and must pass thousands of certification tests. 

At those times, the folks from Apache OpenEJB project probably thought about creating the same vision of such application server and they implemented Apache TomEE. If you look at the Siwpas and TomEE, you wonder that nearly all vision and mission is the same, except TomEE used Java EE Web Profile TCK because at those times Apache Software Foundation was a licensee of Oracle to use TCK suite. But, we suffered from to use such TCK because it is only available to companies which are the licensee of Java EE TCK. To become licensee, you have to work with Oracle regarding commercial agreements. Because, we did not able to get certified at those times, our community attention lost focus and TomEE started to get popularity.

And the rest is the history!!!

Siwpas New Home, OW2 Foundation
After a while, Siwpas project had been accepted by the OW2 Foundation (another great Open Source organization especially for providing enterprise grade middleware  software and also implementing a great cloud based solutions!) Because, OW2 is also a licensee of Oracle to use Java EE TCK suite, we finally used this TCK and passed thousands of TCK tests and certified.

Now, next step is to go for Java EE Web Profile 7.

Try it!
If anyone interested to work with Siwpas or give it a try:

 Have a nice week!

Gurkan Erdogdu

Sunday, September 13, 2015

Manage and Monitor Apache TomEE with ManageCat Saas Platform

Hello folks

I have created a simple screen cast which shows how to manage and monitor your Apache TomEE servers with ManageCat platform. ManageCat is a cloud platform to manage and monitor all of your Apache Tomcat, Apache TomEE based servers and other IT infrastructure elements from a single place. Currently we are under implementing other servers such as Apache Web Server etc.

Here is video:


Monday, July 20, 2015

ManageCat Launches Enterprise Support for Apache Tomcat and Apache TomEE Application Servers

ManageCat, the cloud management company, starts to provide professional technical support for Apache Tomcat, Apache TomEE open source application servers. 

Los Angeles, California July, 2015 ManageCat, a provider of cloud management platform for Apache Tomcat, Apache TomEE and Apache Tomcat based Application Servers, announced the professional technical support for Apache Tomcat and Apache TomEE application servers.

Nowadays, most enterprise companies would like to use lightweight application servers for deploying and running their web applications. Deploying enterprise applications into the cloud is also increasing every day and as a result cloud friendly application servers are much more needed. Apache Tomcat and TomEE cloud friendly lightweight application servers are perfect fit for using in cloud environments. Apache Tomcat supports web applications which are implemented using Java Servlet and Java Server Pages technologies. Some enterprise applications also need more technology stack such as "Java Persistence, Java Server Faces, Java Transactions, Enterprise Java Beans and etc. Apache TomEE provides such a lightweight application server platform with all the features needed.

With ManageCat enterprise support, customers will not only get professional technical support, they will also able to use ManageCat platform to manage, monitor and troubleshoot the application servers.  Gurkan Erdogdu, Chief Technology Officer of ManageCat, author of Apache TomEE Cookbook and founder of Apache OpenWebBeans project, said that “With our enterprise support, we want to transfer not only our knowledge about Apache Tomcat and Apache TomEE and also other Apache Java EE technologies including Apache OpenJPA, apache MyFaces, Apache OpenWebBeans, Apache Bean Validation, Apache OpenEJB etc. We will be happy to help our customers to develop and deploy their production applications smoothly using Apache Java EE stack.“

Apache Tomcat and TomEE is supported by the ManageCat according to the subscription plans. There are two different subscription plans for getting technical support, "Basic Support" and "Enterprise Support". You can get more information from Technical Support Page to get more information about ManageCat subscription plans.

About ManageCat
According to latest researches, nearly 50% of the market is using Apache Tomcat for their applications, but there is no solution that is developed for the mission to manage, monitor and troubleshoot Apache Tomcat and Apache Tomcat based Application servers easily, in cloud or on-premise.ManageCat is founded to help his customers get complete control and visibilty into their Apache Tomcat instances with a next-generation solution. ManageCat users can now get visibility and control on their Apache Tomcat instances easier than before.

Sunday, February 1, 2015

Start to Manage Apache Tomcat and TomEE in 5 Minutes from Cloud

Nowadays, cloud based IT Monitoring is a hot topic and there are different types of cloud based monitoring and management tools exist in the market, such as Application Monitoring, Network Monitoring and Server Monitoring from the cloud.  There are several reasons to use such monitoring tools from the cloud :
  • Nothing to install any resources like operating system, server, database, etc in your runtime environment,
  • Start to monitor your environment immediately without complex installation and configuration,
  • There is no maintenance cost of the monitoring runtime environment,
  • Very very low cost of ownership against the other inhouse and onpremise solutions.
In this regard, we launched our Apache Tomcat Cloud Monitoring, Management and TroubleShooting Platform, ManageCat to easily monitor the Apache Tomcat, Apache TomEE and all other application servers/platforms using the Apache Tomcat.

There are a lot of companies use the Apache Tomcat for their production applications such as e-commerce, insurance or banking applications. They are very happy to use Apache Tomcat (easy to use, install and configure) but when it comes to a management and monitoring,  they are facing with some complexity.  They try to use different set of tools and platform for server monitoring purposes all installed in onpremise. ManageCat is launched to solve this problem. It provides a single complete platform to manage, monitor and troubleshoot the Tomcat servers from cloud.

In 5 Minutes, you can start to monitor your Apache Tomcat instances from cloud.

Start to Use ManageCat From Cloud

To start with ManageCat, you can simply fill the SaaS registration form from ManageCat Registration Page and the magic will start. After your registration, you will receive SaaS Account Key over email which will be used to register your Apache Tomcat servers. Registration email will also contain the links to download monitoring agents for your Apache Tomcat 6, 7 and 8 versions.

Register the Apache Tomcat Servers

To start monitoring, you have to download the monitoring agent from the links which are provided in the email that you received. Agent is a simple WAR archive which is named as console.war.  Simply deploy the console.war to your  monitored Apache Tomcat servers and configure the following properties in file of Tomcat.
  • com.managecat.controller.url :
  • com.managecat.collector.url  :
  • com.managecat.console.agent.groupname : Group name of the Tomcat server. Every Tomcat instance must belong to a group. If this parameter is not provided, monitored server instance will belong to a default-group.
  • com.managecat.console.agent.servername : User friendly server name of the agent. Must be unique among the same hosts, for example : Tomcat_Production.
  • com.managecat.console.agent.hostname : Host name of the monitored Tomcat server. This host name is used by SaaS Controller to communicate with the agent.SaaS controller must access the agent host.
  • com.managecat.console.agent.port : HTTP/S port of the monitored Tomcat server connector. This port is used by SaaS Controller instance to communicate with the agent, for example: 8080. This port must be opened in Firewall to access by the controller.
  • com.managecat.console.agent.contextname : console. (If you change the name of console.war to something else, you also have to change this accordingly.)
  • : true if your Tomcat uses secure HTTPS port. (default is false).
  • com.managecat.console.agent.accountkey : SaaS customer account key which is sent via email.
After you configure the above properties in or adding them as Java System properties, you have to restart the Apache Tomcat instance.  If you have successfully installed the agent, you will see a log like this in the Tomcat log file:
Jan 02, 2015 10:46:17 AM com.managecat.console.common.servlet.MultiTenantConsoleContextListener$ConnectorRunnable run
INFO: Successfully registered the agent AGENT_NAME with the controller. Registration is taken : 1234 ms
Starting to Monitor Your Server:
  • Open SaaS controller page from with the user name and password that you specified in registration form.
  • Click "Managed Servers" link from the controller menu,
  • You will see the servers in the Server Groups view.

You can click one of the registered server, then you will see the server properties in the table.

You can connect to the server view with clicking the "Connect" image. The new popup window will be opened. (If your browser not allow to open popups, you must enable to open popups.)

Below is the Server UI opened after you connect to the server.

Congratulations. Your installation of the agent is successful. You can also read User Manuals to get much more information.

Summary and Next Steps

Apache Tomcat is a great server but lacks of some management and monitoring capabilities. With ManageCat, you can easily start to monitor your servers from cloud in minutes. To get more information about the ManageCat please visit the web site. If you face with any problem in registration and your trial, please do not hesitate to contact with us from

Happy Monitoring

Gurkan Erdogdu

Tuesday, January 27, 2015

ManageCat Unleashes First Public Version of its Management Platform for Apache Tomcat, Apache TomEE and Apache Tomcat Based Application Servers

Los Angeles, California (PRWEB) January 27, 2015

ManageCat, a provider of management platform for Apache Tomcat, Apache TomEE and Apache Tomcat based Application Servers, today announced the general availability of its first version of next-generation management platform.
Founded by visionary entrepreneur Gurkan Erdogdu, also founder of some other IT companies and member of Apache and OW2 Foundations, ManageCat is founded to help his customers get complete control on their Apache Tomcat and Apache Tomcat based Application servers by the use of next-generation solution. ManageCat users can get complete control and visibility on their Apache Tomcat instances easier than before. Managecat has the following capabilities:
  • Management from a single User Interface
  • Monitoring of the most important metrics
  • Troubleshooting of the problems
“We have been working very hard on the first release of our next-generation management platform that can be deployed in cloud or on-premise,” said founder and CEO Gurkan Erdogdu. “This first release is for managing Apache Tomcat and Apache Tomcat based applications servers, but our vision is to bring a single management platform for everything, in cloud or on-premise. The first feedbacks that we get from our early access customers are very promising. We always listen our customers and shape our roadmap according to their needs.”

Version 2 of ManageCat, which is expected to bring intelligence to the platform will ship early in the second half of 2015.

How to Get ManageCat
 Get started with ManageCat in minutes by visiting the ManageCat website fora 15 day free trial, in-cloud or on-premise.

About ManageCat
According to latest researches, nearly 50% of the market is using Apache Tomcat for their applications, but there is no solution that is developed for the mission to manage, monitor and troubleshoot Apache Tomcat and Apache Tomcat based Application servers easily, in cloud or on-premise.

Managecat is founded to help his customers get complete control and visibilty into their Apache Tomcat instances with a next-generation solution. ManageCat users can now get visibility and control on their Apache Tomcat