tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hristo Katsarski" <hri...@riflexo.com>
Subject Embedding Tomcat inside Java app.
Date Wed, 14 Feb 2001 08:32:04 GMT
Hi folks,

I'm trying to embed Tomcat inside Java application. At the time of "/ROOT"
context init,
I get exception, stating that I've no read right on file "server.xml"
I am really wondering what is the CORRECT way to embed Tomcat.
Here is part of the output I get:
  ERROR reading D:\jakarta-tomcat-3.2.1\webapps\ROOT\WEB-INF\web.xml
  java.security.AccessControlException: access denied
(java.io.FilePermission
  D:\jakarta-tomcat-3.2.1\webapps\ROOT\WEB-INF\web.xml read)
  at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:231)
  at ........

Anyone who, suceeded in embeddig Tomcat, please give me some clue.
Thanks in advance

Hristo


Mime
View raw message