Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse doesn't recognize TomEE
Eclipse doesn't recognize TomEE [message #1703542] Sun, 02 August 2015 22:42 Go to next message
Marcel Korpel is currently offline Marcel KorpelFriend
Messages: 2
Registered: July 2015
Junior Member
According to 'TomEE and Eclipse' on Apache's website, it should be easy to run TomEE on Eclipse. I downloaded version 1.7.2 of TomEE-webproject from TomEE's download section and unpacked it in my home directory, as described in the YouTube-video on 'TomEE and Eclipse', and tested by running ~/apache-tomee-webprofile-1.7.2/bin/startup.sh. When navigating to localhost:8080, everything seems fine (the page displays "Apache Tomcat (TomEE)/7.0.62 (1.7.2)").

However, when trying to install a new server in Eclipse, by choosing New Runtime... in the new Dynamic Web Project dialog and browsing for a Tomcat 7.0 directory, I can't select the root of the tomcat-webprofile directory (Eclipse complains that "unknown version of Tomcat was specified") and 'Finish' remains grey (and a Tomcat version is suggested to download and install). Apparently, Eclipse doesn't recognize the TomEE directory as a Tomcat directory.

I'm using Eclipse 4.5.0 (Mars) in Arch Linux. Tomcat 7 and 8 installed by the system are correctly recognized.

NOTE: Sorry for not including hyperlinks, but I'm not yet allowed to post links to non-eclipse.org sites.
Re: Eclipse doesn't recognize TomEE [message #1703630 is a reply to message #1703542] Mon, 03 August 2015 18:04 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3071
Registered: July 2009
Senior Member
I just followed the instructions at http://tomee.apache.org/tomee-and-eclipse.html and it seemed to work fine. Here's a screen shot:
index.php/fa/22755/0/

Do you see anything noticeably different than what you tried?
  • Attachment: Untitled.png
    (Size: 117.20KB, Downloaded 5649 times)
Re: Eclipse doesn't recognize TomEE [message #1703636 is a reply to message #1703630] Mon, 03 August 2015 18:24 Go to previous messageGo to next message
Marcel Korpel is currently offline Marcel KorpelFriend
Messages: 2
Registered: July 2015
Junior Member
Yes: your TomEE directory seems to be recognized as a Tomcat installation (the 'Download and Install...' button is de-activated and there's no proposed Tomcat version to download).

To be frank, I got a bit irritated by bad support of Eclipse for servlet containers capable of JSF (if I'm clear; tried Glassfish but got tons of NullPointerExceptions) and Maven problems, so now I'm trying NetBeans + Glassfish, which work fine, so far. The IDE is not as neat and configurable as Eclipse, but they work fine together.
Re: Eclipse doesn't recognize TomEE [message #1703640 is a reply to message #1703636] Mon, 03 August 2015 18:44 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3799
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 08/03/2015 12:24 PM, Marcel Korpel wrote:
> [snip]
> To be frank, I got a bit irritated by bad support of Eclipse for servlet
> containers capable of JSF (if I'm clear; tried Glassfish but got tons of
> NullPointerExceptions) and Maven problems, so now I'm trying NetBeans +
> Glassfish, which work fine, so far. The IDE is not as neat and
> configurable as Eclipse, but they work fine together.

Marcel,

A few years ago, I took some careful notes as I made my way through some
JSF stuff. While I experienced some frustration, it was more with the
general Faces community and not at all with Eclipse. I would have said
then that Eclipse was just the table top; the different Faces proposals
(Rich, My-, etc.) were frustratingly documented, ill available, hard to
find a complete set, etc. It's not so much Eclipse's fault.

I assume you downloaded Eclipse IDE for Java EE Developers. I used just
plain Tomcat.

In any case, and I know these notes are several years old, feel free to
look through them for any help or clues you might find (bottom/middle
half of left column).

http://www.javahotchocolate.com/topics.html

Lars Vogel's got some great tutorials on web programming including
Tomcat and JSF:

http://www.vogella.com/tutorials/web.html

Hope this helps and doesn't confuse.

Cheers
Previous Topic:Incompatible JVM
Next Topic:New Windows 7 Install Eclipse Mars
Goto Forum:
  


Current Time: Thu Sep 19 12:44:52 GMT 2019

Powered by FUDForum. Page generated in 0.02752 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top