TomEE in IDEs


A small post with screenshots to show how to run a TomEE server in main IDEs (Intellij IDEA, Eclipse, Netbeans).

This article only uses Tomcat connectors (since that’s the TomEE philosophy).

Eclipse

Once you got a web project simply go to WTP, add a new server, select a Tomcat 7 server, add your project to the server and run it.

Note: here the logs are red because WTP doesn’t use the logging.properties in conf/ by default. Here is the tip to make it working as expected: http://openejb.apache.org/tomee-logging-in-eclipse.html

Intellij IDEA

The idea here is the same, add a new Tomcat server, set the catalina home and add your application (use war-exploded, otherwise TomEE will extract it itself ;)):

Netbeans

First go to services tab, add a new Tomcat server, configure the catalina home and a user with the manager-gui permission and then run your application, it will ask you for a server, select the created one and here we are :).

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s