tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Eggers <>
Subject Re: Update the Tomcat JVM configuration
Date Fri, 06 Dec 2013 23:56:26 GMT
On 12/6/2013 3:28 PM, Frank Lugalla wrote:
> Hello  All,
> I am  updating  the Tomcat JVM configuration to enable java assertions as below:
> a.       Once tomcat server is configured in local eclipse,I   pressed  F3 on it.
> b.      Click on Open launch configuration link.
> c.       Go to Arguments tab.
> d.      Add -ea at the beginning of JVM arguments.
> Then  Finally  I  restarted  my   tomcat
> Here is  what  I am  getting....
>                                                                    Server Tomcat v7.0
Server at localhost failed to start.
>                                                                   Error: Could not find
or load main class -ea
> Please  anybody  who knows  about this  problem.................?Thank  you
> Frank
> This message and the information contained herein is proprietary and confidential and
subject to the Amdocs policy statement,
> you may review at

Works for me:

OS: Windows 7 Home Premium 64 bit
IDE: Eclipse Kepler J2EE (with lots of plugins)
JDK: JDK 1.7.0_45
Tomcat: 7.0.42 (launched from within Eclipse)

VM arguments in the Arguments tab of the Edit launch configuration 
properties window:




Verified by looking at the running Tomcat with VisualVM

. . . just my two cents

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message