tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: JSP 2.0 examples throw security exception - Need help with configuration
Date Mon, 04 Jan 2010 12:55:50 GMT
2010/1/4 Shanmugham, Dayanand (IE10) <>:
> Hi All,
> I need help with resolving following error - staketrace is shown below.
> Following is what I did:
> 1.      Downloaded TC 6.0 and extracted into D:\TC60
> 2.      Downloaded "Eclipse Java EE IDE for Web Developers." (or)
> Eclipse 3.5 with J2EE Support and created instance of Tomcat Server to
> point to "D:\TC60"
> 3.      Started Tomcat instance
> 4.      All Servlets and JSP 1.2 examples work fine but when I run the
> JSP 2.0 examples, I get the following security exception messages

You missed some steps/details from your description.
When I do the same, Eclipse creates an empty Tomcat instance, without
any Examples apps deployed. Also, it does not run with SecurityManager
enabled by default.

> 5.      I removed the comments from "tomcat-users.xml" file

> staketrace is shown below.

There is nothing useful in the stacktrace. The important information
is from where the AccessController.checkPermission call was made, and
that is not available.

> The full stack trace of the root cause is available in the Apache
> Tomcat/6.0.20 logs.

By the way, the logs will be in
.metadata/.plugins/org.eclipse.wst.server.core/tmp0/logs in your

What are the exact version of Sun JRE that you are using? I see that
Tomcat version is 6.0.20.

Are all the examples failing, or you have a specific sequence of steps
that causes the failure?

You may want to try 6.0.22 release candidate, see the thread here:

Best regards,
Konstantin Kolinko

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

View raw message