Hi,

On Thu, Mar 22, 2012 at 7:46 PM, Supun Malinga <[email protected]> wrote:

> sec.policy is there
> Will check the permissions.
>
>
> On Thu, Mar 22, 2012 at 7:39 PM, Prabath Abeysekera <[email protected]>wrote:
>
>> Hi Supun,
>>
>> On Thu, Mar 22, 2012 at 7:31 PM, Supun Malinga <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> Looks like security permissions are not set for lib dir. Jars are all
>>> signed.
>>>
>>
>> Check whether the sec.policy file is properly placed in repository/conf
>> directory. If so, double check whether the read permission has been
>> properly granted in the aforementioned file.
>>
>
rather It complains about lib/ directory.
there is no directory level permissions set in sec.policy as such.

Also I believe this needs to be fixed from the origin than rather I'm
trying to hack the sec.policy file.

thanks,

>
>>
>>> stack,
>>> JAVA_HOME environment variable is set to /home/disk1/Programs/jdk1.6.0_24
>>>  CARBON_HOME environment variable is set to
>>> /home/supun/smoke/stratos/wso2stratos-as-1.1.0-SNAPSHOT
>>> java.security.AccessControlException: access denied
>>> (java.io.FilePermission
>>> /home/supun/smoke/stratos/wso2stratos-as-1.1.0-SNAPSHOT/lib read)
>>>  at
>>> java.security.AccessControlContext.checkPermission(AccessControlContext.java:374)
>>> at
>>> java.security.AccessController.checkPermission(AccessController.java:546)
>>>  at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
>>> at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
>>>  at java.io.File.isDirectory(File.java:752)
>>> at java.io.File.toURI(File.java:661)
>>>  at org.wso2.carbon.bootstrap.Bootstrap.addFileUrl(Bootstrap.java:84)
>>> at
>>> org.wso2.carbon.bootstrap.Bootstrap.addClassPathEntries(Bootstrap.java:73)
>>>  at org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:49)
>>> at org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43)
>>>
>>> thanks,
>>> --
>>> Supun Malinga,
>>>
>>> Software Engineer,
>>> WSO2 Inc.
>>> http://wso2.com
>>> http://wso2.org
>>> email - [email protected] <[email protected]>
>>> mobile - 071 56 91 321
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Prabath Abeysekara
>> Software Engineer
>> WSO2 Inc.
>> Email: [email protected] <[email protected]>
>> Mobile: +94774171471
>>
>> <http://harshana05.blogspot.com/>
>>
>>
>
>
> --
> Supun Malinga,
>
> Software Engineer,
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
> email - [email protected] <[email protected]>
> mobile - 071 56 91 321
>
>


-- 
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - [email protected] <[email protected]>
mobile - 071 56 91 321
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to