Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [higgins-dev] Exception when deploying TokenService

Sorry !

Actually it helped ! Thanks Alexander.

I got one error left during deployment, here is some catalina.log :

"
15:58:31,209 ERROR StandardContext.loadOnStartup (3953): La servlet /TokenService a g←n←r← une exception "load()"
java.lang.ExceptionInInitializerError
        at org.apache.commons.discovery.jdk.JDKHooks.<clinit>(JDKHooks.java:75)
[...]
Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission createClassLoader)
        at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
"

Regards

-----Message d'origine-----
De : Ritaine François-Julien
Envoyé : mercredi 4 février 2009 15:51
À : 'Alexander Yuhimenko'; Higgins (Trust Framework) Project developer discussions
Objet : RE: [higgins-dev] Exception when deploying TokenService

Thanks for the answer. I checked my catalina.policy but it didn't help...

What seems really strange to me is that there is no "logging.properties" file in the folder tomcat is searching.
I don't know if the error comes from tomcat itself or from the deployment of Higgins. Please note that I'm working on a new tomcat 5.5 so all config parameters are the default ones.


-----Message d'origine-----
De : Alexander Yuhimenko [mailto:ayuhimenko@xxxxxxxxxxxxxxxx]
Envoyé : mercredi 4 février 2009 15:02
À : Higgins (Trust Framework) Project developer discussions
Cc : Ritaine François-Julien
Objet : Re: [higgins-dev] Exception when deploying TokenService

Hello,

I'm not sure, but it looks like your tomcat policy deny access.  Check catalina.policy file ($CATALINA_BASE/conf/catalina.policy).

http://www.mkyong.com/tomcat/tomcat-javasecurityaccesscontrolexception-access-denied-loggingproperties-read/ may be useful.

--
thanks,
Alexander Yuhimenko <AYuhimenko@xxxxxxxxxxxxxx>

On Wed, 4 Feb 2009 14:40:22 +0100
Ritaine François-Julien <francois-julien.ritaine@xxxxxxxxxxxxxx> wrote:

> Hi,
>
> I'm stuck while trying to deploy Higgins' IdP, following precisely the Wiki (http://wiki.eclipse.org/Deploy_Token_Service). Here are a few lines from my tomcat log :
>
> "4 févr. 2009 14:18:50 org.apache.commons.modeler.Registry registerComponent
> SEVERE: Error registering Catalina:type=Valve,name=StandardContextValve,path=/TokenService,host=localhost
> javax.management.MBeanException: Cannot instantiate ModelMBean of class org.apache.commons.modeler.BaseModelMBean
>     at org.apache.commons.modeler.ManagedBean.createMBean(ManagedBean.java:430)
>     at ...
> [...]
> Caused by: java.security.AccessControlException: access denied (java.io.FilePermission /var/lib/tomcat5.5/webapps/TokenService/WEB-INF/classes/logging.properties read)
>     at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
> [...]
> "
>
> It seems like it's trying to read a "logging.properties" file which does not exist in "TokenService/WEB-INF/classes/", however, there's a "log4j.properties" in this directory...
>
> Any idea of what I should try to make it run ? If you need more details please feel free to ask.
>
> Thanks in advance
> Regards
>
>
> ________________________________
>
> Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité du groupe Atos Origin ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.
>
> This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.




Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité du groupe Atos Origin ne pourra être recherchée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Origin group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.

Back to the top