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-06       - By kevinc@(protected)

 Back
Reply:     1     2  

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
(Compiled
> 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
(Compiled
> 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
.getClientEngineConfig(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>
(AmazonSearchServiceLocator.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
>
>  
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----
> Do you Yahoo!?
> New Yahoo! Photos - easier uploading and sharing
> <http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=21260/*http://photos.yahoo
.com>



--

Kevin J Citron
Sr. Object Imagineer
Optimized Objects, Inc.
EL Paso, Texas 79930
(915) 565-7785/566-2403


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
 <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
 <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
You need to change your security.policy file. So that it reflects io
permission for your class<br>
<br>
Dinesh Ganesh wrote:<br>
<blockquote type="cite"
cite="mid20031207010617.84208.qmail@(protected)">
 <div>Hi,</div>
 <div>&nbsp;</div>
 <div>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:</div>
 <div>&nbsp;</div>
 <p><br>
java.security.AccessControlException Source code of java.security.AccessControlException: access denied
(java.io.FilePermission Source code of java.io.FilePermission client-config.wsdd read)<br>
&nbsp;at
java.security.AccessControlContext Source code of java.security.AccessControlContext(AccessControlContext.java
(Compiled
Code))<br>
&nbsp;at
java.security.AccessController Source code of java.security.AccessController(AccessController.java(Compiled
Code))<br>
&nbsp;at
java.lang.SecurityManager Source code of java.lang.SecurityManager(SecurityManager.java(Compiled
Code))<br>
&nbsp;at
com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java
(Compiled
Code))<br>
&nbsp;at java.lang.SecurityManager Source code of java.lang.SecurityManager(SecurityManager.java(Compiled
Code))<br>
&nbsp;at java.io.File Source code of java.io.File(File.java:519)<br>
&nbsp;at
org.apache.axis.configuration.FileProvider Source code of org.apache.axis.configuration.FileProvider(FileProvider.java:152)<br>
&nbsp;at
org.apache.axis.configuration.FileProvider Source code of org.apache.axis.configuration.FileProvider&lt;init&gt;(FileProvider.java:120)
<br>
&nbsp;at
org.apache.axis.configuration.DefaultEngineConfigurationFactory Source code of org.apache.axis.configuration.DefaultEngineConfigurationFactory
.getClientEngineConfig(DefaultEngineConfigurationFactory.java:131)<br>
&nbsp;at org.apache.axis.client.Service Source code of org.apache.axis.client.Service&lt;init&gt;(Service.java:112)<br>
&nbsp;at
com.tutorials.amazon.aws.AmazonSearchServiceLocator.&lt;init&gt;
(AmazonSearchServiceLocator.java:10)<br>
&nbsp;at bookList.doGet(bookList.java:41)<br>
snip snip snip</p>
 <p>I have not written the client-config.wsdd. It is using the one
that comes with axis.jar.</p>
 <p>Any help will be greatly appreciated.</p>
 <p>S P&nbsp;</p>
 <div>&nbsp;</div>
 <hr size="1">Do you Yahoo!?<br>
 <a
href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=21260/*http://photos
.yahoo.com">New
Yahoo! Photos - easier uploading and sharing</a>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--

Kevin J Citron
Sr. Object Imagineer
Optimized Objects, Inc.
EL Paso, Texas 79930
(915) 565-7785/566-2403</pre>
</body>
</html>