  | |  | 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 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 I > get the following error: > > > > java.security.AccessControlException : access denied > (java.io.FilePermission client-config.wsdd read) > at > java.security.AccessControlContext (AccessControlContext.java (Compile \ > d Code)) > at > java.security.AccessController (AccessController.java(Compiled > Code)) > at > java.lang.SecurityManager (SecurityManager.java(Compiled > Code)) > at > com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java (Compil \ > ed Code)) > at java.lang.SecurityManager (SecurityManager.java(Compiled > Code)) > at java.io.File (File.java:519) > at > org.apache.axis.configuration.FileProvider (FileProvider.java:152) > at > org.apache.axis.configuration.FileProvider <init>(FileProvider.java:120) > at > org.apache.axis.configuration.DefaultEngineConfigurationFactory  .getClientEngineConfi \ > g(DefaultEngineConfigurationFactory.java:131) at \ > 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> </DIV> <DIV>Can you please help me out here.</DIV> <DIV> </DIV> <DIV>TX,</DIV> <DIV>S P</DIV> <DIV> </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>> Hi,<BR>> <BR>> I have written a class which extends org.apache.axis.client.Service I <BR>> get the following error:<BR>> <BR>> <BR>> <BR>> java .security.AccessControlException: access denied <BR>> (java.io.FilePermission  client-config.wsdd read)<BR>> at <BR>> java.security.AccessControlContext  .checkPermission(AccessControlContext.java(Compile \<BR>> d Code))<BR> > at <BR>> java.security.AccessController (AccessController .java(Compiled <BR>> Code))<BR>> at <BR>> java.lang.SecurityManager .html>java.lang.SecurityManager java.lang.SecurityManager .java.html> ' border=0> .checkPermission(SecurityManager.java(Compiled <BR>> Code))<BR>> at <BR> > com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager .java(Compil \<BR>> ed Code))<BR>> at java.lang.SecurityManager .html>java.lang.SecurityManager java.lang.SecurityManager .java.html> ' border=0> .checkRead(SecurityManager.java(Compiled <BR>> Code))<BR>> at java.io.File (File.java:519)<BR>> at <BR>> org.apache.axis .configuration.FileProvider.check(FileProvider.java:152)<BR>> at <BR>> org .apache.axis.configuration.FileProvider.<init>(FileProvider.java:120)<BR> > at <BR>> org.apache.axis.configuration.DefaultEngineConfigurationFactory  .getClientEngineConfi \<BR>> g(DefaultEngineConfigurationFactory.java:131) at \<BR>> org.apache.axis.client.Service <init>(Service.java:112) at <BR> > com.tutorials.amazon.aws.AmazonSearchServiceLocator.<init> (AmazonSearchServiceLocato \<BR>> r.java:10) at bookList.doGet(bookList.java :41)<BR>> snip snip snip<BR>> <BR>> I have not written the client -config.wsdd. It is using the one that <BR>> comes with axis.jar.<BR>> <BR >> Any help will be greatly appreciated.<BR>> <BR>> S P <BR>> <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>
|
|
 |