On Wed, Nov 12, 2008 at 3:24 AM, Ramesh Vishwanatham <[EMAIL PROTECTED]
> wrote:

>
> All
> I have a built simple web service and trying to deploy axis2 1.3 version in
> WAS6.0 environment running Java 1.4.2 under security manager and getting
> following exception:
>
> Stack Trace:
>
> java.security.AccessControlException: access denied (java.io.FilePermission
> "..../WEB-INF/scriptServices" read)
>
>
> Looks like this problem was reported earlier and may be got fixed in later
> releases.
>
> *Resolved: (AXIS2-3816) AccessControlException when running with
> Java2Security*
>
> And also I find out following comments regarding this problem:
>  *"this problem gets solved when i give the Web Application AllPermissions
> from the policy file but i cant get why this loose permission is required "
> *
> *by sandeep khurana on May 20th 2008.*
>
> We can not use later version "1.4" or "1.4.1" if this is fixed in one of
> these versions because of jvm version we are using. Please help me by
> pointing what needs to be specified in the policy file to be able to solve
> with axis2 1.3 version.


At the deployment time Axis2 reads the Axis2.xml and services from the
filesystem. So it needs to have File System read permission. Try granting
the file read permission in the policy file.


thanks,
Amila.

>
>
>
> Thanks in Advance
>
> Ramesh Vishwanatham
> ________________________________________________________
> DTCC DISCLAIMER: This email and any files transmitted with it are
> confidential and intended solely for the use of the individual or entity to
> whom they are addressed. If you have received this email in error, please
> notify us immediately and delete the email and any attachments from your
> system. The recipient should check this email and any attachments for the
> presence of viruses. The company accepts no liability for any damage caused
> by any virus transmitted by this email.




-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Reply via email to