Mailing List
Home
Forum Home
Cocoon - MVC web framework based on XML/XSL
Maven - Project building tool
Axis - Java SOAP implementation
Lucene - Full-featured text search engine APIs
Log4J - A log library
Fop - Create PDF, PCL, PS, SVG, XML driven by XSL formatting objects.
POI - Java Excel, Word and other Microsoft Office files manipulating library
Oracle database, Microsoft SQL server ...
MySQL - an open source database
Red Hat Linux Installation and Config discussions ...
Subjects
log4j warning: No appenders could be found
java security AccessControlException: access denied (java io FilePermission clie
java lang InstantiationException: org apache tools ant Main
Apache Axis Tutorial
Struts <logic iterate >
log4j properties How to parse outpu to multiple files
configuring log4j with BEA Weblogic 8 1
How to use XSL FOP Java together
JSP precompile
Servlet File Download dialog problem (IE6,Adobe 6 0)
Proposal: Adding jar manifest classpath in jar and war plugins
Unsupported major minor version 48 0 problem while running the an
   telope task
java security AccessControlException: access denied (java io FilePermission
axis wsdl2java Ant Task usage
net sf hibernate MappingException: Error reading resource: test/User hbm xml
Building EAR ANT Script for websphere 5 0
CREATING WAR Files
jsp data into Excel
Classpath problem
Jboss 3 2 3+ vs Tomcat Axis Question
RE: How to include jars and add them into the MANIFEST MF/Class Path
attribute
Printing problem
InstantiationException
Couldn 't find trusted certificate
Please : How can one install ant 1 6 0 under Eclipse 2 1 ?
Excel: Too many different cell formats
Running junit tests fails
XDoclet, Struts and Maven: Where to start? SOLUTION
1 3 final: now giving me java io FileNotFoundException (Too many
open files)
AXIS: tomcat timeout ?
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
java.security.AccessControlException: access denied (java.io.FilePermission

java.security.AccessControlException: access denied (java.io.FilePermission

2003-12-10       - By shadin_10-postings@(protected)

 Back
Reply:     1     2  

How do I change it? I didn't write the file but it came with axis.jar.

Can you please help me out here.

TX,
S P

You need to change your security.policy file. So that it reflects io
permission for your class

Dinesh Ganesh wrote:

> Hi,
>
> I have written a class which extends org.apache.axis.client.Service Source code of org.apache.axis.client.Service I
> get the following error:
>
>
>
> java.security.AccessControlException Source code of java.security.AccessControlException: access denied
> (java.io.FilePermission Source code of java.io.FilePermission client-config.wsdd read)
> at
> java.security.AccessControlContext Source code of java.security.AccessControlContext(AccessControlContext.java
(Compile \
> d  Code))
> at
> java.security.AccessController Source code of java.security.AccessController(AccessController.java(Compiled
> Code))
> at
> java.lang.SecurityManager Source code of java.lang.SecurityManager(SecurityManager.java(Compiled
> Code))
> at
> com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java
(Compil \
> ed  Code))
> at java.lang.SecurityManager Source code of java.lang.SecurityManager(SecurityManager.java(Compiled
> Code))
> at java.io.File Source code of java.io.File(File.java:519)
> at
> org.apache.axis.configuration.FileProvider Source code of org.apache.axis.configuration.FileProvider(FileProvider.java:152)
> at
> org.apache.axis.configuration.FileProvider Source code of org.apache.axis.configuration.FileProvider<init>(FileProvider.java:120)
> at
> org.apache.axis.configuration.DefaultEngineConfigurationFactory Source code of org.apache.axis.configuration.DefaultEngineConfigurationFactory
.getClientEngineConfi \
> g(DefaultEngineConfigurationFactory.java:131) at \
> org.apache.axis.client.Service Source code of org.apache.axis.client.Service<init>(Service.java:112) at
> com.tutorials.amazon.aws.AmazonSearchServiceLocator.<init>
(AmazonSearchServiceLocato \
> r.java:10) at bookList.doGet(bookList.java:41)
> snip snip snip
>
> I have not written the client-config.wsdd. It is using the one that
> comes with axis.jar.
>
> Any help will be greatly appreciated.
>
> S P
>



Sharmila Pandith
AIM: spandith
Yahoo: spandith
MSN: spandith
<DIV>How do I change it? I didn't write the file but it came with axis.jar.<
/DIV>
<DIV>&nbsp;</DIV>
<DIV>Can you please help me out here.</DIV>
<DIV>&nbsp;</DIV>
<DIV>TX,</DIV>
<DIV>S P</DIV>
<DIV>&nbsp;</DIV>
<DIV>You need to change your security.policy file. So that it reflects io <BR
>permission for your class<BR><BR>Dinesh Ganesh wrote:<BR><BR>&gt; Hi,<BR>&gt;
<BR>&gt; I have written a class which extends org.apache.axis.client.Service Source code of org.apache.axis.client.Service I
<BR>&gt; get the following error:<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; java
.security.AccessControlException: access denied <BR>&gt; (java.io.FilePermission Source code of java.io.FilePermission
client-config.wsdd read)<BR>&gt; at <BR>&gt; java.security.AccessControlContext Source code of java.security.AccessControlContext
.checkPermission(AccessControlContext.java(Compile \<BR>&gt; d&nbsp; Code))<BR>
&gt; at <BR>&gt; java.security.AccessController Source code of java.security.AccessController(AccessController
.java(Compiled <BR>&gt; Code))<BR>&gt; at <BR>&gt; java.lang.SecurityManager Source code of java.lang.SecurityManager.html>java.lang.SecurityManager Source code of java.lang.SecurityManager java.lang.SecurityManager Source code of java.lang.SecurityManager.java.html>Source code of <a href=http://www.docjar.com/docs/api/java/lang/SecurityManager.html>java.lang.SecurityManager</a> <a href=http://www.docjar.com/html/api/java/lang/SecurityManager.java.html><img src=/j.gif alt=' border=0>
.checkPermission(SecurityManager.java(Compiled <BR>&gt; Code))<BR>&gt; at <BR>
&gt; com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager
.java(Compil \<BR>&gt; ed&nbsp; Code))<BR>&gt; at java.lang.SecurityManager Source code of java.lang.SecurityManager.html>java.lang.SecurityManager Source code of java.lang.SecurityManager java.lang.SecurityManager Source code of java.lang.SecurityManager.java.html>Source code of <a href=http://www.docjar.com/docs/api/java/lang/SecurityManager.html>java.lang.SecurityManager</a> <a href=http://www.docjar.com/html/api/java/lang/SecurityManager.java.html><img src=/j.gif alt=' border=0>
.checkRead(SecurityManager.java(Compiled <BR>&gt; Code))<BR>&gt;
at java.io.File Source code of java.io.File(File.java:519)<BR>&gt; at <BR>&gt; org.apache.axis
.configuration.FileProvider.check(FileProvider.java:152)<BR>&gt; at <BR>&gt; org
.apache.axis.configuration.FileProvider.&lt;init&gt;(FileProvider.java:120)<BR>
&gt; at <BR>&gt; org.apache.axis.configuration.DefaultEngineConfigurationFactory Source code of org.apache.axis.configuration.DefaultEngineConfigurationFactory
.getClientEngineConfi \<BR>&gt; g(DefaultEngineConfigurationFactory.java:131) at
\<BR>&gt; org.apache.axis.client.Service Source code of org.apache.axis.client.Service&lt;init&gt;(Service.java:112) at <BR>
&gt; com.tutorials.amazon.aws.AmazonSearchServiceLocator.&lt;init&gt;
(AmazonSearchServiceLocato \<BR>&gt; r.java:10) at bookList.doGet(bookList.java
:41)<BR>&gt; snip snip snip<BR>&gt; <BR>&gt; I have not written the client
-config.wsdd. It is using the one that <BR>&gt; comes with axis.jar.<BR>&gt; <BR
>&gt; Any help will be greatly appreciated.<BR>&gt; <BR>&gt; S P <BR>&gt; <BR><
/DIV><BR><BR><FONT color=midnightblue><STRONG>Sharmila Pandith<BR></STRONG><
/FONT><FONT face=Verdana color=gray
size=1><STRONG>AIM</STRONG>:</FONT><FONT color=gray><FONT size=1><FONT face
=Verdana><EM> </EM>spandith<BR><STRONG>Yahoo</STRONG>: </FONT></FONT></FONT>
<FONT color=gray><FONT face=Verdana size=1>spandith<BR><STRONG>MSN</STRONG>:
spandith</FONT></FONT>