tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefán F. Stefánsson <>
Subject RE: Réf. : Embedding Tomcat inside Java app.
Date Wed, 14 Feb 2001 14:58:58 GMT
Try giving the full path of the policy file as a parameter to the jvm.


java<full_path_to>/ips.policy myAppWithTomcat

Also note the two equal signs.  This is important.  Do NOT use just one
equal sign.  Also I'm attatching a tomca.policy file that grants all
permission to all codebases.  This may not be a good idea to do in
production but for development it should be fine.

Regards, Stefan

-----Original Message-----
From: Hristo Katsarski []
Sent: 14. febrúar 2001 14:12
Subject: Re: Réf. : Embedding Tomcat inside Java app.

Hi Nicolas,
I've tried a lot of approaches (including giving permissions) but -- no
success so far.
Did you succeed embedding Tomcat?


-----Original Message-----
From: JULE, Nicolas - DSIA <>
To: tomcat-user <>
Date: Wednesday, February 14, 2001 10:58 AM
Subject: Réf. : Embedding Tomcat inside Java app.

Hi ,
Have you try to  adapt  your   tomcat.policy  file ?
something like:

grant codeBase "file:${tomcat.home}/webapps/ROOT" {  "*" ,  read)


De : Hristo Katsarski@hristo le 14/02/2001 09:32
Pour : Hub
cc :
Faxer à:
Objet : Embedding Tomcat inside Java app.

Hi folks,

I'm trying to embed Tomcat inside Java application. At the time of
context init,
I get exception, stating that I've no read right on file
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 access denied
  D:\jakarta-tomcat-3.2.1\webapps\ROOT\WEB-INF\web.xml read)
  at ........

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


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

Ce message électronique et tous les fichiers attachés qu'il contient
sont confidentiels et destinés exclusivement à l'usage de la personne
à laquelle ils sont adressés. Si vous avez reçu ce message par erreur,
merci de le retourner à son émetteur. Les idées et opinions présentées
dans ce messages sont celles de son auteur, et ne représentent pas
nécessairement celles du Groupe HAYS plc ou d'une quelconque de ses
La publication, l'usage, la distribution, l'impression ou la copie non
autorisée de ce message et des attachements qu'il contient sont

Nous vous informons également que nous avons vérifié l'absence de virus
ce message mais que, malgré ce contrôle, nous ne saurions être tenus
responsables d'éventuels dégâts occasionnés par un virus non détecté.

This e-mail and any attached files are confidential and intended
solely for the use of the individual to whom it is addressed. If you
received this email in error please send it back to the person that sent
to you. Any views or opinions presented are solely those of author and
do not necessarily represent those the HAYS plc group or any of its
companies. Unauthorized publication, use, dissemination, forwarding,
or copying of this email and its associated attachments is strictly

We also inform you that we have checked that this message does not
any virus but we decline any responsability in case of any damage caused
by an a non detected virus.


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

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

View raw message