JSP AccessControlException error

Поиск
Список
Период
Сортировка
Искать

JSP AccessControlException error

От:
Roj Niyogi <niyogi@pghoster.com>
Дата:
Hi folks,

For the life of me, I cannot figure out why Tomcat would through an 
AccessControlException error that can be seen by visiting the following URL:

http://www.grupo-sinapsis.com/test/database_1.jsp

I have a feeling it has to do with the catalina.policy file but I'm not 
sure where to begin as far as pinning down the problem.

Any help would be fantastic. Thanks!

Roj

-- 
niyogi@pghoster.com

pgHoster - PostgreSQL Web Hosting & Consulting
www.pghoster.com


Re: JSP AccessControlException error

От:
Rainer Klute <rainer.klute@gmx.de>
Дата:
> I have a feeling it has to do with the catalina.policy file but I'm not 
> sure where to begin as far as pinning down the problem.

You are right: It has to do with the catalina.policy file. You have to check
the rules to ensure that Tomcat resp. the Servlet/JSP page is allowed to
resolve a host name. Your current setup forbids this, as you can see from the
first line in the stack trace.

Best regards
Rainer Klute

-- 
                   RAINER KLUTE IT-CONSULTING
  Dipl.-Inform.
  Rainer Klute     klute@rainer-klute.de
  Körner Grund 24  Telefon: +49 172 2324824
D-44143 Dortmund   Telefax: +49 231 5349423

+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!

FAQ