I tried it without using Eclipse too. it gives me the same error. i have put
Axis2 jars in my WEB-INF/lib folder. 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.

The folder that is throwing a read exception does not  exist in the Web
Application. It also happens sometime that there is same exception of read
error from a class file that does not exist in the WEB-INF/classes folder
but it exists in a jar(axis2 jars) in the WEB-INF/lib folder. I dont why
those classes are not loaded from the jars and tried to get loaded from the
classes folder only.

please help


Thilina Gunarathne wrote:
> 
> It seems like this is something specific to a eclipse plugin.. Try
> installing Axis2 in a separate servlet container like Tomcat and
> deploying your web services in there..
> 
> thanks,
> Thilina
> 
> On Thu, May 15, 2008 at 5:21 AM, sandeep_khurana
> <[EMAIL PROTECTED]> wrote:
>>
>> I have made a webservice using Axis2 1.3 and the latest Axis2 1.4 and in
>> both
>> the cases I am running into some serious access denied exceptions.
>>
>>
>>
>> Description:
>>
>> I have made a simple webservice which has API's capable of accepting and
>> returning byte arrays. I am using gSoapClient in c++ which communicates
>> by
>> sending xml soap messages. Basically I have to give some security
>> permissions to this web application. Even after giving those permissions
>> it
>> is still throwing an exception saying:
>>
>>
>>
>> access: access denied (java.io.FilePermission C:\ \Java\workspace
>> \.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\MyWebService\WEB-INF\services
>> read)
>>
>>
>>
>> this log has been created on Eclipse by specifying enabling the debug
>> option
>> in tomcat 4.1.
>>
>>
>>
>> Sometimes it is also seen that it gives me the same exception for
>> "\WEB-INF\scriptServices read"
>>
>>
>>
>> Please help me as I am unable to figure out this error even after
>> googling
>> it.
>>
>>
>>
>> Regards,
>>
>> Sandeep Singh.
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Access-denied-message-in-Axis2-tp17250115p17250115.html
>> Sent from the Axis - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> 
> -- 
> Thilina Gunarathne - http://thilinag.blogspot.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Access-denied-message-in-Axis2-tp17250115p17333362.html
Sent from the Axis - User mailing list archive at Nabble.com.


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

Reply via email to