Roparzh,

On 7/28/2017 12:37 AM, Roparzh Hemon wrote:
> On Thu, Jul 27, 2017 at 5:35 PM, Mark Eggers 
> <its_toas...@yahoo.com.invalid> wrote:
> 
>> Images are stripped. Please type out the text.
> 
> Sorry about that, the full error message said
> 
> 'Starting Tomcat v9.0 Server at localhost (2)' has encountered a
> problem Server Tomcat v9.0 Server at localhost (2) failed to start.
> 
> Thanks for all the rest of your feedback. I'll try to switch to 
> Tomcat 8.15.6 and see if it works.

That's an annoyingly uninformative error message.

There are two other places to look for error messages that might be more
informative. This all depends on how you've added Tomcat to Eclipse. I
am going to assume that you picked the 'use workspace metadata' option
since it's the default.

1. Console tab

When you start Tomcat, you'll see a bunch of messages in the console tab
at the bottom of the IDE. This appears to be catalina.out.

Try starting Tomcat again, and copy / paste those messages into a mail
message.

2. Any other logs

In the console tab, one of the lines will be something similar to the
following:

-Dcatalina.base=C:\Users\username\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0

This is Eclipse setting $CATALINA_BASE. You' find the entire structure
of Tomcat below the directory listed above. So additional log files will
be found in (for example):

C:\Users\username\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\logs

Since you're on a Macintosh, the path will obviously look different. I
doubt that there are any logs there if Tomcat does not start up, but it
doesn't hurt to look.

My initial guess is that you have Tomcat running as a service left over
from your previous attempts and that it is bound to port 8080 already.
Make sure that your Tomcat service is stopped before you start Tomcat
from within Eclipse.

. . . just my two cents
/mde/


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to