Recompiling Tomcat May Cause Runtime Problems

September 24 2009

0 comments 0
motif

It’s a very good thing that Tomcat is open source software. Because it is open, it enjoys broad stand-alone adoption, plus it has been incorporated as part of many other application server products, both commercial and open source. Why reinvent the wheel when Tomcat works great as a generic web container, and the source code is free? Many smart application server teams have chosen to embed Tomcat as their web container. They pull a copy of the Tomcat source code that they know works well, put it into their own source tree, and hook Tomcat’s Ant build system into their own, and rebuild Tomcat as part of their project.

Overcoming XML Validation Errors in Eclipse 3.5

September 21 2009

23 comments 0
motif

When I recently switched to Eclipse Galileo, I noticed that a Mule configuration file that had previously validated correctly now had validation errors. Since I did not change the file, something in Galileo’s validation of XML files must have changed.

The symptoms are these:

Tomcat Performance Tuning Tips

September 16 2009

2 comments 0
motif

I often get questions about how to tune Tomcat for better performance.  It is usually best to answer this only after first spending some time understanding the installation of Tomcat, the web site’s traffic level, and the web applications that it runs.  But, there are some general performance tips that apply regardless of these important details.  In general, Tomcat performs better when you:

Whitepaper: Migrating from WebLogic to Tomcat

September 14 2009

1 comment. 0
motif

While it has been commonplace (and well documented) for IT organizations to migrate Java EE applications initially developed on Apache Tomcat upward to commercial Java application servers, such as Oracle’s WebLogic, in recent years the trend has been reversing. There are a number of compelling reasons for creating new web applications using today’s deployment architectures on Tomcat instead of WebLogic, but perhaps even more interesting is the trend to migrate existing Java EE applications from WebLogic to Tomcat.

MuleSoft has released a whitepaper that explore the reasons for migrating from WebLogic to Tomcat, considerations for making the decision, and techniques to be followed for a successful migration.

LegStar for Mule Patterns

motif

Introduction

A pattern is a generic solution to a generic problem that is likely to occur over and over again. Patterns, for the purpose of this article, form a language that system designers can use like recipes: “if you find this type of problem, then you can apply this type of solution”.

In the domain of applications integration, patterns are particularly helpful. Application integration is complex, it typically involves several different systems, developers with different backgrounds, different organizations, etc. As a result of that complexity, the problems to solve are many. The introduction of Enterprise Integration Patterns (EIP) by Gregor Hohpe and Bobby Woolf [1] is an excellent coverage of patterns for application integration. We will refer extensively to EIP in this article.

Using Quartz to Trigger a Service

June 29 2009

2 comments 0
motif

When you’re working with Mule, you’re usually concerned about responding to messages that come in and making sure you’re routing them correctly from service to service. But what if you just want to trigger a service component on a set interval? What if its method doesn’t require any incoming data at all?

Using Mule for ETL

June 18 2009

6 comments 0
motif

The Mule framework provides all the extract/transform/load (ETL) tools you need for connecting to data sources, extracting and transforming data, and passing it along on any number of channels.

Having Some REST with Mule’s Power Tools

June 9 2009

1 comment. 0
motif

This is a guest blog entry by David Dossot, co-author of the soon-to-be-released book Mule in Action.

I recently had the opportunity to integrate a bunch of REST resources and came to further appreciate what I consider to be Mule’s power tools: scripting and expressions (there is a third tool in my power box, Spring, but I won’t discuss it here).

Scripting, and more precisely Groovy, has been key to this REST integration for:

  • Generating the desired request microformats
  • Processing the HTTP responses

Galaxy on EC2 via Cloud Foundry in 10 minutes!

May 24 2009

0 comments 0
motif

A couple of months ago, I reviewed the process for deploying Mule Galaxy, our SOA governance platform, onto Amazon’s EC2. Not long after that, I was introduced to cloudtools, a set of tools for deploying, managing, and testing Java EE applications on EC2. With these tools, it becomes trivial to deploy an application like Mule Galaxy to the cloud in minutes, rather than hours.

Error Handling in Mule

May 18 2009

0 comments 0
motif

Mule provides different approaches to handling errors. You can set exception strategies for connectors, models, and individual services. You can use the exception router to specify where the message goes when an error occurs. And you can use the exception type filter for fine-grained control. Following is an introduction to these approaches.