Bonjour,
Je viens de déployer axis2 sur mon serveur tomcat5, mais j'ai des problèmes de droits. Je dois lancer Tomcat 5 en désactivant le Security Manager.
Code :
- exception
- org.apache.jasper.JasperException: access denied (java.util.PropertyPermission om.factory read)
- org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
- org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
- org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
- javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
- sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
- sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
- java.lang.reflect.Method.invoke(Method.java:585)
- org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
- java.security.AccessController.doPrivileged(Native Method)
- javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
- org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
- org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
- cause mère
- java.security.AccessControlException: access denied (java.util.PropertyPermission om.factory read)
- java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
- java.security.AccessController.checkPermission(AccessController.java:427)
- java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
- java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285)
- java.lang.System.getProperty(System.java:627)
- org.apache.axis2.om.FactoryFinder.findFactory(FactoryFinder.java:48)
- org.apache.axis2.om.FactoryFinder.findOMFactory(FactoryFinder.java:115)
- org.apache.axis2.om.OMAbstractFactory.getOMFactory(OMAbstractFactory.java:34)
- org.apache.jsp.HappyAxis_jsp.createEnvelope(HappyAxis_jsp.java:306)
- org.apache.jsp.HappyAxis_jsp.inVokeTheService(HappyAxis_jsp.java:316)
- org.apache.jsp.HappyAxis_jsp._jspService(HappyAxis_jsp.java:497)
- org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
- javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
- org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
- org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
- org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
- javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
- sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
- sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
- java.lang.reflect.Method.invoke(Method.java:585)
- org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
- java.security.AccessController.doPrivileged(Native Method)
- javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
- org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
- org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
|
Comment puis-je faire pour résoudre ce problème ?
J'utilise Debian linux, Tomcat 5, axis2 (0.94)
Merci pour votre aide.