Hi,

I developed an application with Cocoon/XSP tecnologies, and now I have to
call an "RMI method" within this application (This method has been developed
by another person).

When I call the RMI method from a stand alone application all is OK. If I
call the RMI method from XSP (or JSP, or Servlet) the compiler return me the
following error:

org.apache.cocoon.processor.ProcessorException: Could not associate
stylesheet to document:  error reading
C:\foo\Tomcat\webapps\Cocoon\samples\Smit\xml2html.xsl:
java.security.AccessControlException: access denied (java.io.FilePermission
C:\foo\Tomcat\webapps\Cocoon\samples\Smit\xml2html.xsl read)
 at
org.apache.cocoon.processor.xslt.XSLTProcessor.getStylesheet(XSLTProcessor.j
ava:217)
 at
org.apache.cocoon.processor.xslt.XSLTProcessor.process(XSLTProcessor.java:10
8)
 at org.apache.cocoon.Engine.handle(Engine.java, Compiled Code)
 at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
 at org.apache.tomcat.core.Handler.service(Handler.java:286)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
 at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
 at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
Compiled Code)
 at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
Compiled Code)
 at java.lang.Thread.run(Thread.java:479)

 Why? How can I do this? How have I to set for avoid the Security Problem?

Thanks



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to