You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ezzakrem <ez...@hotmail.fr> on 2009/05/29 14:10:47 UTC

Tomcat 5.5 and fop

Hello,
i'm using Apache Fop to create PDF file from a xml and xsl files in debian
lenny, in command line every thing is ok but when i try to make fop work
under tomcat i have a problem : 
i have already build Fop project with Ant, i have deployed the Fop.war file
into tomcat
when i go to http://localhost:8180/fop

i have this errors : 
description Le serveur a rencontré une erreur interne () qui l'a empêché de
satisfaire la requête.
exception
javax.servlet.ServletException: "Servlet.init()" pour la servlet Fop a
généré une exception
....

cause mère

java.security.AccessControlException: access denied
(java.util.PropertyPermission user.home read)

java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
	java.security.AccessController.checkPermission(AccessController.java:546)
	java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
....

Could dome body help me ? i will be really grateful.

-- 
View this message in context: http://www.nabble.com/Tomcat-5.5-and-fop-tp23778813p23778813.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Tomcat 5.5 and fop

Posted by Martin Gainty <mg...@hotmail.com>.
$CATALINA_HOME/conf/catalina.policy contenu

grant { 
    permission java.util.PropertyPermission "user.home", "read";
....
}

?
Bon Chance
Martin 
Etats Unis
(GMT+5) cette semaine
______________________________________________ 
Note de déni et de confidentialité
ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.




> Date: Fri, 29 May 2009 05:10:47 -0700
> From: ezzakrem@hotmail.fr
> To: users@tomcat.apache.org
> Subject: Tomcat 5.5 and fop
> 
> 
> Hello,
> i'm using Apache Fop to create PDF file from a xml and xsl files in debian
> lenny, in command line every thing is ok but when i try to make fop work
> under tomcat i have a problem : 
> i have already build Fop project with Ant, i have deployed the Fop.war file
> into tomcat
> when i go to http://localhost:8180/fop
> 
> i have this errors : 
> description Le serveur a rencontré une erreur interne () qui l'a empêché de
> satisfaire la requête.
> exception
> javax.servlet.ServletException: "Servlet.init()" pour la servlet Fop a
> généré une exception
> ....
> 
> cause mère
> 
> java.security.AccessControlException: access denied
> (java.util.PropertyPermission user.home read)
> 
> java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
> 	java.security.AccessController.checkPermission(AccessController.java:546)
> 	java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
> ....
> 
> Could dome body help me ? i will be really grateful.
> 
> -- 
> View this message in context: http://www.nabble.com/Tomcat-5.5-and-fop-tp23778813p23778813.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

_________________________________________________________________
Hotmail® has ever-growing storage! Don’t worry about storage limits.
http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage1_052009